Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-15307

Testing deployed SwitchYard service with SOAP gateway fails with SOAPException

    Details

      Description

      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:

      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
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                bfitzpat Brian Fitzpatrick
                Reporter:
                bfitzpat Brian Fitzpatrick
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: