You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 30, 2019. It is now read-only.
Conditions:
com.sun.xml.wss.provider.wsit.SecurityTubeFactory.dump=true
server returns SOAP fault
When SecurityTubeFactory.dump=true is set, VerifiedStreamMessage.copy() is called for the SOAP body, but fails and throws WebServiceException. Due to the exception, fault is not processed and the expected SOAPFaultException is not thrown. It behaves correctly (throwing SOAPFaultException) if SecurityTubeFactory.dump=false is set.
Caused by: javax.xml.ws.WebServiceException: Failed to copy a message
at com.sun.xml.ws.security.opt.impl.incoming.VerifiedStreamMessage.copy(VerifiedStreamMessage.java:468)
at com.sun.xml.ws.api.message.Packet.copy(Packet.java:215)
at com.sun.xml.ws.dump.LoggingDumpTube.processResponse(LoggingDumpTube.java:126)
at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:1074)
at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:979)
at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:950)
at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:825)
at com.sun.xml.ws.client.Stub.process(Stub.java:443)
at com.sun.xml.ws.client.dispatch.DispatchImpl.doInvoke(DispatchImpl.java:273)
at com.sun.xml.ws.client.dispatch.DispatchImpl.invoke(DispatchImpl.java:312)
at mil.disa.jpes.widgets.integration.jfw.client.AbstractJfwServiceInvocation.invokeRead(AbstractJfwServiceInvocation.java:157)
at mil.disa.jpes.widgets.integration.jfw.client.AbstractJfwServiceInvocation.invokeReadRequestCall(AbstractJfwServiceInvocation.java:287)
... 25 more
Caused by: javax.xml.stream.XMLStreamException:
at com.sun.xml.stream.buffer.stax.StreamReaderBufferProcessor.nextTag(StreamReaderBufferProcessor.java:412)
at com.sun.xml.stream.buffer.stax.StreamReaderBufferProcessor.nextTag(StreamReaderBufferProcessor.java:396)
at com.sun.xml.ws.security.opt.impl.util.VerifiedMessageXMLStreamReader.nextTag(VerifiedMessageXMLStreamReader.java:90)
at com.sun.xml.ws.security.opt.impl.incoming.VerifiedStreamMessage.proceedToRootElement(VerifiedStreamMessage.java:474)
at com.sun.xml.ws.security.opt.impl.incoming.VerifiedStreamMessage.copy(VerifiedStreamMessage.java:457)
... 36 more
Environment
Windows 7
Affected Versions
[2.2]
The text was updated successfully, but these errors were encountered:
Conditions:
com.sun.xml.wss.provider.wsit.SecurityTubeFactory.dump=true
server returns SOAP fault
When SecurityTubeFactory.dump=true is set, VerifiedStreamMessage.copy() is called for the SOAP body, but fails and throws WebServiceException. Due to the exception, fault is not processed and the expected SOAPFaultException is not thrown. It behaves correctly (throwing SOAPFaultException) if SecurityTubeFactory.dump=false is set.
Caused by: javax.xml.ws.WebServiceException: Failed to copy a message
at com.sun.xml.ws.security.opt.impl.incoming.VerifiedStreamMessage.copy(VerifiedStreamMessage.java:468)
at com.sun.xml.ws.api.message.Packet.copy(Packet.java:215)
at com.sun.xml.ws.dump.LoggingDumpTube.processResponse(LoggingDumpTube.java:126)
at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:1074)
at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:979)
at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:950)
at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:825)
at com.sun.xml.ws.client.Stub.process(Stub.java:443)
at com.sun.xml.ws.client.dispatch.DispatchImpl.doInvoke(DispatchImpl.java:273)
at com.sun.xml.ws.client.dispatch.DispatchImpl.invoke(DispatchImpl.java:312)
at mil.disa.jpes.widgets.integration.jfw.client.AbstractJfwServiceInvocation.invokeRead(AbstractJfwServiceInvocation.java:157)
at mil.disa.jpes.widgets.integration.jfw.client.AbstractJfwServiceInvocation.invokeReadRequestCall(AbstractJfwServiceInvocation.java:287)
... 25 more
Caused by: javax.xml.stream.XMLStreamException:
at com.sun.xml.stream.buffer.stax.StreamReaderBufferProcessor.nextTag(StreamReaderBufferProcessor.java:412)
at com.sun.xml.stream.buffer.stax.StreamReaderBufferProcessor.nextTag(StreamReaderBufferProcessor.java:396)
at com.sun.xml.ws.security.opt.impl.util.VerifiedMessageXMLStreamReader.nextTag(VerifiedMessageXMLStreamReader.java:90)
at com.sun.xml.ws.security.opt.impl.incoming.VerifiedStreamMessage.proceedToRootElement(VerifiedStreamMessage.java:474)
at com.sun.xml.ws.security.opt.impl.incoming.VerifiedStreamMessage.copy(VerifiedStreamMessage.java:457)
... 36 more
Environment
Windows 7
Affected Versions
[2.2]
The text was updated successfully, but these errors were encountered: