Tuesday, June 27, 2017

javax.xml.ws.WebServiceException: Not a primary WSDL

Error occured while deploying jax-ws webservice on weblogic:
 
<WSEE:33>Webservice with url /test-search-web-war/testSrchSOAP is unregistered.<WsRegistry.unregister:267>
<Oct 30, 2013 3:56:48 PM CDT> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1383166607129' for task '5'. Error is: 'weblogic.application.ModuleException: [HTTP:101216]Servlet: "testSrchSOAP" failed to preload on startup in Web application: "test-search-web-war.war".
javax.xml.ws.WebServiceException: Not a primary WSDL=file:/C:/test-workspace/weblogic/base_domain/servers/AdminServer/tmp/_WL_user/asweb/hcdr1w/war/WEB-INF/wsdl/testSrchService.wsdl since it doesn't have Service {http://www.test.com/wsdl/testsrch}TestWebServiceImplService
        at com.sun.xml.ws.server.EndpointFactory.verifyPrimaryWSDL(EndpointFactory.java:496)
        at com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:169)
        at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:496)
        at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:539)
        at weblogic.wsee.jaxws.JAXWSDeployedServlet.getEndpoint(JAXWSDeployedServlet.java:183)
        at weblogic.wsee.jaxws.JAXWSServlet.registerEndpoint(JAXWSServlet.java:139)
        at weblogic.wsee.jaxws.JAXWSServlet.init(JAXWSServlet.java:68)
        at weblogic.wsee.jaxws.JAXWSDeployedServlet.init(JAXWSDeployedServlet.java:54)
        at javax.servlet.GenericServlet.init(GenericServlet.java:241)
        at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283)
       
       
Resolution :

No comments:

Post a Comment