Skip to Content
author's profile photo Former Member
Former Member

invalid http response: HTTP/1.1 200

Hi gurus!

I have a problem with an asynchronous interface.

We are calling a Webservice which we don't need any response. In sxmb_moni it's OK, but in our RWB we see it as failed, with this entry: invalid http response: HTTP/1.1 200.

I have search in logs, and in defaultTrace_00.0.trc we can see the following entry:

Marked transaction for rollback for meesage 4b4ed19f-bbe6-0062-e100-8000ac1f041d(INBOUND). Reason: java.io.IOException: invalid http response: HTTP/1.1 200

We have captured the HTTP header response, and is:

HTTP/1.1 200
Date: Thu, 14 Jan 2010 10:26:03 CET
Server: Mule/1.2
Connection: close
Expires: Thu, 14 Jan 2010 10:26:03 CET
Content-Type: text/xml
Content-Length: 508
X-MULE_CORRELATION_ID: d595447a-00ee-11df-a6a5-becd407b7daa
X-MULE_CORRELATION_GROUP_SIZE: 3
X-MULE_CORRELATION_SEQUENCE: -1

Could it be problem of the X-MULE_CORRELATION headers? Or Maybe PI needs an HTTP/1.1 200 OK?

Thak you!!!!

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 22, 2010 at 10:08 AM

    Hi Russell!

    I have the .class file modified. But I don't know in which jar file i have to modify it.

    Is in the server/mule/mule-1.2.jar??

    Thank you!

    Ignasi

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hii

      finally I have found the jar containing the class com.webreach.mirth.server.mule.providers.http.transformers.UMOMessageToHttpRespons and have replaced with the new class with the changes (I also make the class constructing a file in order to see if the class where executed) and there was any change, I am not receiving the Ok yet.

  • Posted on Jan 14, 2010 at 12:10 PM

    Hi Ignasi,

    If you dont want any response, make sure the sender communication channel have Quality of Service as Exactly Once or Exactly once in Order mode.

    But what adapters are you using in sender and receiver side?

    Regards

    Suraj

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      We have several HTTP destinations, but I am not sure if we are using any of them, couse i don't think we send it via RFC.

      Anyway, HTTP1.0 is selected in the most of the destinations.

      3rd party have made a test, and these X-MULE_CORRELATIONS headers does not appear. Its so strange...

      rgrds

      Ignasi

  • author's profile photo Former Member
    Former Member
    Posted on Jan 15, 2010 at 06:01 PM

    Hi Ignasi,

    I think it could be failing due to the missing "Reason Phrase" in the status line (missing the "OK"). I don't think the reason phrase is optional.

    http://www.w3.org/Protocols/rfc2616/rfc2616-sec6.html

    Status-Line = HTTP-Version SP Status-Code SP Reason-Phrase CRLF

    HTTP/1.1 200 OK

    Thanks,

    -Russ

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Ignasi,

      Please note that Iu2019m not familiar with Mirth at all. However, I took a quick look at the code trunk and noticed that Mirth copied the original Mule code into their own package and modified it:

      Original code package is:

      org.mule.providers.http.transformers.UMOMessageToHttpResponse

      Looks like the Mirth code package is:

      com.webreach.mirth.server.mule.providers.http.transformers.UMOMessageToHttpResponse

      This class differs from the original somewhat, but still has the code issue that I pointed out before. So, I assume you are trying to modify com.webreach.mirth.server.mule.providers.http.transformers.UMOMessageToHttpResponse. If so, then I think you need to add the Mirth jar files which contain the following packages to your classpath:

      import com.webreach.mirth.model.MessageObject;
      import com.webreach.mirth.model.Response;
      import com.webreach.mirth.server.mule.providers.http.HttpConnector;
      

      -Russ

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.