Uploaded image for project: 'SwitchYard'
  1. SwitchYard
  2. SWITCHYARD-600

Oneway invocation with SOAP gateway returns insufficient HTTP response for SoapUI

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 0.4
    • Fix Version/s: 0.4
    • Component/s: component-soap
    • Labels:
      None

      Description

      When you publish a Oneway service with SOAP gateway and invoke it using SoapUI, you will get following error:

      Wed Dec 21 15:32:20 EST 2011:ERROR:org.apache.commons.httpclient.NoHttpResponseException: The server localhost failed to respond
      org.apache.commons.httpclient.NoHttpResponseException: The server localhost failed to respond
      at org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1976)
      at org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1735)
      at com.eviware.soapui.impl.wsdl.submit.transports.http.support.methods.ExtendedPostMethod.readResponse(ExtendedPostMethod.java:80)
      at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1098)
      at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
      at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
      at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
      at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestTransport.sendRequest(HttpClientRequestTransport.java:202)
      at com.eviware.soapui.impl.wsdl.WsdlSubmit.run(WsdlSubmit.java:123)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
      at java.util.concurrent.FutureTask.run(FutureTask.java:166)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
      at java.lang.Thread.run(Thread.java:679)

      When you use HTTPMixIn it's no problem so I'm not sure, but we may need to have more info in a HTTP response in the case of oneway invocation.
      That was not true, I actually have got a following error when I have used HTTPMixIn.

      java.lang.AssertionError: Exception invoking HTTP endpoint 'http://localhost:18001/quickstart-camel/JavaDSL': The server localhost failed to respond
      at org.junit.Assert.fail(Assert.java:91)
      at org.switchyard.test.mixins.HTTPMixIn.execute(HTTPMixIn.java:155)
      at org.switchyard.test.mixins.HTTPMixIn.postString(HTTPMixIn.java:79)
      at org.switchyard.test.quickstarts.CamelServiceQuickstartTest.testDeployment(CamelServiceQuickstartTest.java:46)
      ....(snip)

      I will attach a sample application soon.-

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  mageshbk Magesh Bojan
                  Reporter:
                  igarashitm Tomohisa igarashi
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: