Error: invalid content type for SOAP: TEXT/HTML; HTTP 400 Bad Request

Hi Gurus,
i am hardly fighting with this error in Communication Channel Monitoring:
Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 400 Bad Request
SOAP: call failed: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 400 Bad Request
This is my scenario.
I do a File to SOAP Scenario. in SXI_MONITOR everything is fine.
My CommChan is a SOAP Receiver
HTTP
SOAP 1.1
Central Adapter Engine
Target URL is https --> i check url for correctness
Configure User Authentication is checked and username and pw are given and are correct.
Configure Certificate Authentication is checked are working
Configure Proxy is checked and Host and port are povided.
SOAP Action is provided
In Tab Module
if have this Processing Sequence
1     localejbs/AF_Modules/MessageTransformBean     Local Enterprise Bean     transform
2     sap.com/com.sap.aii.af.soapadapter/XISOAPAdapterBean     Local Enterprise Bean     1
and this Module configuration (and only this)
transform     Transform.ContentType     text/xml;charset=utf-8
(according to /people/sobhithalaxmi.kata/blog/2009/07/21/cost-free-edi-integration-using-message-transformation-bean)
As far as i understand that my http header should have Content-Type: text/xml;charset=utf-8 now. I don't understand why Communication Channel Monitoring shows an error according to content TEXT/HTML.
Can anyone help me with that?
Is it possible that Transform.ContentType does not work for SOAP Receiver Adapter?
is there any chance to view the HTTP-Header of the outgoing SOAP Request (with PI Transaction / Java Enironment) to convince myself that the HTTP Header is text/xml?
Thank you in advance and Best Regards
Udo

Hi Thanks for your fast replies.
The Provider of the Endpoint tells me that he needs text/xml as content-type. When I sent a message to the given Endpoint via SOAP UI I can see in the HTTP LOG of SOAP UI that the Endpoint is also sending text/xml back.
Below you find the Details log out of the CommChan Monitoring.
2011-04-29 11:37:45 Information The message status was set to TBDL.
2011-04-29 11:37:45 Information Retrying to deliver message to the application. Retry: 3
2011-04-29 11:37:45 Information The message was successfully retrieved from the receive queue.
2011-04-29 11:37:45 Information The message status was set to DLNG.
2011-04-29 11:37:45 Information Delivering to channel: getxxxxx_In  <---- name of my SOAP Receiver CommChan
2011-04-29 11:37:45 Information Transform: using Transform.Class:  $identity
2011-04-29 11:37:45 Information Transform: transforming the payload ...
2011-04-29 11:37:45 Information Transform: successfully transformed
2011-04-29 11:37:45 Information SOAP: request message entering the adapter with user J2EE_GUEST
2011-04-29 11:37:46 Error SOAP: call failed: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 400 Bad Request
2011-04-29 11:37:46 Information SOAP: sending a delivery error ack ...
2011-04-29 11:37:46 Information SOAP: sent a delivery error ack
2011-04-29 11:37:46 Error SOAP: error occured: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 400 Bad Request
2011-04-29 11:37:46 Error Adapter Framework caught exception: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 400 Bad Request
2011-04-29 11:37:46 Error Delivering the message to the application using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 400 Bad Request.
2011-04-29 11:37:46 Error The message status was set to NDLV.
What i am missing is a hint on the Message Transform Bean and a on a successfull sending process.
What i also tried already:
i also activated the checkbox "Do not use SOAP Envelop" in CommChan Configuration. The Result you see below (the last log entry is on first line - so read from bottom to top)
Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 400 Bad Request
error in response
call completed
request entering
Message processing started
As you can see there is a "call completed" and "error in response" log entry. This is missing in in the first Log. So i guess the error is still in the sending process.
Installing additional Software on the PI and use them to find out what the HTTP Request is is not possible as system access is very strict and limited :/

Similar Messages

  • Invalid content type for SOAP: TEXT/HTML; HTTP 500 Internal Server Error

    Hi,
    I have this error on a SOAP Receiver Channel: invalid content type for SOAP: TEXT/HTML; HTTP 500 Internal Server Error
    I've found several threads on SDN Forums about similar errors, but I did not find a solution for my problem yet.
    I checked this blog: /people/shabarish.vijayakumar/blog/2008/01/08/troubleshooting--rfc-and-soap-scenarios-updated-on-20042009  Pt.6 applies to my situation, but the proposed solution doesn't solve the problem.
    TRACE Messaging System
    u2026
    2011-06-06 10:59:41.822 Success Delivering to channel: CC_SOAP_RCV_XXX
    2011-06-06 10:59:41.823 Success MP: entering1
    2011-06-06 10:59:41.825 Success MP: processing local module localejbs/sap.com/com.sap.aii.af.soapadapter/XISOAPAdapterBean
    2011-06-06 10:59:41.828 Success SOAP: request message entering the adapter with user J2EE_GUEST
    2011-06-06 10:59:42.012 Error SOAP: call failed: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 500 Internal Server Error
    2011-06-06 10:59:42.014 Success SOAP: sending a delivery error ack ...
    2011-06-06 10:59:42.014 Success SOAP: sent a delivery error ack
    u2026
    Message Details
    Address   http://aaa.bbb.be:54000/MessagingSystem/receive/AFW/XI 
    Credential   PasswordCredential(PIISUSER):password=******** 
    Transport Headers   accept-encoding=gzip sap-xi-messageid=4DEA11FE90003094E10000000AE908B4 content-length=7520 http=POST host= aaa.bbb.be:54000 user-agent=SAP NetWeaver Application Server (1.0;711) content-type=multipart/related;boundary=SAP_4DEA47CEAD3A5138E10000000AE908B4_END;type="text/xml";start="" soapaction="http://sap.com/xi/XI/Message/30" 
    Configuration Details SOAP Communication Channel
    SOAP Receiver Channel
    No modules configured
    Do not use SOAP Envelope  -> NOT checked
    If I type the target URL in browser it opens (no login required) and I see the available web services.
    Anyone any idea what's the reason for this error?
    Thanks in advance
    Kind Regards
    Edmond Paulussen

    Hi Edmond,
    We faced similar problem & found alternative.
    Try out, if it works for u as well.
    1) Use HTTP Adapter instead of SOAP.
    Transport Protocol : HTTP 1.0
    Message Protocol : XI Payload in HTTP Body
    Adapter Engine : Integration Server
    Addressing type : URL Address.
    Target Host:
    Service Number :
    Path Prefix:
    Authentication type : we hv used Ananymus login, as our login details in payload header.
    Content Type : application/soap+xml;charset=UTF-8( this is IMP).
    Header Fields.
    Name         value
    Host           target host
    XI Payload Manipulation
    XML Code : UTF-8
    Hope, this helps...
    -santosh.

  • Error message: invalid content type for SOAP: TEXT/HTML; HTTP 403 Forbidd

    Hi All,
    My scenario is Proxy to File
    So in-order to test the scenario i am sending the Data from RWB using TestMessage
    i have given the sender and receiver details.
    and the payload i am passing is
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_QAStatusReport xmlns:ns0="http://XXXX.com/xi/SARERP/IF0100_QAStatusReport/100">
       <RECORD_STRCUTURE>
          <RECORD>
             <INSP_LOT>New for EU</INSP_LOT>
             <MATNR>00000500418</MATNR>
             <SHORT_TEXT> caps SE</SHORT_TEXT>
             <PLANT>0082</PLANT>
             <BATCH>59756</BATCH>
             <VENDOR_BATCH>59756</VENDOR_BATCH>
             <INQUAL_INSP>1940</INQUAL_INSP>
             <SSQUAL_INSP>0</SSQUAL_INSP>
             <VENDOR/>
             <DATELOT_CREA>7/20/2011</DATELOT_CREA>
             <DAYS_QA>26</DAYS_QA>
             <COMMENTS>Pending Import Testing</COMMENTS>
          </RECORD>
       </RECORD_STRCUTURE>
    </ns0:MT_QAStatusReport>
    the error i am facing is
    Error while sending message: invalid content type for SOAP: TEXT/HTML; HTTP 403 Forbidden
    can any one suggest me how to solve the isssue
    Thanks&Regards
    Sai

    I had received similar error , request you to also check following,
    1. while sending the message from IE placed in RWB, just check the URL in the Test Message tab, its possible that this PI is installed just now and its settings are not done correctly. In this ask the owner or the BASIS to change it to correct URL.
    for example it should look something like - http://sdndevdpi001:50100/sap/xi/engine?type=entry

  • Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 404 Not Found

    In my 2006 biztalk application I have exposed web service to receive SAP input. It was working fine. After I have modified something in orchestration in that application . I am getting following error while SAP try to consume my web service. Can anyone please
    help me.
    Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 404 Not Found

    In my 2006 biztalk application I have exposed web service to receive SAP input. It was working fine. After I have modified something in orchestration in that application . I am getting following error while SAP try to consume my web service.
    HI Arivazhagan K,
    Could you give some explanation about what you modified? according the to error message, this is "resource is not found issue".
    Best regards,
    Angie
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • : invalid content type for SOAP: TEXT/HTML; HTTP 302 Redirect

    Hi Experts,
    I am facing with the flowing error when we are receiving for the soap receiver chanel.
    Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 302 Redirect
    is their any content type to give in soap receiver channel.
    please let me know.
    Regards
    Raju

    I think the message is misleading. HTTP 302 meaning is that the url specified in not found or invalid for that service. You might want to check with external system that the specified URL in the SOAP receiver communication channel is right? Also you can find the URL from the WSDL itself. Similar test do it outside PI using the SOAPUI or XMLSPY and see the response error.

  • Invalid content type for SOAP: TEXT/HTML; HTTP 404 Not Found

    Hi,
    I have mentioned some issues that I am facing in SOAP receiver adapter:
    [XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 404 Not Found;
    Apart from that I am trying with unchecking 'Do Not Use SOAP envelope' and by using MessageTransformBean, for which I am getting the following error:
    Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: invalid content type for SOAP: TEXT/HTML; HTTP 404 Not Found: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 404 Not Found
    Need your help in resolving  this.
    Regards,
    Vishal

    I have some ideas which will help you out. Check the below option one by one:
    1. Check receiver server is accessable from XI/PI system through IP address in command prompt.
    2. Check whether any PORT is enabled for this server. ex: http://ipaddress:portno/XXX/XXX.asmx
    3. You can download webservice tool(SOAP UI and etc..)to check your webservice(WSDL) file able to connect the server by importing webservice file in this tool.
    4. Sometime customer may updated in their application(coding and etc) and not given the updated webservice file to us. so make sure you got updated one.
    Regards,
    Senthil

  • Java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 200 OK

    hi all,
    please help me to resolve the error. i am working on a proxy to soap scenario and in SXMB_moni i am getting the following error.
    i had check my url,its working fine.
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Inbound Message
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIAdapterFramework</SAP:Category>
      <SAP:Code area="MESSAGE">GENERAL</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 200 OK</SAP:AdditionalText>
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>*
    thanks
    kasturika

    Check this thread
    Receiver SOAP Adapter Error: invalid content type for SOAP: TEXT/HTML
    might give you some directions to look at.
    Sameer

  • Invalid content type for SOAP: TEXT/HTML; HTTP 403 Forbidden

    Boa tarde Srs,
    Estamos sem comunicação com todas as secretarias da fazenda no nosso ambiente produtivo. O XML de erro é o seguinte.
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Inbound Message
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIAdapterFramework</SAP:Category>
      <SAP:Code area="MESSAGE">GENERAL</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: invalid content type for SOAP: TEXT/HTML; HTTP 403 Forbidden</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Verifiquei algumas configurações, de acordo com outras theads dos foruns mas não consegui solução (transação /nsicf, canais de comunicação etc).
    Nenhuma modificação está sendo feita no servidor, parou de funcionar hoje as 14 horas.
    Alguem já passou por problema semelhante?

    Andre,
    Se não foi alteração de infraestrutura (proxy, firewall, etc), pode ser o Certificado Digital utilizado na autenticação com a SEFAZ (client certificate).
    O erro seria HTTP 403.7 se não me engano, mas acho que vale verificar no Visual Admin a validade do Certificado Digital, Assim como verificar junto ao pessoal de infra se foi alterado algo ref. a proxy, etc.
    PS: A interface de assinatura digital funciona?
    []'s

  • SOAP adapter error: invalid content type for SOAP: TEXT/HTML.

    Dear SAP experts,
    Need your help again here.
    Currently, i am getting this specific error in my RWB logs.
    The connection is from SAP XI going to Trading Partner via SOAP adapter.
    The specific error is:
    Delivery of the message to the application using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: java.io.IOException: invalid content type for SOAP: TEXT/HTML.
    I've already searched on what is causing the issue and it seems majority of the information is that, the error might be due to incorrect/wrong URL that was set in the configurations in the SAP XI communication channel.
    Can you confirm this one?
    DO you have any thoughts on this error?
    Please help.
    Thank you very much!
    Fred

    Hi Freddiesan,
    First of all, test your URL acessing it from SAP PI server's local browser to check firewall and router settings.
    If it works, check these blogs:
    Regards,
    Rogério
    Edited by: Rogério Tambellini on Jul 3, 2009 12:52 PM

  • SOAP adapter Using XI 3.0 error: invalid content type for SOAP: TEXT/HTML

    Hi All,
      I have the scenario to send a message to proxy via SOAP adapter . My PI server is 7.3 and my BI application server also 7.3. I have created service interface in the ESR and created the ABAP proxy in the Application server. Im using the receiver SOAP adapter with message protocol as XI 3.0. Am running this scenario in the central adapter engine. (That is i didnt create integrated configuration). I am facing the issue in the receiver SOAP channel as 'invalid content type for SOAP: TEXT/HTML: 401 Unauthorized'. But i can able to login into the URL which is given in the channel using the username and password used in the channel.
    Can you please let me know if any addtional settings need to be done in PI side.
    Regards,
    Ramalakshmi.G

    Hi,
      Thanks for your reply. I have done my scenario with the integration configuration. Still i am facing the same issue " SOAP: TEXT/HTML; HTTP 401 Unauthorized". I have given the correct URL, username and password. Is this enough to connect to the receiver integration server from AE. Any settings need to be do in the receiver ABAP system and PI system. If so please share the corressponding note for the same.  What should be the role is assigned to the userid given in the channel.
    I have used sproxy to create the proxy in the receiver ABAP system. In PI i am using the SOAP adapter with XI 3.0 ,message protocol to call to this proxy. I have not done any settings in any of the servers. Do i need to do any settings.
    Regards,
    Ramalakshmi.G

  • Getting error"invalid content type for SOAP: TEXT/PLAIN; HTTP 503 Not Ready

    Hi,
    I am getting the below error in Comminication channel
    'Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: invalid content type for SOAP: TEXT/PLAIN; HTTP 503 Not Ready: java.io.IOException: invalid content type for SOAP: TEXT/PLAIN; HTTP 503 Not Ready
    SOAP: call failed: java.io.IOException: invalid content type for SOAP: TEXT/PLAIN; HTTP 503 Not Ready

    Hello,
    Have you checked if you are passing the correct content type by validating the generated SOAP request against the format the receiver is expecting? You can try using an HTTP diagnostic tool to analyze the HTTP header e.g fiddler.
    Hope this helps,
    Mark

  • Invalid content type for SOAP: TEXT/HTML:communication channel modification

    Hello ,
    While delivering an async message from XI to thirdparty, getting an error 'invalid content type for SOAP: TEXT/HTML' in the RWB/adapter engine
    I need to modify Module tab for MessageTransformBean / content type as text/html.
    Can anyone tell me how to do this in SOAP communication channel?
    Thanks in advance

    Hi,
    Thanks for ur help...
    I've tested with soapUI and it is working fine. When I send the data from soapUI , it is reaching to third party and I get response as 'success' So the url is also fine.
    The same data when XI is sending it is throwing an error.
    One more thing here -- The XI server is in intranet and TP is in DMZ .... there is a firewall in between them...
    1. When I execute thr soapUI (from intranet) it is reaching to TP (DMZ)
    2. When I execute thr XI (intranet) its throwing an error.
    Is this because of firewall settings ?
    Thanks..

  • Invalid content type for SOAP: TEXT/HTML

    Hi guys,
    I’m trying to sending a message via sender soap adapter and I’m receiving this error:
    Exception caught by adapter framework: invalid content type for SOAP: TEXT/HTML
    I already have read most off all posts about this error in this forum. So, if I understand, this error means that my receiver soap adapter can’t reach the web service provider and an HTTP error notification is sent to calling application. Although, the SOAP adapter doesn’t understand this kind of errors (ex. 404 not found -> SOAP call has no error codes and use the HTTP codes for effect) and this happening because the error is in text/html format and SOAP adapter is waiting a response in text/xml.
    This is a simple calculator web service that receives two arguments and returns the sum as a result. (Like Siva Maranani weblog /people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi )
    The web service is published on SAP Enterprise Portal and it works fine.
    - The login works fine
        User: ex30268
        Pwd: 12345678
    - We don’t have certificates and proxy server.
    This is the address in my receiver soap adapter: http://intranetcorpdev.edp.pt:54700/CalculatorWebService/Config1?style=document
    I already checked the settings of my receiver soap adapter and did a little test, enabling the parameter Do Not Use SOAP Envelop only in receiver adapter. And the result is an exception during mapping!!! What is means this error?
    Does anybody know how to solve this issue?
    Thanks in advance.
    Cheers,
    Ricardo.

    Hi all,
    Please forgive me for boring you again with this subject, but I haven’t yet solved this issue, I still receive the following message and I’m getting quite worried…
    >>> Invalid content type for SOAP: TEXT/HTML
    I’m following Siva Maranani web log (Invoke Webservices using SAPXI) and I will describe the steps that I did:
    <b>Integration Repository:</b>
    •     An Inbound synchronous Message Interface (CalculatorWS_IN_MI) using the message types in external definition (WSDL from web service hat I want to invoke).
    •     The other necessary data types (Calc_input_DT has 2 parameters>arg1 and arg2. and Calc_out_DT has 1 param> result) and corresponding Message types.
    •     An Outbound synchronous Message Interface (Calc_OUT_MI) using the message types defined in Integration Directory.
    •     2 Message mappings (request and response) and 1 Interface mapping.
    <b>Integration Directory:</b>
    •     A scenario calls WebServices.
    •     2 business services (webservice and webservice_calc).
    •     A Receiver determination with webservice as a sender service (note: this sender is simulated from the WSNavigator from an Enterprise Portal that I have installed locally in my laptop) the interface is (Calc_OUT_MI).
    •     An Interface determination with webservice_calc as a receiver service and the corresponding mapping interface and SOAP receiver channel.
    Configurations of SOAP receiver channel:
    Target URL: http://intranetcorpdev.edp.pt:54700/CalculatorWebService/Config1?style=document
    User: ex30268
    Pwd: 12345678
    I have picked only the parameters “Use Encoded Headers” and “Use Query String” activated. I’m not using any kind of certificates or proxy servers.
    A call tentative:
    Request
    POST /XISOAPAdapter/MessageServlet?channel=:WebService:SOAPSenderChannel&version=3.0&Sender.Service=WebService&Interface=http%3A%2F%2Fswitching%2Fxi%5ECalc_OUT_MI HTTP/1.1
    Host: ed19dci1f.appl.edinfor.pt:54900
    Content-Type: text/xml; charset="UTF-8"
    Connection: close
    Cookie: <value is hidden>
    Cookie: <value is hidden>
    Authorization: <value is hidden>
    SOAPAction: "http://sap.com/xi/WebService/soap1.1"
    Content-Length: 407
    Response
    HTTP/1.1 500 Internal Server Error
    Connection: close
    Server: SAP J2EE Engine/6.40
    Content-Type: text/xml; charset=utf-8
    Date: Fri, 12 May 2006 08:24:18 GMT
    <?xml version='1.0'?>
    <!-- see the documentation -->
    <SOAP:Envelope xmlns:SOAP='http://schemas.xmlsoap.org/soap/envelope/'>
      <SOAP:Body>
        <SOAP:Fault>
          <faultcode>SOAP:Server</faultcode>
          <faultstring>Server Error</faultstring>
          <detail>
            <s:SystemError xmlns:s='http://sap.com/xi/WebService/xi2.0'>
              <context>XIAdapter</context>
              <code>DeliveryException</code>
              <text><![CDATA[
    com.sap.aii.af.ra.ms.api.DeliveryException: XIAdapterFramework:GENERAL:com.sap.aii.af.ra.ms.api.DeliveryException: invalid content type for SOAP: TEXT/HTML
         at com.sap.aii.adapter.xi.ms.XIEventHandler.onTransmit(XIEventHandler.java:451)
         at com.sap.aii.af.ra.ms.impl.core.queue.CallConsumer.onMessage(CallConsumer.java:125)
         at com.sap.aii.af.ra.ms.impl.core.queue.Queue.run(Queue.java:831)
         at com.sap.engine.frame.core.thread.Task.run(Task.java(Compiled Code))
         at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java(Compiled Code))
         at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java(Compiled Code))
              ]]></text>
            </s:SystemError>
          </detail>
        </SOAP:Fault>
      </SOAP:Body>
    </SOAP:Envelope>
    I think that I have tried everything and read almost of posts, web logs, SDN community contribution and the info in help.sap.com, but I’m feeling unable to solve this kind of issue. I’m afraid that I was missed something. So that’s the reason to describe here all the steps that I have done.
    I hope somebody knows how to solve this issue or give me something that can help me find the end of this road…
    Thanks for all.
    Cheers,
    Ricardo.

  • DeliveryException: invalid content type for SOAP: TEXT/HTML

    My scenario is RFC -> XI -> SOAP (synchronous), but when I test this scenario, I got the error message "DeliveryException: invalid content type for SOAP: TEXT/HTML", I search the document and change it following this blog: /people/varadharajan.krishnasamy/blog/2007/01/09/troubleshooting-soap-message--xi
    1. I add a MessageTransformBean module before the original one
    2. I add a transform key, the value is text/html;charset=utf-8
    But when I active this channel and test again, I got another message:
    XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION-HTTP 400 Bad Request.
    I only find one discussion about it but I still have no idea how to solve the problem. Do I need to change my mapping ? And when field should I generated in the mapping?
    Problem with SOAP receiver adapter

    And of course you have also applied the correct SOAPAction.
    Sorry for bothering you, but is difficult to guess the error, but in my experience, must issues are due to wrong configuration.
    Could you check with TCPGateway, what error is sent back?
    /people/stefan.grube/blog/2007/03/29/troubleshooting-soap-http-and-mail-adapter-scenarios-with-tcpgateway
    Regards
    Stefan

  • Invalid content type for SOAP: TEXT/HTML on Reciever SOAP

    HI All,
    I have a reciever SOAP channel setup to send a message and its attachments to a supplier. The recieving application is as follows:
    "It just receives the stream or contentStream and print out the content. It's just a test to see what you sent to us. It processes all http/https messages."
    If I leave the SOAP Envelope on I get the content type error in the header. If I turn the Enveloper off, I get a successful post. They are try to trap what I send to build a SOAP processor, so they want the SOAP envelope. What could be causing this?
    Kind Regards,
    Chris

    Hi Richard,
    The web service address that we must type in target URL of receiver soap adapter is the address to the WSDL. To be sure types this address in your browser and you must see a WSDL code of the webservice that you want invoke.
    The reason that you are getting “Delivery Exception: invalid content type for SOAP:TEXT/HTML.” is because you are trying to invoke a web service with wrong address.
    So, when SOAP receiver adapter try to put the message on the target side, it can’t and automatically receives an HTTP acknowledge in HTML format. As SOAP adapter doesn’t understand HTML code only XML code, it can’t recognize what kind of error is and generates an exception indicating that the content type is invalid.
    Delivery Exception: invalid content type for SOAP:TEXT/HTML is equal to any HTTP code, I have almost sure that HTTP code is a 404 Not Found, but you can’t see it...
    Post the URL here for I can check
    Cheers,
    Ricardo.

Maybe you are looking for