SAP PI HTTP Adapter Capability

Hi  Experts,
I'd like to know if PI's HTTP Adapter supports HTTP posts with multipart/form-data content type. If it's not possible, what's the possible alternative?
Cheers,
R-jay

Hi Stefan,
I'm planning to use SOAP Adapter to send the data to target system using since HTTP Adapter can't be used to send message with attachment (provided that Java Mapping won't be used). Is it possible for SOAP Adapter (receiver) to be an alternative of HTTP Adapter by configuring the adapter not to send SOAP Envelope, would it still expect to receive a SOAP response?
R-jay

Similar Messages

  • Please give me parameters of SAP XI HTTP adapter

    please give SAP XI HTTP adapter , as i am using this instead of SAP rfc ADAPTER ,
    THANKING YOU
    SRIDHAR

    Hi,
    http://help.sap.com/saphelp_nw04/helpdata/en/44/79973cc73af456e10000000a114084/content.htm
    Regrds
    Chilla..

  • 3rd party to sap using HTTP adapter

    Hi Folks,
        I'm sending some IDOC to sap from the 3rd party. I have to use HTTP adapter as sender and IDOC as receiver adapter.
    Can you please suggest me how to configure teh sender side. As I know there will be no such configuration for the sender adapter as it is HTTP then how the HTTP adapter will get the data sent by the 3rd party and how it will pass it on to the idoc adapter ?
    Regards....

    If you like to have more details about the http url
    then refer the below link
    http://help.sap.com/saphelp_nw70/helpdata/en/c9/775b3b82646c3ae10000000a114084/frameset.htm
    Rajesh

  • HTTP Adapter and Message confirm

    Hi Experts,
    I don't understand an aspect of communication with SAP PI.
    I have a External System that comunicates with SAP ECC via SAP PI HTTP Adapter.
    When SAP ECC sends an MATMAS message to External System like payload of HTTP message, How Does External System confirm MATMAS is recived?
    In R/3 System there are methods to commit, roll back transaction, there's a similar mechanism with HTTP Adapter?
    thanks.
    Marco Genova

    hi,
    >>How Does External System confirm MATMAS is recived?
    it does not - http adapter does no support acknowledgments
    the only way would be to receive a message back from http to PI
    with some status info and for example on the basis of that
    change the status of the outbound matmas idoc to - received successfully
    but there is no confirmation with HTTP adapter that the message was received
    Regards,
    Michal Krawczyk

  • XI Http adapter receiver issue, how to change the target payload format

    Dear all,
    In my project, I need to call a servlet program using Http/xml.
    The message format accepted by the server program is like this:
    request:
    <?xml version="1.0" encoding="GBK"?>
    <PACKET type="REQUEST" version="1.0" >
    <HEAD>
      <REQUEST_TYPE>01</REQUEST_TYPE>
    </HEAD>
    <BODY>
      <BASE_PART>
        <QUERY_SEQUENCE_NO></QUERY_SEQUENCE_NO>
      </BASE_PART>
    </BODY>
    </PACKET>
    response:
    <?xml version="1.0" encoding="GB2312"?>
    <PACKET type="RESPONSE" version="1.0" >
    <HEAD>
      <REQUEST_TYPE>01</REQUEST_TYPE>
      <RESPONSE_CODE>1</RESPONSE_CODE>
      <ERROR_CODE>0000</ERROR_CODE>
      <ERROR_MESSAGE>xxx</ERROR_MESSAGE>
    </HEAD>
    <BODY>
      <BASE_PART>
        <QUERY_SEQUENCE_NO>01PICC057106001156421487812453</QUERY_SEQUENCE_NO>
      </BASE_PART.
    </BODY>
    <PACKET>
    My first question is if I can use the servie by SAP PI http adapter?
    If yes, and how to design the data type? The <HEAD> <BODY> are on the same level...
    Commonly, I only can set the data type like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <MT_HTTP_IN>
       <HEAD>
          <REQUEST_TYPE>1</REQUEST_TYPE>
       </HEAD>
       <BODY>
          <BASE_PART>
             <QUERY_SEQUENCE_NO>123</QUERY_SEQUENCE_NO>
          </BASE_PART>
       </BODY>
    </MT_HTTP_IN>
    The problem is how to remove the <MT_HTTP_IN> then insert the tab <PACKET  type="REQUEST" version="1.0" >? I wonder if I need use JAVA mapping? and could u give me a related samples?
    Thanks a lot!

    Dear Xun Liu,
       If you need <PACKET type="REQUEST" version="1.0" >, then you need to create attributes 'type' and 'version' under node <PACKET>. At mapping level you can pass constant values for those attibutes.
    Regards,
    JP.

  • Can I get a response back when I use HTTP adapter

    Hi ,
    I am doing a integration between SAP and ThirdParty Product using PI 7.1.
    The scenario is ThirdParty -> PI -> SAP ,using HTTP adapter between ThirdParty and PI , and IDoc adapter between SAP and PI.
    So,its a HTTP sender and IDoc receiver.
    So I was just curious to know if the IDoc posting failed in SAP ,can I send a response from SAP to Thirdparty regarding the failure along with some error message.
    Thanks for your responses.
    Venu

    Hi,
         It may lead to some timeout problems if you design your scenario as synchronous i.e sending response back to HTTP..
    as SAP may take time to process idoc and need to provide response back to PI ..by that time the connection may become invalid and thirdparty may receive response as timeout error...
    As anyway PI has the option of Alert managements..you can trigger the error mail to the third party recipients for letting them the status...
    HTH
    Rajesh

  • SAP PI 7.1 HTTP Adapter

    In my scenario, SAP PI 7.1. needs to talk to a 3rd party EDI system via web services. SAP PI is using HTTP adapter to exchange XML messages for both inbound and outbound with the EDI system. Questions:
    1. If SAPI PI sends for example 100 (different) messages to the EDI system every day, will PI make 100 web service calls to the EDI system to send each individual message?
    2. Please explain how PI will use the HTTP URL to send the messages to the EDI system. Any document/blogs to explain how HTTP adapter works for exchanging messages with third party systems (web service capable)? Did not find anything good one in SDN.
    3. Any disadvantage of using HTTP adapter, e.g. for high volume scenarios?

    > 1. If SAPI PI sends for example 100 (different) messages to the EDI system every day, will PI make 100 web service calls to the EDI system to send each individual message?
    Yes, it will use 100 cals to process 100 individual messages.
    >
    > 2. Please explain how PI will use the HTTP URL to send the messages to the EDI system. Any document/blogs to explain how HTTP adapter works for exchanging messages with third party systems (web service capable)? Did not find anything good one in SDN.
    >
    When you use HTTP adapter in receiver side, you will specify address of the target system in URL format, that means data will be send it to specific UIRL adress.
    > 3. Any disadvantage of using HTTP adapter, e.g. for high volume scenarios?
    i prefer using SOAP adapter for web service cals..HTTP adapter give good perfomance.
    Regards,
    Raj

  • IDOC [SAP R/3 ] TO SAP XI TO HTTP ADAPTER....

    Hi Friends...,
    i am new dimension for this sap xi. i want  send idoc  from sap r/3 to Http
    Adapter throw sap xi...
    please give details from scratch..
    i want to work on this ...
    thank you very much..,
    regards,
    sharath

    Hi,
    Check this links on how to configure receiver HTTP adapter.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/43/64dbb0af9f30b4e10000000a11466f/content.htm
    and this link on how to process idocs using idoc adapter.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/b9/c5b13bbeb0cb37e10000000a11402f/content.htm
    Regards,
    Sudheer.

  • How to build the "Path Prefix" HTTP Adapter at run time

    Hi All,
    I have a scenario wherein I have to call the HTTP Url of a thiird party system from R/3 via PI.
    The third party url looks liike this:
    http://gis/ias/cgi-bin/siscgi.exe?request=batch&command=<requests><request><name>sis_neighbouring_knos_for_sambandh_service</name><buffer>20</buffer><same_premise_kno>123</same_premise_kno><l
    eft_kno>331</left_kno><gis_id>4019589</gis_id><priority>same_premise_kno,left_kno,right_kno,gis_id</priority></request></requests>&user_name=sambandh.sias&pa
    ssword=sambandhsias
    I have successfully created a HTTP Recevier comm channel and provided the following in the "Path Prefix"
    /ias/cgi-bin/siscgi.exe?request=batch&command=<requests><request><name>sis_neighbouring_knos_for_sambandh_service</name><buffer>20</buffer><same_premise_kno>123</same_premise_kno><l
    eft_kno>331</left_kno><gis_id>4019589</gis_id><priority>same_premise_kno,left_kno,right_kno,gis_id</priority></request></requests>&user_name=sambandh.sias&pa
    ssword=sambandhsias
    But If I need to pass the values inside the xml tags specified above e.g. "name" at run time, How do I do that?
    I have explored the "Apply URL Parameters" option in the HTTP Comm channel but it has fixed names for the HTTP URL parameter.
    Please let me know how is this possible hopefully without a UDF
    thanks,
    Piyush

    Hi Piyush,
    Have you checked the option of ASMA of the adapter?
    http://help.sap.com/saphelp_nw04/helpdata/en/43/64dbb0af9f30b4e10000000a11466f/content.htm
    Also see Note 1101338 - Dynamic configuration of HTTP adapter
    Regards
    Suraj

  • 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

  • UTF-8 encoding problem in HTTP adapter

    Hi Guys,
    I am facing problem in the UTF-8 multi-byte character conversion.
    Problem:
    I am posting data from SAP CRM to third party system using XI as middle ware. I am using HTTP adapter to communicate XI to third party system.
    in HTTP configuration i have given XML code as UT-8 in the XI payload manipulation block.
    I am trying to post Chines characters from SAP CRM to third party system. junk characters are going to third party system. my assumption is it is double encoding.
    I have checked the Xml messages in the Message monitoring in XI, i can able to see the chines charaters in XML files. But in the third party system it is showing as junk characters.
    Can you please any one help me regarding this issue.
    Please let me know if you need more info.
    Regards,
    Srini

    Srinivas
    Can you please go through the SAP Notes 856597 Question No.3 which may resolve your issue? Also have you checked SAP Notes 761608,639882, 666574, 913116, 779981 which might help you.
    ---Satish

  • Convert XML payload to HTML form data in Receiver HTTP Adapter

    Hi,
    I want to make a HTTP request ( Receiver HTTP Adapter ) to a servlet where I need to send the payload in HTML form format ( name=value ). As per the help document:
    A typical HTML form comprises named fields. When transferring a completed form to the server or a CGI program, the data must be transferred in such a way that the CGI script can recognize the fields that make up the form, and which data was entered in which field.
    The plain HTTP adapter constructs this format using a prolog and an epilog
    Has anyone done this before? I looked through all help documents and forums but in vain. I can resort to Java Mapping to do this but I do not want to re-invent the wheel if I can do it easily using HTTP Adapter Configuration. Please help.

    The parameters available in HTTP adapter for message header are:
    HeaderFieldFive     http://sap.com/xi/XI/System/HTTP
    HeaderFieldFour     http://sap.com/xi/XI/System/HTTP
    HeaderFieldOne     http://sap.com/xi/XI/System/HTTP
    HeaderFieldSix     http://sap.com/xi/XI/System/HTTP
    HeaderFieldThree     http://sap.com/xi/XI/System/HTTP
    HeaderFieldTwo     http://sap.com/xi/XI/System/HTTP
    HTTPDest     http://sap.com/xi/XI/System/HTTP
    TargetURL     http://sap.com/xi/XI/System/HTTP
    URLParamFive     http://sap.com/xi/XI/System/HTTP
    URLParamFour     http://sap.com/xi/XI/System/HTTP
    URLParamOne     http://sap.com/xi/XI/System/HTTP
    URLParamSix     http://sap.com/xi/XI/System/HTTP
    URLParamThree     http://sap.com/xi/XI/System/HTTP
    URLParamTwo     http://sap.com/xi/XI/System/HTTP

  • ASMA in HTTP adapter

    Hello All,
    I'm want to use the ASMA in http adapters.
    I tried in file adapters and  got the expected result but in HTTP couldn't get it.
    In file adapter:
    I have selected the ASMA option in sender communication channel and selected the filename so that filename is included in message header.
    When selected the ASMA in receiver communication channel and selected the filename so that the filename which is added in message header is getting reflected here by overwriting the constant file name given in filename schema.
    In HTTP adapter:
    In sender communication channel i'm selecting the ASMA. But i have doubt in using the
    HTTP Header Fields .
    Field 1, …, 6: (technical name: HeaderFieldOne, .... HeaderFieldSix)
    URL Parameters
    Parameter 1, …, 6: (technical name: URLParamOne, …, URLParamSix)
    here url parameters implies what? is it the optional parameters like msgguid, party....etc other than mandatory parameters namespace,interface,senderservice?
    What is this HTTP fields...? is it any additional fields other than above optional and mandatory fields, which are coming in HTTP reuest url.
    I have used the HTTP client tool to send payload to my PI system. I sent the xml payload to pi by providing the mandatory fields. it's fine. when i gave the optional parameters in the input filed, automatically it is including in xi message header(without selecting the option URL parameters).
    Also i have added two input fields  and entered value in them, they got added in fields in URL. But they are not reflecting in messgae header inspite of selecting HTTP Header Fields and gave that input field.
    Please give detail description. I have checked in several blogs but didn't get enough info.
    Please help me.
    Regards,
    Ch.Venkat

    Hi Venkat,
    Please refer the SAP Note 1386621 - Plain HTTP Adapter: Dynamic parameter.
    here url parameters implies what? is it the optional parameters like msgguid, party....etc other than mandatory parameters namespace,interface,senderservice?
    URL parameter is to create or retrieve URL. for receiver HTTP adapter you can set this parameter on UDF and create dynamic HTTP url at run time.
    What is this HTTP fields...? is it any additional fields other than above optional and mandatory fields, which are coming in HTTP reuest url.
    HTTP fileds is to create or retrieve HTTP header values (If present).
    Please check the SAP note for more detail.
    regards,
    Harish

  • 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

Maybe you are looking for

  • How do i dynamically populate a table with an excel file?

    I need to move a doc from a Word file to some kind of help file (chm, webhelp, whatever). The Word doc has a bunch of tables where most of the data is the same for each customer. Unfortunately, the software has been updated in such a way as to make t

  • Cards problem

    Hi, here is the problem I have n number of playing cards in a table (say 5). I want to find all the possible combinations and store then so that I can delete a particular card from the table. example. cards are 1, 2, 3, j, k combinations are are 1,2,

  • Generic Method override compatibility

    I tried to find references to the problem but couldn't. I face it all the time and I thought some else must have had the same problem already. Oh well, here it goes. With both 3.1M4 and 3.1M5a the following code compiles without any problems. public

  • No Service provider in Demark

    I have bought a BB Pearl 8100 in US. As it appears I can not use it for anything else than mobile phone as TDC (the Major Danish service provider) or any other Service provider in Denmark for thqat sake  does not support BB except having an enterpris

  • Student and Teacher Edition (AU) ..types of universities..

    Hi, I'm from Australia. I want to purchase a Student and Teacher edition. I study at... https://www.open.edu.au currently. I have a student card from them that I could use for verification, but I'm not sure if they would be eligable. See, they are ca