com.sun.xml.ws.streaming.XMLStreamReaderException: XML reader error: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,94] Message: Element type "S:Body" must be followed by either attribute specifications, ">" or "/>". at com.sun.xml.ws.streaming.XMLStreamReaderUtil.wrapException(XMLStreamRead erUtil.java:256) at com.sun.xml.ws.streaming.XMLStreamReaderUtil.next(XMLStreamReaderUtil.ja va:84) at com.sun.xml.ws.streaming.XMLStreamReaderUtil.nextContent(XMLStreamReader Util.java:99) at com.sun.xml.ws.streaming.XMLStreamReaderUtil.nextElementContent(XMLStrea mReaderUtil.java:89)

Oracle Community | 392 Guest | 8 years ago
  1. 0

    Stateful Session detaches entity?

    Oracle Community | 8 years ago | 392 Guest
    com.sun.xml.ws.streaming.XMLStreamReaderException: XML reader error: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,94] Message: Element type "S:Body" must be followed by either attribute specifications, ">" or "/>". at com.sun.xml.ws.streaming.XMLStreamReaderUtil.wrapException(XMLStreamRead erUtil.java:256) at com.sun.xml.ws.streaming.XMLStreamReaderUtil.next(XMLStreamReaderUtil.ja va:84) at com.sun.xml.ws.streaming.XMLStreamReaderUtil.nextContent(XMLStreamReader Util.java:99) at com.sun.xml.ws.streaming.XMLStreamReaderUtil.nextElementContent(XMLStrea mReaderUtil.java:89)
  2. 0

    Scenario : functional s99 Description : Symmetric binding with TokenType = SAML20 as IssuedToken ( here IssuedToken is taken as ProtectionToken ) with WSTrustContractImpl in STS Soap log ======== -[HTTP response - http://localhost:8080/jaxws-s99/simple - 500]--- null: HTTP/1.1 500 Internal Server Error Connection: close Content-Length: 0 Date: Tue, 04 May 2010 02:16:29 GMT Server: GlassFish Server Open Source Edition 3 X-Powered-By: Servlet/3.0 -------------------- ========================================================== ../../../functional/logs/run_log/s99-output.txt com.sun.xml.ws.client.ClientTransportException: The server sent HTTP status code 500: Internal Server Error at com.sun.xml.ws.transport.http.client.HttpTransportPipe.checkStatusCode(HttpTransportPipe.java:253) at com.sun.xml.ws.transport.http.client.HttpTransportPipe.createResponsePacket(HttpTransportPipe.java:210) at com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:172) at com.sun.xml.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:95) at com.sun.xml.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:133) at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:629) at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:588) at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:573) at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:470) at com.sun.xml.ws.client.Stub.process(Stub.java:319) at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:157) at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:109) at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:89) at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:140) at $Proxy45.ping(Unknown Source) at simple.client.PingServiceClient.main(Unknown Source) Server Log ========== [#|2010-05-04T07:45:45.217+0530|INFO|glassfish3.0|javax.enterprise.system.tools.deployment.org.glassfish.deployment.common|_ThreadID=24;_ThreadName=Thread-1;|[AutoDeploy] Successfully autodeployed : /space/servers/stage/glassfish/domains/domain1/autodeploy/jaxws-s99-sts.war.|#] [#|2010-05-04T07:46:29.777+0530|SEVERE|glassfish3.0|javax.enterprise.system.std.com.sun.enterprise.v3.services.impl|_ThreadID=27;_ThreadName=Thread-1;|javax.xml.ws.WebServiceException: com.ctc.wstx.exc.WstxParsingException: Undeclared namespace prefix "wsse11" (for attribute "TokenType") at [row,col {unknown-source}]: [22,1041] at com.sun.xml.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:218) at com.sun.xml.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:157) at com.sun.xml.ws.message.stream.LazyStreamBasedMessage.cacheMessage(LazyStreamBasedMessage.java:97) at com.sun.xml.ws.message.stream.LazyStreamBasedMessage.getHeaders(LazyStreamBasedMessage.java:135) at com.sun.xml.wss.jaxws.impl.SecurityTubeBase.getAction(SecurityTubeBase.java:1232) at com.sun.xml.wss.jaxws.impl.SecurityTubeBase.initializeInboundProcessingContext(SecurityTubeBase.java:570) at com.sun.xml.wss.jaxws.impl.SecurityServerTube.processRequest(SecurityServerTube.java:266) at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:629) at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:588) at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:573) at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:470) at com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:295) at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:519) at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:288) at com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:143) at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doGet(WSServletDelegate.java:155) at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doPost(WSServletDelegate.java:189) at com.sun.xml.ws.transport.http.servlet.WSServlet.doPost(WSServlet.java:76) at javax.servlet.http.HttpServlet.service(HttpServlet.java:754) at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1523) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:188) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:641) at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:97) at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:85) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:185) at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:332) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:233) at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:165) at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791) at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693) at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954) at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170) at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88) at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76) at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53) at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57) at com.sun.grizzly.ContextTask.run(ContextTask.java:69) at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330) at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309) at java.lang.Thread.run(Thread.java:619) Caused by: com.ctc.wstx.exc.WstxParsingException: Undeclared namespace prefix "wsse11" (for attribute "TokenType") at [row,col {unknown-source}]: [22,1041] at com.ctc.wstx.sr.StreamScanner.constructWfcException(StreamScanner.java:605) at com.ctc.wstx.sr.StreamScanner.throwParseError(StreamScanner.java:473) at com.ctc.wstx.sr.NsAttributeCollector.resolveNamespaces(NsAttributeCollector.java:179) at com.ctc.wstx.sr.NsInputElementStack.resolveAndValidateElement(NsInputElementStack.java:374) at com.ctc.wstx.sr.BasicStreamReader.handleStartElem(BasicStreamReader.java:2945) at com.ctc.wstx.sr.BasicStreamReader.nextFromTree(BasicStreamReader.java:2846) at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1019) at com.sun.xml.stream.buffer.stax.StreamReaderBufferCreator.storeElementAndChildrenNoEx(StreamReaderBufferCreator.java:245) at com.sun.xml.stream.buffer.stax.StreamReaderBufferCreator.storeElementAndChildren(StreamReaderBufferCreator.java:177) at com.sun.xml.stream.buffer.stax.StreamReaderBufferCreator.createElementFragment(StreamReaderBufferCreator.java:126) at com.sun.xml.ws.encoding.StreamSOAPCodec.cacheHeaders(StreamSOAPCodec.java:272) at com.sun.xml.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:215) ... 43 more |#] [#|2010-05-04T07:46:29.781+0530|SEVERE|glassfish3.0|com.sun.xml.ws.transport.http.HttpAdapter|_ThreadID=27;_ThreadName=Thread-1;|unexpected XML tag. expected: {http://schemas.xmlsoap.org/soap/envelope/}Envelope but found: {http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}SecurityTokenReference com.sun.xml.ws.streaming.XMLStreamReaderException: unexpected XML tag. expected: {http://schemas.xmlsoap.org/soap/envelope/}Envelope but found: {http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}SecurityTokenReference at com.sun.xml.ws.streaming.XMLStreamReaderUtil.verifyTag(XMLStreamReaderUtil.java:214) at com.sun.xml.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:180) at com.sun.xml.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:157) at com.sun.xml.ws.message.stream.LazyStreamBasedMessage.cacheMessage(LazyStreamBasedMessage.java:97) at com.sun.xml.ws.message.stream.LazyStreamBasedMessage.getHeaders(LazyStreamBasedMessage.java:135) at com.sun.xml.ws.api.message.Packet.createServerResponse(Packet.java:738) at com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:303) at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:519) at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:288) at com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:143) at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doGet(WSServletDelegate.java:155) at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doPost(WSServletDelegate.java:189) at com.sun.xml.ws.transport.http.servlet.WSServlet.doPost(WSServlet.java:76) at javax.servlet.http.HttpServlet.service(HttpServlet.java:754) at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1523) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:188) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:641) at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:97) at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:85) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:185) at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:332) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:233) at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:165) at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791) at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693) at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954) at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170) at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88) at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76) at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53) at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57) at com.sun.grizzly.ContextTask.run(ContextTask.java:69) at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330) at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309) at java.lang.Thread.run(Thread.java:619) |#] [#|2010-05-04T07:46:55.396+0530|INFO|glassfish3.0|javax.enterprise.system.tools.deployment.org.glassfish.deployment.common|_ThreadID=24;_ThreadName=Thread-1;|[AutoDeploy] Selecting file /space/servers/stage/glassfish/domains/domain1/autodeploy/jaxws-s100.war for autodeployment.|#]

    Java.net JIRA | 7 years ago | anand_mishra
    com.sun.xml.ws.streaming.XMLStreamReaderException: unexpected XML tag. expected: {http://schemas.xmlsoap.org/soap/envelope/}Envelope but found: {http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}SecurityTokenReference at com.sun.xml.ws.streaming.XMLStreamReaderUtil.verifyTag(XMLStreamReaderUtil.java:214)
  3. 0

    Scenario : functional s99 Description : Symmetric binding with TokenType = SAML20 as IssuedToken ( here IssuedToken is taken as ProtectionToken ) with WSTrustContractImpl in STS Soap log ======== -[HTTP response - http://localhost:8080/jaxws-s99/simple - 500]--- null: HTTP/1.1 500 Internal Server Error Connection: close Content-Length: 0 Date: Tue, 04 May 2010 02:16:29 GMT Server: GlassFish Server Open Source Edition 3 X-Powered-By: Servlet/3.0 -------------------- ========================================================== ../../../functional/logs/run_log/s99-output.txt com.sun.xml.ws.client.ClientTransportException: The server sent HTTP status code 500: Internal Server Error at com.sun.xml.ws.transport.http.client.HttpTransportPipe.checkStatusCode(HttpTransportPipe.java:253) at com.sun.xml.ws.transport.http.client.HttpTransportPipe.createResponsePacket(HttpTransportPipe.java:210) at com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:172) at com.sun.xml.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:95) at com.sun.xml.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:133) at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:629) at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:588) at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:573) at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:470) at com.sun.xml.ws.client.Stub.process(Stub.java:319) at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:157) at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:109) at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:89) at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:140) at $Proxy45.ping(Unknown Source) at simple.client.PingServiceClient.main(Unknown Source) Server Log ========== [#|2010-05-04T07:45:45.217+0530|INFO|glassfish3.0|javax.enterprise.system.tools.deployment.org.glassfish.deployment.common|_ThreadID=24;_ThreadName=Thread-1;|[AutoDeploy] Successfully autodeployed : /space/servers/stage/glassfish/domains/domain1/autodeploy/jaxws-s99-sts.war.|#] [#|2010-05-04T07:46:29.777+0530|SEVERE|glassfish3.0|javax.enterprise.system.std.com.sun.enterprise.v3.services.impl|_ThreadID=27;_ThreadName=Thread-1;|javax.xml.ws.WebServiceException: com.ctc.wstx.exc.WstxParsingException: Undeclared namespace prefix "wsse11" (for attribute "TokenType") at [row,col {unknown-source}]: [22,1041] at com.sun.xml.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:218) at com.sun.xml.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:157) at com.sun.xml.ws.message.stream.LazyStreamBasedMessage.cacheMessage(LazyStreamBasedMessage.java:97) at com.sun.xml.ws.message.stream.LazyStreamBasedMessage.getHeaders(LazyStreamBasedMessage.java:135) at com.sun.xml.wss.jaxws.impl.SecurityTubeBase.getAction(SecurityTubeBase.java:1232) at com.sun.xml.wss.jaxws.impl.SecurityTubeBase.initializeInboundProcessingContext(SecurityTubeBase.java:570) at com.sun.xml.wss.jaxws.impl.SecurityServerTube.processRequest(SecurityServerTube.java:266) at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:629) at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:588) at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:573) at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:470) at com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:295) at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:519) at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:288) at com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:143) at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doGet(WSServletDelegate.java:155) at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doPost(WSServletDelegate.java:189) at com.sun.xml.ws.transport.http.servlet.WSServlet.doPost(WSServlet.java:76) at javax.servlet.http.HttpServlet.service(HttpServlet.java:754) at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1523) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:188) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:641) at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:97) at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:85) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:185) at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:332) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:233) at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:165) at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791) at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693) at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954) at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170) at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88) at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76) at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53) at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57) at com.sun.grizzly.ContextTask.run(ContextTask.java:69) at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330) at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309) at java.lang.Thread.run(Thread.java:619) Caused by: com.ctc.wstx.exc.WstxParsingException: Undeclared namespace prefix "wsse11" (for attribute "TokenType") at [row,col {unknown-source}]: [22,1041] at com.ctc.wstx.sr.StreamScanner.constructWfcException(StreamScanner.java:605) at com.ctc.wstx.sr.StreamScanner.throwParseError(StreamScanner.java:473) at com.ctc.wstx.sr.NsAttributeCollector.resolveNamespaces(NsAttributeCollector.java:179) at com.ctc.wstx.sr.NsInputElementStack.resolveAndValidateElement(NsInputElementStack.java:374) at com.ctc.wstx.sr.BasicStreamReader.handleStartElem(BasicStreamReader.java:2945) at com.ctc.wstx.sr.BasicStreamReader.nextFromTree(BasicStreamReader.java:2846) at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1019) at com.sun.xml.stream.buffer.stax.StreamReaderBufferCreator.storeElementAndChildrenNoEx(StreamReaderBufferCreator.java:245) at com.sun.xml.stream.buffer.stax.StreamReaderBufferCreator.storeElementAndChildren(StreamReaderBufferCreator.java:177) at com.sun.xml.stream.buffer.stax.StreamReaderBufferCreator.createElementFragment(StreamReaderBufferCreator.java:126) at com.sun.xml.ws.encoding.StreamSOAPCodec.cacheHeaders(StreamSOAPCodec.java:272) at com.sun.xml.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:215) ... 43 more |#] [#|2010-05-04T07:46:29.781+0530|SEVERE|glassfish3.0|com.sun.xml.ws.transport.http.HttpAdapter|_ThreadID=27;_ThreadName=Thread-1;|unexpected XML tag. expected: {http://schemas.xmlsoap.org/soap/envelope/}Envelope but found: {http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}SecurityTokenReference com.sun.xml.ws.streaming.XMLStreamReaderException: unexpected XML tag. expected: {http://schemas.xmlsoap.org/soap/envelope/}Envelope but found: {http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}SecurityTokenReference at com.sun.xml.ws.streaming.XMLStreamReaderUtil.verifyTag(XMLStreamReaderUtil.java:214) at com.sun.xml.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:180) at com.sun.xml.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:157) at com.sun.xml.ws.message.stream.LazyStreamBasedMessage.cacheMessage(LazyStreamBasedMessage.java:97) at com.sun.xml.ws.message.stream.LazyStreamBasedMessage.getHeaders(LazyStreamBasedMessage.java:135) at com.sun.xml.ws.api.message.Packet.createServerResponse(Packet.java:738) at com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:303) at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:519) at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:288) at com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:143) at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doGet(WSServletDelegate.java:155) at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doPost(WSServletDelegate.java:189) at com.sun.xml.ws.transport.http.servlet.WSServlet.doPost(WSServlet.java:76) at javax.servlet.http.HttpServlet.service(HttpServlet.java:754) at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1523) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:188) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:641) at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:97) at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:85) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:185) at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:332) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:233) at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:165) at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791) at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693) at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954) at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170) at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88) at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76) at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53) at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57) at com.sun.grizzly.ContextTask.run(ContextTask.java:69) at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330) at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309) at java.lang.Thread.run(Thread.java:619) |#] [#|2010-05-04T07:46:55.396+0530|INFO|glassfish3.0|javax.enterprise.system.tools.deployment.org.glassfish.deployment.common|_ThreadID=24;_ThreadName=Thread-1;|[AutoDeploy] Selecting file /space/servers/stage/glassfish/domains/domain1/autodeploy/jaxws-s100.war for autodeployment.|#]

    Java.net JIRA | 7 years ago | anand_mishra
    com.sun.xml.ws.streaming.XMLStreamReaderException: unexpected XML tag. expected: {http://schemas.xmlsoap.org/soap/envelope/}Envelope but found: {http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}SecurityTokenReference at com.sun.xml.ws.streaming.XMLStreamReaderUtil.verifyTag(XMLStreamReaderUtil.java:214)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Stateful Session detaches entity?

    Oracle Community | 8 years ago | 392 Guest
    com.sun.xml.ws.streaming.XMLStreamReaderException: XML reader error: > javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,94] > Message: Element type "S:Body" must be followed by either attribute > specifications, ">" or "/>". > at > com.sun.xml.ws.streaming.XMLStreamReaderUtil.wrapException(XMLStreamRead erUtil.java:256) > at > com.sun.xml.ws.streaming.XMLStreamReaderUtil.next(XMLStreamReaderUtil.ja va:84) > at > com.sun.xml.ws.streaming.XMLStreamReaderUtil.nextContent(XMLStreamReader Util.java:99) > at > com.sun.xml.ws.streaming.XMLStreamReaderUtil.nextElementContent(XMLStrea mReaderUtil.java:89) > at > com.sun.xml.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:194) > at > com.sun.xml.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:163) > at > com.sun.xml.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:135) > at > com.sun.xml.ws.encoding.SOAPBindingCodec.decode(SOAPBindingCodec.java:29 4) > at > com.sun.xml.ws.transport.http.HttpAdapter.decodePacket(HttpAdapter.java: 276) > at > com.sun.xml.ws.transport.http.HttpAdapter.access$500(HttpAdapter.java:93 ) > at > com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter .java:432) > at > com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:244) > at > com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapt er.java:135) > at > com.sun.enterprise.webservice.Ejb3MessageDispatcher.handlePost(Ejb3Messa geDispatcher.java:113) > at > com.sun.enterprise.webservice.Ejb3MessageDispatcher.invoke(Ejb3MessageDi spatcher.java:87) > at > com.sun.enterprise.webservice.EjbWebServiceServlet.dispatchToEjbEndpoint (EjbWebServiceServlet.java:200) > at > com.sun.enterprise.webservice.EjbWebServiceServlet.service(EjbWebService Servlet.java:129) >
  6. 0

    Stateful Session detaches entity?

    Oracle Community | 8 years ago | 392 Guest
    com.sun.xml.ws.streaming.XMLStreamReaderException: XML reader error: > javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,94] > Message: Element type "S:Body" must be followed by either attribute > specifications, ">" or "/>". > at > com.sun.xml.ws.streaming.XMLStreamReaderUtil.wrapException(XMLStreamReaderUtil.java:256) > at > com.sun.xml.ws.streaming.XMLStreamReaderUtil.next(XMLStreamReaderUtil.java:84) > at > com.sun.xml.ws.streaming.XMLStreamReaderUtil.nextContent(XMLStreamReaderUtil.java:99) > at > com.sun.xml.ws.streaming.XMLStreamReaderUtil.nextElementContent(XMLStreamReaderUtil.java:89) > at > com.sun.xml.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:194) > at > com.sun.xml.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:163) > at > com.sun.xml.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:135) > at > com.sun.xml.ws.encoding.SOAPBindingCodec.decode(SOAPBindingCodec.java:294) > at > com.sun.xml.ws.transport.http.HttpAdapter.decodePacket(HttpAdapter.java:276) > at > com.sun.xml.ws.transport.http.HttpAdapter.access$500(HttpAdapter.java:93) > at > com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:432) > at > com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:244) > at > com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:135) > at > com.sun.enterprise.webservice.Ejb3MessageDispatcher.handlePost(Ejb3MessageDispatcher.java:113) > at > com.sun.enterprise.webservice.Ejb3MessageDispatcher.invoke(Ejb3MessageDispatcher.java:87) > at > com.sun.enterprise.webservice.EjbWebServiceServlet.dispatchToEjbEndpoint(EjbWebServiceServlet.java:200) > at > com.sun.enterprise.webservice.EjbWebServiceServlet.service(EjbWebServiceServlet.java:129) >

    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. com.sun.xml.ws.streaming.XMLStreamReaderException

      XML reader error: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,94] Message: Element type "S:Body" must be followed by either attribute specifications, ">" or "/>". at com.sun.xml.ws.streaming.XMLStreamReaderUtil.wrapException(XMLStreamRead erUtil.java:256) at com.sun.xml.ws.streaming.XMLStreamReaderUtil.next(XMLStreamReaderUtil.ja va:84) at com.sun.xml.ws.streaming.XMLStreamReaderUtil.nextContent(XMLStreamReader Util.java:99) at com.sun.xml.ws.streaming.XMLStreamReaderUtil.nextElementContent(XMLStrea mReaderUtil.java:89)

      at com.sun.xml.ws.encoding.StreamSOAPCodec.decode()
    2. JAX-WS RI Runtime Bundle
      StreamSOAPCodec.decode
      1. com.sun.xml.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:194)
      2. com.sun.xml.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:163)
      3. com.sun.xml.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:135)
      3 frames