[jbosstools-issues] [JBoss JIRA] (JBIDE-15307) Testing deployed SwitchYard service with SOAP gateway fails with SOAPException

Brian Fitzpatrick (JIRA) jira-events at lists.jboss.org
Tue Jul 30 11:59:26 EDT 2013


    [ https://issues.jboss.org/browse/JBIDE-15307?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12793893#comment-12793893 ] 

Brian Fitzpatrick commented on JBIDE-15307:
-------------------------------------------

Turns out the issue was with how I was detecting SOAP 1.2 vs. SOAP 1.1. Will have a fix momentarily.
                
> Testing deployed SwitchYard service with SOAP gateway fails with SOAPException
> ------------------------------------------------------------------------------
>
>                 Key: JBIDE-15307
>                 URL: https://issues.jboss.org/browse/JBIDE-15307
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Webservices
>    Affects Versions: 4.1.0.Final
>            Reporter: Brian Fitzpatrick
>            Assignee: Brian Fitzpatrick
>             Fix For: 4.1.1.Final
>
>
> While testing the SwitchYard tooling, discovered an issue where a deployed SwitchYard service with a SOAP gateway could not be tested. The exception is being caught and the message "InputStream does not represent a valid SOAP 1.1 Message" is being returned to the user.
> The exception is logged:
> {code}
> java.lang.Exception: javax.xml.ws.WebServiceException: javax.xml.soap.SOAPException: InputStream does not represent a valid SOAP 1.1 Message
> 	at org.jboss.tools.ws.ui.utils.JAXWSTester2.doTest(JAXWSTester2.java:205)
> 	at org.jboss.tools.ws.ui.views.JAXRSWSTestView2.handleWSTest(JAXRSWSTestView2.java:1823)
> 	at org.jboss.tools.ws.ui.views.JAXRSWSTestView2.access$34(JAXRSWSTestView2.java:1809)
> 	at org.jboss.tools.ws.ui.views.JAXRSWSTestView2$21.run(JAXRSWSTestView2.java:1726)
> 	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
> Caused by: javax.xml.ws.WebServiceException: javax.xml.soap.SOAPException: InputStream does not represent a valid SOAP 1.1 Message
> 	at com.sun.xml.internal.ws.message.saaj.SAAJMessage.access(Unknown Source)
> 	at com.sun.xml.internal.ws.message.saaj.SAAJMessage.getPayloadNamespaceURI(Unknown Source)
> 	at com.sun.xml.internal.ws.api.message.Message.getOperation(Unknown Source)
> 	at com.sun.xml.internal.ws.api.message.Message.getOperation(Unknown Source)
> 	at com.sun.xml.internal.ws.api.message.Message.isOneWay(Unknown Source)
> 	at com.sun.xml.internal.ws.handler.HandlerTube.checkOneWay(Unknown Source)
> 	at com.sun.xml.internal.ws.handler.HandlerTube.processRequest(Unknown Source)
> 	at com.sun.xml.internal.ws.api.pipe.Fiber.__doRun(Unknown Source)
> 	at com.sun.xml.internal.ws.api.pipe.Fiber._doRun(Unknown Source)
> 	at com.sun.xml.internal.ws.api.pipe.Fiber.doRun(Unknown Source)
> 	at com.sun.xml.internal.ws.api.pipe.Fiber.run(Unknown Source)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
> 	at java.lang.Thread.run(Unknown Source)
> Caused by: javax.xml.soap.SOAPException: InputStream does not represent a valid SOAP 1.1 Message
> 	at com.sun.xml.internal.messaging.saaj.soap.ver1_1.SOAPPart1_1Impl.createEnvelopeFromSource(Unknown Source)
> 	at com.sun.xml.internal.messaging.saaj.soap.SOAPPartImpl.getEnvelope(Unknown Source)
> 	... 14 more
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list