javax.xml.ws.WebServiceException

WSDL jndi:/server/jaxws-wsamss11/WEB-INF/wsdl/wsaTestService.wsdl has the following services [{http://example.org/wsaTestService}wsaTestService] but not . Maybe you forgot to specify a serviceName and/or targetNamespace in @WebService/@WebServiceProvider? at com.sun.xml.ws.server.EndpointFactory.verifyPrimaryWSDL(EndpointFactory.java:481)

Solutions on the web1175

  • via Java.net JIRA by sonymanuel, 11 months ago
    WSDL jndi:/server/jaxws-wsamss11/WEB-INF/wsdl/wsaTestService.wsdl has the following services [{http://example.org/wsaTestService}wsaTestService] but not . Maybe you forgot to specify a serviceName and/or targetNamespace in @WebService/@WebServiceProvider? at com.sun.xml.ws.server.EndpointFactory.verifyPrimaryWSDL(EndpointFactory.java:481)
  • The ServiceDescription failed to validate due to the following errors – Validation Phase 2 failure: :: Endpoint failed validation :: :: There is a mismatch between the wsdl and annotation information. Please make sure both use the same binding
  • via codegur.com by Unknown author, 1 year ago
    Failed to access the WSDL at: file:./WEB-INF/wsdl/BIT05.wsdl. It failed with: Got .\WEB-INF\wsdl\BIT05.wsdl (The system cannot find the path specified) while opening stream from file:./WEB-INF/wsdl/BIT05.wsdl.
  • Stack trace

    • javax.xml.ws.WebServiceException: WSDL jndi:/server/jaxws-wsamss11/WEB-INF/wsdl/wsaTestService.wsdl has the following services [{http://example.org/wsaTestService}wsaTestService] but not . Maybe you forgot to specify a serviceName and/or targetNamespace in @WebService/@WebServiceProvider? at com.sun.xml.ws.server.EndpointFactory.verifyPrimaryWSDL(EndpointFactory.java:481) at com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:159) at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:513) at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:568)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    2 times, 1 year ago
    Unknown user
    Once, 1 year ago