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

SOAP Adapter: Content Type Issue in WebServices via HTTP

Hi,

I have configured a Receiver SOAP adapter. When i had to test the message i had an HTTP 415 error.

i found that the sender SOAP adpater that received this message is not capable of handling Content-Type: Application/XML i.e. which is being transmitted by the Receiver SOAP Adapter.

Please let me know how to configure in the Receiver SOAP adapter so that the HTTP Content-Type would be TEXT/XML instead of Application/XML .

Thanks in Advance,

Venkatesh

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Jan 10, 2009 at 07:26 PM

    Hi,

    1. uncheck "do not use SOAP envelope" in your SOAP channel

    and it will be as you need - TEXT/XML

    2. if you need to use "do not use SOAP envelope"

    you can use MessageTransformBean with parameter

    Transform.ContentType and with value text/xml

    to change it

    but I'd suggest first approach

    Regards,

    Michal Krawczyk

    http://mypigenie.com XI/PI FAQ

    Add a comment
    10|10000 characters needed characters exceeded

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.