Plain HTTP adapter fort HTTPs

Hi guys,
I use receiver plain HTTP adapter for sending SOAP request. Followinf parameters have tu be entred:
Addressing Type: URL Address
Target Host: <host>
Service Number: <port>
Path Prefix: <path>
Then final address is generated:
http://<host>:<port>/<path>
It's working fine if I use http protocol.
Now I need to send SOAP request to address https://<host>/<path>. I don't know number of port where SSL communication's running.
Is it possible to enforce using of https protocol instead of http? Is it possible to enter empty port number? Or do you have any other idea how to pass around this problem?
Thank you in advance for every advice!
Regards
Zbynek

>>Is it possible to enforce using of https protocol instead of http?
Instead of using URL Addressing option, you need to start using HTTP Destination option. An RFC destination type G should then be created where the similar details of hostname and path should be provided.
>Is it possible to enter empty port number?
Yes it could be empty, but you need to confirm it from the receiver party that would they be able to receive https request or not if no port is provided. This would depend upon the type of implementation they have at their end.
Regards,
Prateek

Similar Messages

  • WSRM Adapter replaced with soap in PO7.4. Getting error "Response message contains an errorXIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 500 Internal Server Error"

    Hello All,
    We have scenario proxy->pi->webservice. In older versions of PI system they used wsrm adapter at receiver side and it's working fine.
    Receiver interface is asynchronous. So no response structute is present and receiver service is business component(since receiver is a third party).
    During migration, we have replaced the receiver adapter with SOAP adapter and used message protocol as SOAP 1.1 but the message is failing and in communication channel it is showing error "Response message contains an errorXIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 500 Internal Server Error". In this case the receiver interface is stateless xi 3.0 compatible(re using the old), after changing it to just stateless also issue persists.
    In target url field if i prefix the url with "http" then above mentioned error is occurring otherwise if i use the hostname:port/path.. then it is giving error
    "soap: Call failed: com.sap.aii.af.sdk.xi.srt.BubbleException: Unsupported protocol". So maintaing the url as http://hostname:port/pat.....
    As in old channel wsrm channel there is no userid and password, i haven't given any userid/pwd in receiver channel.
    used the bean sap.com/com.sap.aii.af.soapadapter/XISOAPAdapterBean with  parameters
    Module Key  =  soap
      Parameter Name  =  noSOAPMakeSysErrFromResponseFault
    Parameter Value  =  false
    and
    xmbws.No SOAPIgnoreStatus = true
    but not successful.
    Please help me. I got stcuk here.

    Hello Jannus,
    The connectivity is working fine. Network team has confirmed it. I doubt that any strucutre(header) difference might be present in message when sending with wsrm adapter compared to sending with soap adapter.
    Please let me know the exact difference between soap and wsrm functionality in receiving end.
    By considering the structure issue, i have checked the "do not use soap envelope" check box, then i got error "Response message contains an errorXIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 415 Unsupported Media Type"
    Then i used message transform bean, but not successful.
    Regards,
    Ch.Venkat.

  • XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 400 Bad Request

    Hi,
    We are doing File to WCF Scenario( SOAP ). I am trying to post the Data to WCf usingf SOAP Reciver Adapter.
    Getting the Following error.
    Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 400 Bad Request
    Thanks in advance

    >>>  Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 400 Bad Request
    Answer: Use the third party wsdl in SOAP UI or any soap client tool and send the request and see the response. The problem here is the message structure mismatch between your request to the webservice and webservice expecting... 
    Possible 2  reasons:
    1) You are not creating the target message based on the wsdl structure or not configured soap receiver properly.
        or
    2 ) Your wsdl is not latest or updated one or some changes have happened in the third party webservice hosting side.

  • XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 404 Not Found

    Hi,
    The scenario is ECC-XI-SOAP(Asynchronous). We are getting the below mentioned error in SOAP reciver channel:
    Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 404 Not Found
    Channel Configuration:
    Target URL:
    http://<hostname>:<port>/bpm/com/xyzprocess/SomeIntermediateEvent?wsdl=binding&mode=ws_policy
    Tried with
    http://<hostname>:<port>/bpm/com/xyzprocess/SomeIntermediateEvent as well
    Conversion parameters:
    Checked Do Not Use Soap Envelope
    Appreciate any help in this regards.
    Regards,
    Vishal

    Can you share with us the HTTP Headers for the Request?
    POST http://server/sap/xi/engine?type=entry&version=3.0&Sender.Service=BusService&Interface=http://company.com/abc/CommonAck%5EMI_CommonAck_ia HTTP/1.1
    Accept-Encoding: gzip,deflate
    Content-Type: text/xml;charset=UTF-8
    SOAPAction: "http://sap.com/xi/WebService/soap1.1"
    User-Agent: Jakarta Commons-HttpClient/3.1
    Host: server
    Content-Length: 560
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xir="http://www.dummy.org/response/">
    <soapenv:Header/>
    <soapenv:Body>
    <xir:responseInput>
    <Id>007</Id>
    <Flag>10</Flag>
    </xir:responseInput>
    </soapenv:Body>
    </soapenv:Envelope>
    You can use the MessageTransformBean to correct the content type.
    Thanks for the suggestion Mark.I am using MessageTransformBean but still the same issue.
    Parameter Name:Transform.ContentType
    Parameter Value:text/xml;charset=utf-8
    Edited by: Vishal.P.Kulkarni on Oct 17, 2011 6:27 AM
    Edited by: Vishal.P.Kulkarni on Oct 17, 2011 6:29 AM

  • XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 500 Internal Server Error

    I'm getting this message in RWB when trying to send an order:
    Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 500 Internal Server Error
    Weird thing is, other orders have been successfully to the same partner.
    Is this something on my side or the receivers side?
    What does HTTP 500 Internal Server Error mean and how to fix?
    Thanks,
    Jeff

    More info on this problem:
    Discovered that the HTTP 500 error only occurs when a "change" file is sent:
    I send an order create file to a partner using a SOAP adapter. They receive it successfully.
    I make a change to the sales order and send that file. It uses the same Config Scenario, receiver determination, receiver agreement and comm. Channel.
    But this file shows an HTTP 500 error in the RWB.
    I send it right after the first order create file, so no overloading is happening, etc.
    Conenctivity to the url is fine because the create file went through.
    I don't know what else it could be. Any other info/log in RWB to look at to help decipher the error?

  • How  to config receiver http adapter for HTTP POST without XML tags ??

    Hi All,
    Can you please provide some infornation on How  to config receiver http adapter for HTTP POST (Request) without XML tags ?? Our receiving product doesn't support XML formats.
    Is there any option to bypass server authentication on the XI?
    If anybody has the same experience or know how to please provide inputs.
    Thanx
    Navin

    Hi,
    you can use xsl mapping for this in which u xtract
    the contents only but not the xml tag.
    Ranjit

  • HTTP-ADAPTER with HTTPS =  ICM_HTTP_SSL_ERROR

    Hi,
    we are trying to sending data via HTTPS with the HTTP-Adapter. Therefor we create a RFC_Destination with SM59. For HTTP it works fine but after changing to HTTPS we receive a ICM_HTTP_SSL_ERROR. 
    The server on the other side expect authentification via User/Pwd on port. Also we added an entry in STRUST for CN=anonymous in STRUST.
    Any idea whats wrong ?

    Hi Sammer,
    - authentification is username/pwd.
    - SSL is active because of https
    - Service is set to the https-port of the server.
    I receive the following error in the log.
    [Thr 10] >> ---------- Begin of Secude-SSL Errorstack ---------- >>
    [Thr 10] ERROR in ssl3_get_server_certificate: (9/0x0009) the verification of the server's certificate chain failed
    ERROR in af_verify_Certificates: (24/0x0018) Chain of certificates is incomplete : "OU=Class 3 Public Primary Certification Auth
    ERROR in get_path: (24/0x0018) Can't get path because the chain of certificates is incomplete
    [Thr 10] << ---------- End of Secude-SSL Errorstack ----------
    [Thr 10]   SSL_get_state() returned 0x00002131 "SSLv3 read server certificate B"
    [Thr 10]   SSL socket: local=10.172.11.11:41579  peer=195.14.237.44:3577
    [Thr 10] <<- ERROR: SapSSLSessionStart(sssl_hdl=0x1054e08b0)==SSSLERR_SSL_CONNECT
    [Thr 10] *** ERROR => IcmConnInitClientSSL: SapSSLSessionStart failed (-57): SSSLERR_SSL_CONNECT {00021653} [icxxconn_mt.c 1813]
    when I delete in STRUST all the certificates under  Client_certificate (standard/anonymus) I receive the same error msg. it also the same error when I am trying to connect to another server with https.
    regards bernd

  • Https on sender http adapter

    Hello Gurus,
    we have a synchronous XI from HTTP Sender adapter to RFC. The user of the interface would like to call it using the plain HTTP adapter with HTTPS. When we use the http port with the XI user/password as part of the url, it works OK. When we switch to the HTTPS port the interface does not provide a response. When we call the https url directly in Internet Explorer we get a pop-up requesting the user/password. Once
    this is entered the interface works OK until the ie session in closed.
    So can you please tell me what might be d problem?
    If i m calling it from http client it is not giving me response, and if m calling it directly then also it is asking for user id and password.
    Any help is appriciated.
    Thanks,
    Hetal

    Thanks Swarup.
    I already have configured SSL.
    But how i can make sure that what i need to use and how can i specify from below :
    HTTP with SSL (= HTTPS), but without client authentication
    HTTP with SSL (= HTTPS) and with client authentication
    Which i need to use?
    And if what shold be the url for that?
    right now m using url like :
    https://hostname:httpsport/sap/xi/adapter_plain?namespace=xyz&interface=xyz&service=xyz&party=&agency=&scheme=&QOS=BE&sap-user=xyz&sap-password=xyz&sap-client=xyz&sap-language=EN
    Can you please tell me how i have to specify that as we do not configure HTTP Sender adapter?
    Thanks,
    Hetal

  • Transaction code used to configure HTTP Adapter?.

    What transaction code we use to configure HTTP adaptor?.
    SMICM
    Is this correct?.

    Ash,
    Yes. Please see this weblog for some more help:
    /people/community.user/blog/2006/12/12/http-to-rfc--a-starter-kit
    Just go this url and click the first one for HTTP adapter presentation:
    https://www.sdn.sap.com/irj/sdn/advancedsearch?query=http%20adapter&cat=sdn_all#
    Also check this threads:
    in SMICM-->How to Activate HTTP Services
    SMICM services
    ---Satish

  • ADAPTER.HTTP_EXCEPTION - HTTP 415 Unsupported Media Type

    Hi All,
    We have a Proxy to SOAP scenario which is throwing the below response.
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Inbound Message
      -->
    - <SAP:Error SOAP:mustUnderstand="1" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
      <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: SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 415 Unsupported Media Type</SAP:AdditionalText>
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    We have used XSLT mapping and also used the Message transform bean (ocalejbs/AF_Modules/MessageTransformBean) with the module parameters.
    Please help.

    this is the Audit log... Just in case this helps..
    20.10.2011 09:57:34 Information Transform: successfully transformed
    20.10.2011 09:57:34 Information MP: processing local module localejbs/sap.com/com.sap.aii.af.soapadapter/XISOAPAdapterBean
    20.10.2011 09:57:34 Information SOAP: request message entering the adapter with user J2EE_GUEST
    20.10.2011 09:57:34 Information SOAP: completed the processing
    20.10.2011 09:57:34 Information SOAP: continuing to response message 765df5dd-fb23-11e0-a52b-0000124b6826
    20.10.2011 09:57:34 Error SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 500 Internal Server Error
    20.10.2011 09:57:34 Error MP: exception caught with cause com.sap.engine.interfaces.messaging.api.exception.MessagingException: SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 500 Internal Server Error
    20.10.2011 09:57:34 Error Adapter Framework caught exception: SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 500 Internal Server Error
    20.10.2011 09:57:34 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/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 500 Internal Server Error. Setting message to status failed.
    20.10.2011 09:57:34 Error The message status was set to FAIL.

  • How to send XML file into XI using sender HTTP adapter

    I am using HTTP sender adapter to post the XML file into XI. I tried to form the URL by using the following String query , but I am unable to execute file.
    String urlString = "http://<servername:portno>/sap/xi/adapter_plain?namespace=<namespace>&interface=<interface name>&service=<service name>&party=&agency=&scheme=&QOS=BE&sap-user=xiappluser&sap-password=satyam&sap-client=100&sap-language=EN";
    How can I execute xml file by using HTTP sender adapter.
    Any one with better suggestions, about this idea?
    Thanks in advance for all.
    Ram Raj

    Hi
    Just use the following parameter to send xml file using HTTP adapter.
    "http://xiserver:8000/sap/xi/adapter_plain?namespace="senderNamespace"&interface=senderinterface&service=sender service";
    "&party=sender party"&agency=&scheme=&QOS=BE&sap-user=userid &sap-password=password&sap-client=100&sap-language=D";
    with the help of this you are able to point out which interface you would like to use.
    And in payload pass the xml.
    and thats it
    carry on
    Cheers
    Regards
    Piyush

  • SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPT

    Hi there,
    I am trying to publish a file from SAP as web service using XI and SOAP Adapter.
    I am using ABAP proxy to get the data into XI.
    Designing and Configuration in XI has no problems because when i use File adapter the data is trasmitted to FTP server.
    But when I used SOAP Reciever adapter I am getting following error in RWB
    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 500 Error during parsing of SOAP header.
    <b>Scenario</b>: SAP ABAP Proxy -> XI -> WebService. Asynchronous.
    <b>SOAP</b> Receiver adaptor.
    <b>Target URL</b> http://<host>:<port number >/sap/xi/engine?type=entry&version=3.0&Sender.Service=SAPDC2653&Interface=urn:bzttest:00:hsa:test%5EOB_MI_BZT_TEST&QualityOfService=ExactlyOnce
    Do not use SOAP Envelop is checked.
    <b>SOAP Action</b> http://sap.com/xi/WebService/soap1.1
    What i am missing here? How should I solve this problem?
    Any help is appreciated,
    Thx,
    Yogi

    Say there's a bapi/rfc that you want to call on an R/3 backend (e.g. 4.6c).  On it's own, the R/3 system cannot expose the rfc/bapi as a web service, but XI can.  So in this case, the scenario would be:
    WS client -> XI -> R/3
    When XI "exposes" a web service, it is exposing a service for a receiving system (in the above example, the R/3 system).  XI itself does not provide or contain the service implementation.  When XI exposes a web service, it is always done via the <b>sender</b> soap adapter (i.e. if soap adapter is used).   Receiver soap adapter is used to call or consume an actual web service from an external application.
    Regards,
    Jin

  • XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION

    Dear All,
    My SOAP receiver communication channel in production server has the following error:
    Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 500 Internal Server Error.
    I am in process of finding the root cause for the issue.
    I welcome your suggestions.
    Regards,
    Venu V

    Hi,
    Yes the channel was working fine. I have contacted the target system ppl. They are saying that they did not receive any messages. To resend the messages my channel should work without errors rt then only I can process.
    Does it a problem of network or issue with the WS?
    Thanks & Regards,
    Venu V

  • XIAdapter/HTTP/ADAPTER.HTTP_EXCEPT

    Hi,
    we are getting the following exception when calling a soap webservice via XI.
    SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 302 Found
    we have already searched existing threads but didn't find any useful hints.
    can anybody give us advice what might be wrong ?
    best regards

    Hi Max Übele 
    Error code 302 stands for Moved Temporarily
    This code is a temporary redirect to a new location. Apparently, many user agents always issue GET requests for the new URI, regardless of the original request method. This action violates even the older HTTP RFCs (1945 and 2068), but has become the expected behavior. RFC 2616 added two new status codes, 303 and 307, to ``fix'' this problem.
    for more details on error code follow the link
    http://www.web-cache.com/Writings/http-status-codes.html
    Thanks
    sandeep sharma
    PS ; if helpful kindly reward points

  • SSL in HTTP adapter

    Hi All,
    Would I be able to use an HTTP adapter for HTTPS connection. As currently i am unable to see any SSL feature in HTTP adapter in Comm Channel.
    Please guide me with info and links as to how would I be able to enable it. I am using PI7.1
    Thanks,
    Kevin

    Hi,
    you could define the SSL settings in the RFC connection that is referenced from the Adapter (select HTTP Destination
    as Addressing Type).
    http://help.sap.com/saphelp_nw04/helpdata/en/43/64dbb0af9f30b4e10000000a11466f/frameset.htm
    Regards
    Patrick

Maybe you are looking for