javax.xml.ws.WebServiceException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • While executing a tx09 from functional tests in SQE workspace, 3 test cases were failing.Since this was a old test case, I modified the test case to use @Transactional(Transactional.TransactionFlowType.SUPPORTS). Now when I run the failed test case, I get this exception: [#|2010-11-30T16:39:03.937+0530|SEVERE|glassfish3.1|javax.enterprise.system.core.security.com.sun.enterprise.security.webservices|_ThreadID=15;_ThreadName=Thread-1;|ws.error_next_pipe javax.xml.ws.WebServiceException: Failed to access the WSDL at: http://localhost:8080/__wstx-services/RegistrationPortTypeRPC11?wsdl. It failed with: Got http://localhost:8080/__wstx-services/RegistrationPortTypeRPC11?wsdl while opening stream from http://localhost:8080/__wstx-services/RegistrationPortTypeRPC11?wsdl. at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.tryWithMex(RuntimeWSDLParser.java:188) at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:170) at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:135) at com.sun.xml.ws.client.WSServiceDelegate.parseWSDL(WSServiceDelegate.java:275) at com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:238) at com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:186) at com.sun.xml.ws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:111) at javax.xml.ws.Service.<init>(Service.java:57) at com.sun.xml.ws.tx.coord.v11.client.RegistrationServiceV11.<init>(RegistrationServiceV11.java:72) at com.sun.xml.ws.tx.coord.v11.client.RegistrationProxyBuilderImpl$RegistrationProxyImpl.<init>(RegistrationProxyBuilderImpl.java:79) at com.sun.xml.ws.tx.coord.v11.client.RegistrationProxyBuilderImpl.build(RegistrationProxyBuilderImpl.java:65) at com.sun.xml.ws.tx.at.tube.WSATServerHelper.register(WSATServerHelper.java:145) at com.sun.xml.ws.tx.at.tube.WSATServerHelper.processIncomingTransaction(WSATServerHelper.java:123) at com.sun.xml.ws.tx.at.tube.WSATServerHelper.doHandleRequest(WSATServerHelper.java:80) at com.sun.xml.ws.tx.at.tube.WSATServerTube.processRequest(WSATServerTube.java:123) at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:641) at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:600) at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:585) at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:482) at com.sun.xml.ws.api.pipe.helper.AbstractTubeImpl.process(AbstractTubeImpl.java:116) at com.sun.enterprise.security.webservices.CommonServerSecurityPipe.processRequest(CommonServerSecurityPipe.java:212) at com.sun.enterprise.security.webservices.CommonServerSecurityPipe.process(CommonServerSecurityPipe.java:144) at com.sun.xml.ws.api.pipe.helper.PipeAdapter.processRequest(PipeAdapter.java:119) at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:641) at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:600) at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:585) at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:482) at com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:314) at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:620) at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:271) at com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:148) at org.glassfish.webservices.Ejb3MessageDispatcher.handlePost(Ejb3MessageDispatcher.java:120) at org.glassfish.webservices.Ejb3MessageDispatcher.invoke(Ejb3MessageDispatcher.java:91) at org.glassfish.webservices.EjbWebServiceServlet.dispatchToEjbEndpoint(EjbWebServiceServlet.java:200) at org.glassfish.webservices.EjbWebServiceServlet.service(EjbWebServiceServlet.java:131) at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) at com.sun.grizzly.http.servlet.ServletAdapter$FilterChainImpl.doFilter(ServletAdapter.java:1002) at com.sun.grizzly.http.servlet.ServletAdapter$FilterChainImpl.invokeFilterChain(ServletAdapter.java:942) at com.sun.grizzly.http.servlet.ServletAdapter.doService(ServletAdapter.java:404) at com.sun.grizzly.http.servlet.ServletAdapter.service(ServletAdapter.java:354) 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:662) Caused by: java.io.IOException: Got http://localhost:8080/__wstx-services/RegistrationPortTypeRPC11?wsdl while opening stream from http://localhost:8080/__wstx-services/RegistrationPortTypeRPC11?wsdl at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.createReader(RuntimeWSDLParser.java:857) at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.resolveWSDL(RuntimeWSDLParser.java:298) at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:155) ... 55 more Caused by: java.io.FileNotFoundException: http://localhost:8080/__wstx-services/RegistrationPortTypeRPC11?wsdl at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1439) at java.net.URL.openStream(URL.java:1010) at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.createReader(RuntimeWSDLParser.java:842) ... 57 more |#] [#|2010-11-30T16:39:04.062+0530|INFO|glassfish3.1|com.sun.metro.tx|_ThreadID=15;_ThreadName=Thread-1;|WSAT4569: Client-side inbound message received|#] [#|2010-11-30T16:39:04.063+0530|INFO|glassfish3.1|com.sun.metro.tx|_ThreadID=15;_ThreadName=Thread-1;|WSAT4570: Suspended transaction 'JavaEETransactionImpl: txId=1 nonXAResource=null jtsTx=null localTxStatus=0 syncs=[]' will be resumed on thread 'Thread[http-thread-pool-8080(5),5,grizzly-kernel]'|#] [#|2010-11-30T16:39:04.064+0530|INFO|glassfish3.1|com.sun.metro.tx|_ThreadID=15;_ThreadName=Thread-1;|WSAT4571: Suspended transaction 'JavaEETransactionImpl: txId=1 nonXAResource=null jtsTx=null localTxStatus=0 syncs=[]' resumed on thread 'Thread[http-thread-pool-8080(5),5,grizzly-kernel]'|#] [#|2010-11-30T16:39:04.591+0530|WARNING|glassfish3.1|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=15;_ThreadName=Thread-1;|StandardWrapperValve[Servlet]: PWC1406: Servlet.service() for servlet Servlet threw exception javax.xml.ws.soap.SOAPFaultException: Failed to access the WSDL at: http://localhost:8080/__wstx-services/RegistrationPortTypeRPC11?wsdl. It failed with: Got http://localhost:8080/__wstx-services/RegistrationPortTypeRPC11?wsdl while opening stream from http://localhost:8080/__wstx-services/RegistrationPortTypeRPC11?wsdl. at com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:193) at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:134) at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:123) at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:93) at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:144) at $Proxy206.getId(Unknown Source) at sqe.wstx.tx09.client.Servlet.run(Servlet.java:95) at sqe.wstx.tx09.client.Servlet.processRequest(Servlet.java:69) at sqe.wstx.tx09.client.Servlet.doGet(Servlet.java:170) at javax.servlet.http.HttpServlet.service(HttpServlet.java:735) at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1534) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:281) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595) at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:98) at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:91) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:162) at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:326) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:227) at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:228) 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:662) Caused by: javax.xml.ws.WebServiceException: Failed to access the WSDL at: http://localhost:8080/__wstx-services/RegistrationPortTypeRPC11?wsdl. It failed with: Got http://localhost:8080/__wstx-services/RegistrationPortTypeRPC11?wsdl while opening stream from http://localhost:8080/__wstx-services/RegistrationPortTypeRPC11?wsdl. at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.tryWithMex(RuntimeWSDLParser.java:188) at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:170) at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:135) at com.sun.xml.ws.client.WSServiceDelegate.parseWSDL(WSServiceDelegate.java:275) at com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:238) at com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:186) at com.sun.xml.ws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:111) at javax.xml.ws.Service.<init>(Service.java:57) at com.sun.xml.ws.tx.coord.v11.client.RegistrationServiceV11.<init>(RegistrationServiceV11.java:72) at com.sun.xml.ws.tx.coord.v11.client.RegistrationProxyBuilderImpl$RegistrationProxyImpl.<init>(RegistrationProxyBuilderImpl.java:79) at com.sun.xml.ws.tx.coord.v11.client.RegistrationProxyBuilderImpl.build(RegistrationProxyBuilderImpl.java:65) at com.sun.xml.ws.tx.at.tube.WSATServerHelper.register(WSATServerHelper.java:145) at com.sun.xml.ws.tx.at.tube.WSATServerHelper.processIncomingTransaction(WSATServerHelper.java:123) at com.sun.xml.ws.tx.at.tube.WSATServerHelper.doHandleRequest(WSATServerHelper.java:80) at com.sun.xml.ws.tx.at.tube.WSATServerTube.processRequest(WSATServerTube.java:123) at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:641) at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:600) at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:585) at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:482) at com.sun.xml.ws.api.pipe.helper.AbstractTubeImpl.process(AbstractTubeImpl.java:116) at com.sun.enterprise.security.webservices.CommonServerSecurityPipe.processRequest(CommonServerSecurityPipe.java:212) at com.sun.enterprise.security.webservices.CommonServerSecurityPipe.process(CommonServerSecurityPipe.java:144) at com.sun.xml.ws.api.pipe.helper.PipeAdapter.processRequest(PipeAdapter.java:119) at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:641) at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:600) at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:585) at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:482) at com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:314) at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:620) at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:271) at com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:148) at org.glassfish.webservices.Ejb3MessageDispatcher.handlePost(Ejb3MessageDispatcher.java:120) at org.glassfish.webservices.Ejb3MessageDispatcher.invoke(Ejb3MessageDispatcher.java:91) at org.glassfish.webservices.EjbWebServiceServlet.dispatchToEjbEndpoint(EjbWebServiceServlet.java:200) at org.glassfish.webservices.EjbWebServiceServlet.service(EjbWebServiceServlet.java:131) at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) at com.sun.grizzly.http.servlet.ServletAdapter$FilterChainImpl.doFilter(ServletAdapter.java:1002) at com.sun.grizzly.http.servlet.ServletAdapter$FilterChainImpl.invokeFilterChain(ServletAdapter.java:942) at com.sun.grizzly.http.servlet.ServletAdapter.doService(ServletAdapter.java:404) at com.sun.grizzly.http.servlet.ServletAdapter.service(ServletAdapter.java:354) 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) ... 14 more Caused by: java.io.IOException: Got http://localhost:8080/__wstx-services/RegistrationPortTypeRPC11?wsdl while opening stream from http://localhost:8080/__wstx-services/RegistrationPortTypeRPC11?wsdl at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.createReader(RuntimeWSDLParser.java:857) at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.resolveWSDL(RuntimeWSDLParser.java:298) at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:155) ... 55 more Caused by: java.io.FileNotFoundException: http://localhost:8080/__wstx-services/RegistrationPortTypeRPC11?wsdl at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1439) at java.net.URL.openStream(URL.java:1010) at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.createReader(RuntimeWSDLParser.java:842) ... 57 more |#]
    via by Sreekanth,
    • javax.xml.ws.WebServiceException: Undefined port type: {http://fileUpload.cloud.com/}FileUploadService at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:359)

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,