SOAP Receiver Success / HTTP Receiver Error

Hello,
we have to connect to a http server (HTTP with user authentication). I have tried both a HTTP receiver channel as well as a SOAP receiver channel (option "Do Not Use SOAP Envelope").
Connection using the SOAP receiver works without problem. If we switch to plain HTTP receiver (same connection details) we get the following error:
"HTTP client code 400 reason ICM_HTTP_CONNECTION_FAILED".
What could the reason for this? Probably related to the ABAP Stack?
Edited by: Florian Guppenberger on Jan 26, 2010 3:12 PM

Hi,
>>>What could the reason for this? Probably related to the ABAP Stack?
check the log on ABAP for RFC dest from SM59
there you might see some more info
BTW
does PI/XI have access to this http sever ? (no firewalls etc?)
Regards,
Michal Krawczyk

Similar Messages

  • SOAP Receiver error - HTTP 500 Internal Server Error

    Hi,
    We have a FILE to SOAP Asynchronous scenario to send data from our PI to customer PI.
    We are sending PGP encrypted file as the payload. So, foll settings have been maintained:
    Do not use SOAP envelope in Sender and Receiver SOAP
    nosoap=true in the URL.
    Message transform bean in the SOAP channels.
    File is successfully sent and received through SOAP protocol.
    But, both the SOAP Receiver and Sender channels are in error:
    SOAP Receiver error:
    SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 500 Internal Server Error.
    As, this is a asynch scenario, we are not expecting the response.
    SOAP sender at customer PI is in error. Error text is not mentioned. It just displays: error occured.
    At both the ends, we do not have Repository objects as there is no mapping.
    Kindly help...
    Thanks,
    Pratibha.

    Hi All,
    For the same scenario, we need to Sign the data using the WebServices Security.
    (We are sending PGP encrypted data as SOAP payload using MTB, i have ticked "Do not use SOAP envelope")
    I have selected WebServicesSecurity as the security profile in the SOAP Receiver and selected "Sign" in the Receiver agreement, have provided our private cert.
    Tried sending a message. Communication channel audit Log shows the message:
    Success MP: Processing local module localejbs/sap.com/com.sap.aii.af.soapadapter/XISOAPAdapterBean
    Success SOAP: request message entering the adapter with user J2EE_GUEST
    Success SOAP: Web Services Security processing...
    Success SOAP: Web Services Security processing skiped. Empty body...
    Success SOAP: completed the processing
    Please suggest how I can apply the WSS..
    Thanks,
    Pratibha.

  • SOAP receiver: error HTTP 302 (Moved Temporarily)

    Dear all,
    I configured scenario where SOAP web service is consumed from SAP ABAP system via PI. The problem is in communication with the web service: the error observed in communication channels monitor for the configured SOAP receiver channel is:
    Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: invalid content type for SOAP: TEXT/HTML; HTTP 302 Moved Temporarily: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 302 Moved Temporarily
    The consumed web service is based on the function module developed in SAP NetWeaver 7.00 system. Endpoint for the service was then created via SOAMANAGER, generated binding's address was used as a target URL in the SOAP receiver channel.
    If the service is consumed not via PI, but tested directly from external SOAP client (I used soapUI) with the same WSDL and endpoint, the response is fine and error-free.
    Please advise possible root cause of the issue.
    My regards,
    Vadim

    Hi,
    I am working on a similar scenario where I my consuming an external web service using https protocol from PI.
    I have configured a soap receiver channel to call the target url of this web service as https://portal.xyz.org.uk/webservice_alt.
    I am getting an error HTTP 302 suggesting that PI is not able to follow the re-direction to the target URL as the service resides not on that URL but on https://portal1.xyz.org.uk/webservice_alt or https://portal2.xyz.org.uk/webservice_alt.
    This is their server fail over handling mechanism which is very common. But PI 7.0 is not able to handle this.
    So if I change the target URL on the SOAP receiver channel to  https://portal1.xyz.org.uk/web service  or  https://portal2.xyz.org.uk/webservice_alt , PI works fine without errors . But this is not the right approach because, every time the web service provider takes one of these systems down for upgrade/patching etc, they inform us and then I manually go and change the target URL to the available server on my production PI system config.
    My problem is I want to resolve this redirection error in PI. I have tried raising a call with SAP itself and they pointed out to use Axis adapter which is still not working.
    So I am here asking for help. any suggestions please from the experts?
    Thanks
    Jhansi.

  • SOAP Receiver Error: HTTP Error response for SOAP Request

    Hi gurus,
    I'm facing a weird error in File --> PI 7.31 java only --> soap receiver proxy.
    The other interfaces runs well. just one get the the following error:
    Exception caught by adapter framework: java.io.IOException: Error receiving or parsing request message: java.io.IOException: HTTP Error response for SOAP request or invalid content-type.
    I check the payload and test in the inbound proxy. on error.
    Any hints?
    Thanks a lot!
    regards
    Christine

    Hello Christine,
    I faced the same issue,
    You can use the beans below to overcome the error.
    And charset should be utf-8

  • SOAP Receiver Error.

    Hi Experts,
    The scenario is esell system to SOAP receiver. we shared the wsdl for the partners.
    during testing i am facing the below error in the SOAP receiver comm channel.
    Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: Server did not recognize the value of HTTP Header SOAPAction: http://sap.com/xi/WebService/soap1.1.
    Adapter Framework caught exception: SOAP: response message contains an error XIAdapter/PARSING/ADAPTER_SOAP_EXCEPTION - soap fault: Server did not recognize the value of HTTP Header SOAPAction: http://sap.com/xi/WebService/soap1.1.
    NOte: The WSDL which shared with parter has soap action. how should i fix this error.
    When we ask our partners they are telling that they have loaded the wsdl which we provide.
    Could anyone throw some light on how to fix the issue.
    Thanks,
    --Sai.

    Hi Sai,
    I Agree with Bhaskar please check the below blogs for reference...
    RFC -> XI -> WebService - A Complete Walkthrough (Part 1)
    RFC -> XI -> WebService - A Complete Walkthrough (Part 2)
    Thanks and Regards,
    Naveen

  • SOAP Receiver - Error in response

    Hi Experts,
    Please help me with follow.
    I have a Interface RFC -> SOAP and in SXMB_MONITOR is OK. But receiver system the data don't OK.
    In the Communication Channel i see the error message:
    Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 503 Service Unavailable
    and in Message Monitoring (Message Display), the error message:
    2009-03-05 09:01:15 Error MP: Exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 503 Service Unavailable
    2009-03-05 09:01:15 Error Exception caught by adapter framework: SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 503 Service Unavailable
    2009-03-05 09:01:15 Error 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: SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 503 Service Unavailable.
    But the Webservice is ok and the parameters of the communication channel (URL, Action and other) too.
    Thanks in advance.

    Hi Pedro,
    HTTP Error 503 basically indicates service unavailability.
    Check out the following thread : Http 500 internal server error while calling webservice
    http://www.checkupdown.com/status/E503.html
    Thanks,
    Pooja Pandey

  • SOAP Receiver error in PI 7.1

    Hi Experts,
    Please help me with follow.
    I have a Interface Proxy -> SOAP and in SXMB_MONITOR is OK. But receiver system the data don't OK.
    In the Communication Channel i see the error message:
    2009-04-29 11:20:24 Error SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: Internal Error
    2009-04-29 11:20:24 Information SOAP: sending a delivery error ack ...
    2009-04-29 11:20:24 Information SOAP: sent a delivery error ack
    2009-04-29 11:20:24 Error Adapter Framework caught exception: SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: Internal Error
    2009-04-29 11:20:24 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: SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: Internal Error.
    2009-04-29 11:20:24 Information The message status was set to WAIT.
    But the Webservice is ok and the parameters of the communication channel (URL, Action and other) too.
    Thanks in advance.

    check this one:
    Async Scenario converted to Sync by PI

  • SOAP Receiver Error - Recoverable Exception

    Can someone please explain why I am getting this:
    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: SOAP: response message contains an error Application/UNKNOWN/APPLICATION_ERROR - application fault.

    Yeah, since it's an application fault.
    If you have sync2sync scenario, you can map this fault message to an exception in outbound interface.
    If you have bpm calling the web service, you can catch the fault message and execute and exception branch in bpm.
    Regards,
    Henrique.

  • SOAP Receiver- Error While Sending Message: 500 Internal Server Error

    Hello,
    Our scenario: IDoc to SOAP
    I have added a third party system in the SLD and have used the same in my ID configuration.
    An idoc will be triggered from R/3, which will received in PI, PI will transform the IDoc into SOAP message for the third party system.
    I have tested the scenario in ID from Interface Determination and its successful.
    But when i try to try to test it from RWB, using Test Message in Adapter Engine, I get an error,
    "Error while sending message:500 Internal server error"
    If we test it using a testing software like SOAP UI, it works fine but from PI we get the error mentioned above.
    Regards,
    Abhishek

    Hello,
    Since the IDOC adapter resides on the ABAP stack, you can use this URL instead (it will be sent to the integration engine as Venkata suggested)
    http://host:port/sap/xi/engine?type=entry
    Also check your firewall settings from PI to the third-party system.
    Hope this helps,
    Mark
    Edited by: Mark Dihiansan on Feb 7, 2012 11:48 AM

  • SOAP (Receiver): error occured: Connection refused:

    Hi experts,
    I have a RFC -> XI -> SOAP scenario and while testing the same it gets cancelled with the following errors:
    SOAP: error occured: com.sap.aii.af.ra.ms.api.RecoverableException: Connection refused: connect: java.net.ConnectException: Connection refused: connect
    MP: exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: Connection refused: connect: java.net.ConnectException: Connection refused: connect
    Exception caught by adapter framework: Connection refused: connect
    Error 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: Connection refused: connect: java.net.ConnectException: Connection refused: connect.
    Please help me out.
    Regards,
    Daniela

    Hi,
    1. Either the SOAP Url in the SOAP adapter is wrong,
    2. Or there is a proxy server between XI and the Webserivce and so provide the proxy server details in the SOAP adapter ( with Authentication ) if needed and give it a shot.
    Regards
    Bhavesh

  • Special characters in sender soap adapter provoke HTTP 500 error

    Hi,
    SAP R3 is sending a SOAP message to PI through SOAP adapter.
    When the payload does NOT contain german characters like ü, it works fine.
    However, when the payload DOES contain special characters, the SOAP adapter replies with an HTTP 500 code error.
    If I use SoapUI to send the soap message, and setting UTF-8 as the encoding in the program options, it will go through fine. If I change to ISO-8859-1 it will fail.
    I'm thinking in two options:
    - Make sure that SAP R3 sends the message in UTF-8 format (I think this is happening currently), as if SoapUI works, then probably R3 is not using UTF-8.
    - Force the adapter to use UTF-8. Is this possible? In the sender SOAP adapter I've added AF_Modules/MessageTransformBean (type local EB), and then Transform.ContentType for parameter name and --> text/plain;charset=utf-8 for parameter value. The sender adapter will fail then for every message, with or without special characters.
    Anyway, in this link (http://help.sap.com/saphelp_nwpi71/helpdata/EN/a4/f13341771b4c0de10000000a1550b0/frameset.htm) it seems to say that the sender soap adapter cannot be extended with modules, so maybe that's the reason why it fails when trying to add a module.
    Thanks

    If I use SoapUI to send the soap message, and setting UTF-8 as the encoding in the program options, it will go through fine. If I change to ISO-8859-1 it will fail.
    I'm thinking in two options:
    Check the use of option 1 ..... the URL which SAP is using to send the data can containe the encoding information.
    Check this SAP note: https://service.sap.com/sap/support/notes/856597
    From the above note:
    Q: What character encoding is supported by the SOAP sender adapter?
    +you can supply the encoding information with the xmlenc variable in the request URL as in+
    Regards,
    Abhishek.

  • SOAP-IDOC scenario- HTTP 500 error

    Hi All,
    We are working on SOAP- IDOC scenario.
    We are getting a request from Sender which should come via Reverse Proxy server to PI.
    We generated WebService on PI and the URL(X) is shared with Proxy team, wherein they mapped that URL (X)with other URL(Y). This URL (Y)is shared to sender and he is trying to send some requests now.But below is the error message.
    [09/02/13 15:26:12] ID=app01 (trace) Delivered HTTP Direct outbound message, containing details...
            Destination URL=https://XXXXXXXXXXXXXXXXXXXXXXXXXXXXX
            User=ZZZZZZZ
            Status Code=500
            [req]Content-Length=7148
            [req]X-HTTPS-ClientAuthCertificate=/AAAAAAAAAAAAAAAA
            [req]X-HTTPS-ClientAuthCertificateForm=PKCS12
            [req]Authorization=Basic RjRGSU5GWEQxMDA6c3luZ2VudGEx
            [req]X-HTTPS-CACertificatePath=/BBBBBBBBBBBB
            [req]X-HTTPS-PrivateKey=/CCCCCCCCCCCCCCCCC
            [req]JMSReplyTo=sga.ws.test.response
            [req]messageuniqueid=6d65d89f-ffff-ffc0-00ee-3aa7032c3299
            [req]adpnextmlemarkersequence=3
            [req]X-HTTPS-PrivateKeyPassword=ZZZZZ[maid
            [req]Content-Type=text/plain
            [resp]content-type=text/xml; charset=utf-8
            [resp]set-cookie=saplb_*=(SERVERNAME)226695750; version=1; path=/
            [resp]set-cookie=saplb_*=(SERVERNAME)226695750; version=1; path=/
    Any Clue

    Hi,
    Check this
    HTTP 500
    o Internal error in J2EE
    o Check SAP Note 807000 - Http requests are not fully read
    after timeout
    Regards,
    Sreenivas

  • Error in SOAP Receiver Adapter with HTTPS

    Dear All,
    I am developing a SOAP to SOAP scenario with HTTPS i.e. client without authentication and I am facing an issue with the receiver adapter. Few messages fails in the receiver side while rest are successful.
    Error - Delivery of 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: Failed to get the input stream from socket: iaik.security.ssl.SSLCertificateException: Peer certificate rejected by ChainVerifier
    Please let me know what can be the reason for the error.
    Thanks and Regards,
    Rana Brata De

    Hi Rana,
    Check the certificates sequence as well the certificates end dates in STRUST in SAP PI system. if, deployed in NWA level check over there.
    One more :: sending the data to web server or web page. make sure, PI is pointing to which server.
    Regards,
    Kesava.

  • Error in SOAP receiver channel: java.io.IOException: invalid http response:

    Hi experts,
    I have a IDOC to SOAP scenario where SOAP receiver channel is sending data to web service. In the receiver channel I am getting error as below. Kindly help me to resolve this issue. Thanks.
    "Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: invalid http response: null"

    Did you check this?
    http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40611dd6-e66e-2910-f383-e80fb44f9cd4
    Regards
    Pothana

  • Error in SOAP receiver channel in Synchronous Proxy to SOAP scenario

    Hi all,
    We are experiencing an issue with a synchronous Proxy to SOAP scenario. Getting below error message in the SOAP receiver communication channel for the response message.
    SOAP: Response message contains an errorXIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 500 Internal Server Error
    Returning to application. Exception: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error encountered while executing mapping: com.sap.aii.af.service.mapping.MappingException: com.sap.aii.utilxi.misc.api.ResourceException: Could not determine mapping steps for message 1364b76e-ecbf-11e4-85f4-000023acfde6.
    We are running PI 7.4.
    Any help is appreciated.
    Thanks,
    Pushpa

    Hi,
    Seems the Receiver Webservice is not reachable. Did you try to test it using SOAP UI tool.
    1. Test a fresh message from local SOAP UI tool.
    2. Pick 3rd party WSDL file and Import in SOAP UI tool.
    3. Put some dummy data for mandatory fields
    4. Trigger it msg and ckh if you get successful / response msg.
    5. Check if firewall is open and that URL is not blocked.
    Hope it helps
    Regards,
    Azhar

Maybe you are looking for

  • What is happening here? In FF ok, IE not

    what is happening here? I have a div that is lining up horizontally 300px to the right in IE and is pushing out page not seeming to abide by the wrapper div it's in. I have tried it with a clear and without on the div itself. It is the object that is

  • My iPhone 4S speakers no longer work after upgrading to 5.1.1

    Everything was working fine for a week or so after upgrading to 5.1.1 and then sounds started to getty buzzy from the speakers and now have gone totally.  Every now and then the sound will work for a brief second, but then stop.  I can't use the spea

  • New line in SQL plus

    Hi all, I would like to include content with a new line into an column of a table. I would like to run the script through SQL plus but because I want a new line in this content, SQL plus determines it as the end of the query. e.g. update <tablename>

  • What is the meaning od general modification field in the obyc t-code.

    hi there gurus, can any one tell me what is the meaning of the general modification file din the obyc t-code, i wana know wht is that is used for n etc

  • Check for BW packages

    Hi all, can any1 help me in how to check for BW packages in se80.. as i'm a fresher to BW environment i dont know how to check for BW packages in se80.