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)

Java.net JIRA | sonymanuel | 6 years ago
  1. 0

    While deploying the attached applications on 3.1 build 29 get the following exception. This used to work fine with GF 3.0.1. [#|2010-11-15T18:57:38.336+0530|WARNING|glassfish3.1|javax.enterprise.webservices.org.glassfish.webservices|_ThreadID=14;_ThreadName=Thread-1;|Deployment failed 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) at org.glassfish.webservices.WSServletContextListener.registerEndpoint(WSServletContextListener.java:260) at org.glassfish.webservices.WSServletContextListener.contextInitialized(WSServletContextListener.java:99) at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:4703) at com.sun.enterprise.web.WebModule.contextListenerStart(WebModule.java:533) at org.apache.catalina.core.StandardContext.start(StandardContext.java:5323) at com.sun.enterprise.web.WebModule.start(WebModule.java:497) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:917) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:901) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:697) at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1934) at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1611) at com.sun.enterprise.web.WebApplication.start(WebApplication.java:100) at org.glassfish.internal.data.EngineRef.start(EngineRef.java:130) at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:242) at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:262) at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:438) at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:243) at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:351) at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:354) at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:369) at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1061) at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:95) at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1257) at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1246) at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:396) at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:216) at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:168) at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117) at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:234) at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:817) at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:718) at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1007) at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225) at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90) at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79) at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54) at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59) at com.sun.grizzly.ContextTask.run(ContextTask.java:71) at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532) at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513) at java.lang.Thread.run(Thread.java:619) |#] [#|2010-11-15T18:57:38.343+0530|SEVERE|glassfish3.1|org.apache.catalina.core.StandardContext|_ThreadID=14;_ThreadName=Thread-1;|PWC1306: Startup of context /jaxws-wsamss11 failed due to previous errors|#] [#|2010-11-15T18:57:38.347+0530|SEVERE|glassfish3.1|org.apache.catalina.core.StandardContext|_ThreadID=14;_ThreadName=Thread-1;|PWC1305: Exception during cleanup after start failed org.apache.catalina.LifecycleException: PWC2769: Manager has not yet been started at org.apache.catalina.session.StandardManager.stop(StandardManager.java:872) at org.apache.catalina.core.StandardContext.stop(StandardContext.java:5527) at com.sun.enterprise.web.WebModule.stop(WebModule.java:528) at org.apache.catalina.core.StandardContext.start(StandardContext.java:5341) at com.sun.enterprise.web.WebModule.start(WebModule.java:497) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:917) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:901) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:697) at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1934) at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1611) at com.sun.enterprise.web.WebApplication.start(WebApplication.java:100) at org.glassfish.internal.data.EngineRef.start(EngineRef.java:130) at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:242) at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:262) at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:438) at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:243) at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:351) at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:354) at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:369) at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1061) at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:95) at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1257) at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1246) at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:396) at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:216) at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:168) at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117) at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:234) at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:817) at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:718) at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1007) at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225) at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90) at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79) at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54) at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59) at com.sun.grizzly.ContextTask.run(ContextTask.java:71) at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532) at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513) at java.lang.Thread.run(Thread.java:619) |#]

    Java.net JIRA | 6 years ago | sonymanuel
    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)
  2. 0

    Why is JAXB trying to bind Spring's ApplicationContext?

    Stack Overflow | 5 years ago | agnul
    javax.xml.ws.WebServiceException: Unable to create JAXBContext
  3. 0

    Cannot create inner bean - Unable to create JAXBContext - 1 counts of IllegalAnnotationExceptions

    Stack Overflow | 2 years ago | Bryce
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.sun.xml.ws.transport.http.servlet.SpringBinding#0' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Cannot create inner bean '(inner bean)' of type [org.jvnet.jax_ws_commons.spring.SpringService] while setting bean property 'service'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#4': FactoryBean threw exception on object creation; nested exception is javax.xml.ws.WebServiceException: Unable to create JAXBContext
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Which servlet to use for generating Web Service in Spring

    Stack Overflow | 4 years ago | Gunjan Shah
    org.apache.catalina.LifecycleException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.sun.xml.ws.transport.http.servlet.SpringBinding#0' defined in class path resource [META-INF/spring/sel-ws-config.xml]: Cannot create inner bean '(inner bean)' of type [org.jvnet.jax_ws_commons.spring.SpringService] while setting bean property 'service'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)': FactoryBean threw exception on object creation; nested exception is javax.xml.ws.WebServiceException: Unable to create JAXBContext
  6. 0

    Decoder in a Web Service (java)

    Google Groups | 7 years ago | Alejandro
    javax.xml.ws.WebServiceException: Unable to create JAXBContext

    2 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. JAX-WS RI Runtime Bundle
      WSEndpoint.create
      1. com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:159)
      2. com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:513)
      3. com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:568)
      3 frames