How to configure message header in receiver http adapter?

Hi all
I need the outgoing message payload from receiver http adapter to backend system with below form.
POST http://222.222.33.22 /HTTP1.0
content-type:application/x-www-form-urlencoded
USERID=xxxxxx&PASSWORD=xxxx&SRCID=10&CDDATE=20070601...........................................................................
×POST http://222.222.33.22 /HTTP1.0
○content-type:application/x-www-form-urlencoded
○USERID=xxxxxx&PASSWORD=xxxx&SRCID=10&CDDATE=20070601...........................................................................
Is there a parameter to enable POST method as a part of message header outputing?
thanks in advance.

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

Similar Messages

  • How to send the payload to a jsp using receiver Http adapter?

    Hi experts,
    I have this scenario from Legacy to XI to external app server.I have a test jsp to execute that functionality .Its a jsp which has 1 textarea named "test" and when I click on the submit buton I get a response back.This way I am able to test this independently.Now from XI when I am executing my scenario I am getting status code '1250' and message as ' http request(test) is null'.Now in the scenario in http adapter I just provide the target host : ip of server ,
    service number : port no ,
    path: the container or the request handler. But this scenario fails and gives me the above erroneous response.Now Basically I am not able to get how to send the value to the textarea "test"? please provide help as soon as possible.Do we have to put the name of the jsp in the "path" in http adapter and use prolog as test=.I tried this but it doesnt work.
    Is there any way to check the URL that it forms after appending the querystring in the url ...?
    So please provide help on this or suggest a solution to [email protected] as soon as possible.....
    Thanx in advance.
    Akshata

    hey Shekhar,
    thanx for that prompt reply but I have configured the communication channel in the same manner as suggested by u.
    actually I have this jsp page http://xx.xx.xx.xx:8080/abcdef/try/efg.jsp where there is a textarea "test" which has to be filled and there is a submit button.When I test this http client i.e the above jsp page independently then it goes to handler
    http://xx.xx.xx.xx:8080/abcdef/trial/    And it gives a proper response message after clicking on the submit button.
    now I want to carry out the same using receiver http adapter. I need to pass the value for this inputfield names "test" on that jsp . so right now I have configyured the adapter as
    addressing type: url
    target host : xx.xx.xx.xx
    service no:8080
    path : here I have given the path of handler i.e /abcdef/trial I tried giving the jsp page also but logically I guess it should be the handler.
    content type: text/xml; charset=iso-8859-1
    xml code: UTF-8
    Mask special characters (URL escaping) checked.
    now since the name of the inputfield is "test" in the prolog I gave test=
    But it doesnt work I get this error "http request parameter [test] is null" in the response message  which I guess suggests that it is not able to send the value for the field"test" to that handler.Please suggest how to send this and tell me if there are any other configurations that I have to do in the receiver communication channel.
    Thanx ,
    Akshata

  • 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

  • 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

  • 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.

  • Header Fields in HTTP Adapter

    Hi,
    Can anyone please explain meaning of "Header fields in HTTP adapter" ? It has "Name" and "Value" fields in the receiver HTTP channel.
    If I enter values like:
    Name                         Value
    Source                        XYZ
    Destination                  ABC
    Where will these appear in outbound HTTP post ?
    Also, is this different from "HTTP Header Fields" checkbox available in "Adapter specific message attributes" section ?
    Thanks
    Bhaven

    > Also, is this different from "HTTP Header Fields" checkbox available in "Adapter specific message attributes" section ?
    You use this, when you want to have dynamic header fields. You put here a key, but instead of a value you put a parameter name, which can be filled with a value during mapping runtime.
    Regards
    Stefan

  • HTTPS in Receiver HTTP adapter

    Hi ALL,
    I have a HTTP receiver scenarion..i.e The interface is XML over HTTPS..
    Can we do HTTPS in receiver HTTP adapter ..how to do the SSL for this in Receiver HTTP channel because when i check the receiver HTTP adapter ..i don't find any setting for HTTPS on tht ..
    Thanks
    Souz

    prateek ,
    thanks for the reply ...
    You mean to say ..i have to select addressing type "HTTP Destination" and in the HTTP destination input files mention the RFC destination of type G..?
    Provide the SSL details there u2026 where can I provide this.. ?
    thanks
    Souz

  • HTTPS on Receiver  Http Adapter

    Hi ,
    In the http receiver adapter , if i'm using 'https' communication where do i specify that . Is it in the RFC destination of type 'G' . I also read in some places that i would have to do that in the Receiver Agreement . But i think the security options in the Receiver Agreement are meant for adapters - XI, SOAP, Mail, or CIDX and i couldn't find anything for http.
    Is there any need to specifiy it in the adapter . And in the RFC destination we would be giving the host name , port and the path prefix string . Do i have to activate the SSL option there, is that all thats needed to make sure that the receiver http adapter sends the message out via http.
    PS. I've already enabled the SSL on my server in the abap stack .
    Thanks & Regards,
    Rahul

    Hi Rahul,
    Yes, you need to make the SSL option in the G type connection active, if authentication is via certific you can select there itself.
    Thanks,
    Srini

  • Using Receiver HTTP Adapter ?

    Hi,
    Is it possible to call the Mail service using receiver HTTP Adapter?
    Appreciate your help...
    Thanks,
    kumar.

    Hi,
    If we are using the multi mapping, Is it possible to call Mail service using SOAP receiver adapter & IDOC has sent parallely..
    Correct me if i'm wrong...
    Thanks,
    vasanth.

  • How to configure HTTPS in the receiver HTTP adapter ?

    Hi Guys,
    How to configure HTTPS in the HTTP receiver adapter and where i need to mention the QOS=BE in the receiver adpter.
    any suggestions or help would be appreciated
    Thanks,
    Srini

    You would need make sure that SSL is enabled on the ABAP stack . I rememver seeing a blog on SDN that shows how this is to be done.
    Once you have SSL enabled in the ABAP stack ( you would also need to install the cryptographic libraries as a part of this exercise) , you would be able to use HTTPS and also provide the necessary digital certificates etc.
    I have tried this with SOAP adapters etc but havent with the HTTP adapter but I dont see why this should be any different.
    Regards,
    Bhavesh

  • How to configure message retries?

    I would like know how to configure automatic message retries.
    Below is the scenario,
    I have a flow that accepts XML files using File Adaptor. This File adaptor is connected to a DB adaptor. As soon as I feed File Adaptor with an XML file, it will be inserted into a database table. At some point if the database server is busy, it may not accept this incoming call. I want DB adaptor to retry these messages automatically n number of times. Where do I set this retry value?
    Thanks,
    -vena

    Hi.
    You can try the following:
    1 - If using BPEL:
    In the dbadapter partner link configuration, go to the property tab, and add the properties retryMaxCount and retryInterval. They will appear in your bpel.xml file
    2 - If using ESB, your routing service must call the DBAdapter synchronously.
    Then, in the ESB cosole, under tab Properties for the DBAdapter, add RetryCount and RetryInterval from the list.

  • How to configure message archieving in PI 7.1 / 7.11 ?

    Hi,
    I would like to configure message archieving in PI 7.11. Please advise on the any document / help that explain the step.
    Thank You and Best Regards
    Fernand Lesmana

    The following guide explaing the step-by step procedure-
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/402fae48-0601-0010-3088-85c46a236f50&overridelayout=true
    Also, the following links/notes might be usefull-
    http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417200)ID1506029250DB00994126813914143097End?blog=/pub/wlg/12811
    Note 836092 - Archiving/deleting work items in the XI
    Note 872388 - Troubleshooting Archiving and Deletion in XI 3.0 / PI 7.0
    I think there is no difference in archival setup procedure with PI7.1 and its same as it is in PI7.0

  • Error Transmitting the message to endpoint -Received HTTP response code 401

    Hello Experts,
      I am having a SOAP to Proxy scenario. We are using HTTPS without client Authentication.
    Everything is running fine and well set on DEV system. After transporting to Test system, i am getting error as :
    Error Transmitting the message to endpoint http://host:port/sap/xi/engine?type=entry using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Received HTTP response code 401 : Unauthorized.
    I get HTTP 200 Ok response in my soap client but the message is not reaching to Integration Engine. It is failing with above error. On CC monitoring for SOAP adapter it shows call completed successfully. But when I use the mesage ID from CC monitoring in Message monitoring i get the error as  shown above in Audit log.
    I have checked for Roles attached to my user on DEV and Test systems , I have same roles on both systems.
    Any inputs to solve this problem will be very helpful to me. Let me know which service users i need to check for this issue?
    Thanks in Advance,
    XI Queries.

    Hi Pinang,
    Thanks for input.
    1) Check Role -SAP_XI_APPL_SERV_USER is there in XIAPPLUSER or not.
    ->Done. Its Ok.
    2) check tyour port entry is like J2EE port 5<System no> or not.
    ->Done. Its Ok.
    3) If the error in Adapter Engine
    then have a look into SAP note- 821026, Delete the Adapter Engine cache in transaction SXI_CACHE Goto --> Cache.
    ->This note refers in case it happens with high load. I am just sending a small request and no one else is using / testing this interface. So no high load.
    4) Check password for user XIISUSER
    -> Basis team said they checked for all Xi users and they are not locked.
    5) Check password for user XIAFUSER
    -> Basis team said they checked for all Xi users and they are not locked.
    Any other hints will be helpful.
    Kind Regards,
    Xi Queries.

  • How to configure Message bridge

              Hi,
              I am trying to setup a JMS Message Bridge for prove of concept purpose in Weblogic
              7.0. Here is my configurations from config.xml:
              <JMSBridgeDestination
              AdapterJNDIName="eis.jms.WLSConnectionFactoryJNDIXA"
              ConnectionFactoryJNDIName="weblogic.jms.testConnectionFactory"
              ConnectionURL="t3://localhost:7001"
              DestinationJNDIName="examples.queue2" Name="LocalBridge"
              UserName="kyang" UserPassword="{3DES}2LeceOSYOaRuCvrFshnBZg=="/>
              ConnectionFactoryJNDIName="weblogic.jms.ClientConnectionFactory"
              ConnectionURL="t3://localhost:7001"
              DestinationJNDIName="examples.queue1"
              Name="MQWeblogicDestination" UserName="kyang"/>
              <JMSConnectionFactory DefaultDeliveryMode="Persistent"
              DefaultTimeToDeliver="200" DefaultTimeToLive="1000"
              JNDIName="weblogic.jms.ClientConnectionFactory"
              LoadBalancingEnabled="false" MessagesMaximum="100"
              Name="ClientConnectionFactory" OverrunPolicy="KeepNew"
              ServerAffinityEnabled="false" Targets="examplesServer"/>
              <JMSConnectionFactory DefaultDeliveryMode="Non-Persistent"
              DefaultTimeToDeliver="200" DefaultTimeToLive="1000"
              FlowControlEnabled="false"
              JNDIName="weblogic.jms.testConnectionFactory"
              Name="testConnectionFactory" OverrunPolicy="KeepNew" Targets="examplesServer"/>
              <MessagingBridge Name="MyMessaging Bridge" Selector="*"
              SourceDestination="LocalBridge"
              TargetDestination="MQWeblogicDestination" Targets="examplesServer"/>
              I used a test client get InitialContext with url:"t3://localhost:7001" and send
              the message to "examples.queue2" which is "MyJMSQueue".
              From the monitor screen I found the message was put on "MyJMSQueue" but the message
              was nerver delieveried to the "examples.queue1".
              From the log, I got following message:
              <Jun 20, 2002 10:05:53 AM CDT> <Info> <MessagingBridge> <200012> <Bridge "MyMess
              aging Bridge" suceesfully found the two adapters configured for it.>
              Do you have any suggestions?
              Thanks a lot!
              

    Don't worry about the log messages about
              "comp/env/wls-connector-resref".
              It is not a problem for the Messaging Bridge feature.
              The real problem is that you have an invalid selector for the
              MessagingBridge. A bridge selector has the same syntax as a JMS message
              selector. As you can see from the JMS specification, a message selector
              syntax is based on a subset of the SQL92 conditional expression syntax.
              I would suggest you try the bridge feature without any selection first
              and add the selector later.
              Dongbo
              Kenny Yang wrote:
              >
              > Mr.Xiao,
              > Thanks! Things are getting better after I made changes according to your suggestion.
              > Now the status is showing: Forwarding Messages. But I still have following exceptions
              > from the logging window:
              >
              > <Jun 20, 2002 1:38:50 PM CDT> <Info> <MessagingBridge> <200020> <Bridge "MyMessa
              > ging Bridge" is stopped.>
              > <Jun 20, 2002 1:38:55 PM CDT> <Info> <MessagingBridge> <200033> <Bridge "MyMessa
              > ging Bridge" is getting the connections to the two adapters.>
              > <Jun 20, 2002 1:38:55 PM CDT> <Info> <Connector> <190011> <Unable to locate cont
              > ext: java:/comp/env/wls-connector-resref>
              > <Jun 20, 2002 1:38:55 PM CDT> <Info> <Connector> <190010> <Unable to determine R
              > esource Principal for Container Managed Security Context.>
              > <Jun 20, 2002 1:38:55 PM CDT> <Info> <Connector> <190011> <Unable to locate cont
              > ext: java:/comp/env/wls-connector-resref>
              > <Jun 20, 2002 1:38:55 PM CDT> <Info> <Connector> <190010> <Unable to determine R
              > esource Principal for Container Managed Security Context.>
              > <Jun 20, 2002 1:38:55 PM CDT> <Info> <Connector> <190035> <There was/were 1 phys
              > ical connection(s) created with the following Meta Data: Product name of EIS ins
              > tance: Java Messaging Service Product version of EIS instance: 1.0.2 Maximum num
              > ber of connections supported from different processes: 0 User name for connectio
              > n: kyang>
              > <Jun 20, 2002 1:38:55 PM CDT> <Info> <Connector> <190011> <Unable to locate cont
              > ext: java:/comp/env/wls-connector-resref>
              > <Jun 20, 2002 1:38:55 PM CDT> <Info> <Connector> <190010> <Unable to determine R
              > esource Principal for Container Managed Security Context.>
              > <Jun 20, 2002 1:38:55 PM CDT> <Info> <MessagingBridge> <200031> <Bridge "MyMessa
              > ging Bridge" is configured to allow degradation of its quality of service in cas
              > es where the configured quality of service is not reachable.>
              > <Jun 20, 2002 1:38:55 PM CDT> <Info> <MessagingBridge> <200030> <Bridge "MyMessa
              > ging Bridge" is configured to work in "Atmost-once" mode and it is actually work
              > ing in "Atmost_once" mode.>
              > <Jun 20, 2002 1:38:55 PM CDT> <Info> <MessagingBridge> <200028> <Bridge "MyMessa
              > ging Bridge" starts transferring messages.>
              > <Jun 20, 2002 1:38:55 PM CDT> <Info> <MessagingBridge> <200026> <Bridge "MyMessa
              > ging Bridge" encountered some problems to one of its adapters or underlying syst
              > ems. It stopped transferring messages and will try to reconnect to the adapters
              > shortly. (Exception caught was java.lang.reflect.UndeclaredThrowableException)
              > java.lang.reflect.UndeclaredThrowableException: java.lang.reflect.InvocationTarg
              > etException: javax.resource.ResourceException: Error creating asynchronous consu
              > mer or setting message lisenter
              > at weblogic.jms.adapter.JMSBaseConnection.throwResourceException(JMSBase
              > Connection.java:1086)
              > at weblogic.jms.adapter.JMSBaseConnection.setMessageListenerInternal(JMS
              > BaseConnection.java:984)
              > at weblogic.jms.adapter.JMSBaseConnection.setMessageListener(JMSBaseConn
              > ection.java:892)
              > at weblogic.jms.adapter.JMSConnectionHandle.setMessageListener(JMSConnec
              > tionHandle.java:121)
              > at java.lang.reflect.Method.invoke(Native Method)
              > at weblogic.connector.common.internal.ConnectionWrapper.invoke(Connectio
              > nWrapper.java:92)
              > at $Proxy131.setMessageListener(Unknown Source)
              > at weblogic.jms.bridge.internal.MessagingBridge.beginForwarding(Messagin
              > gBridge.java:842)
              > at weblogic.jms.bridge.internal.MessagingBridge.execute(MessagingBridge.
              > java:922)
              > at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
              > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
              > >
              >
              > where can I get the context:"comp/env/wls-connector-resref"?
              

  • Need help for Adapter Specific Message Attributes in Receiver Email Adapter

    We want to use Adapter Specifice Message Attributes(ASMA) in Receiver Email Adapter for sending the mails dynamically, and to set the CC and BCC. I have gone through the help give in <a href="http://help.sap.com/saphelp_nw04/helpdata/en/a5/1b5342d8a7be30e10000000a155106/frameset.htm">SAP Help</a>
    not clear how to use it. Please help to configure this.Any blogs?
    with regards,
    Ravi Siddam

    Hi Kumar,
    This blog explains about using 'Mail Package' option. We have already gone through this link and configured as explianed.  1.it dosen't support CC,BCC and 2. it is old way.
    We are on PI 7.0. It is recommended to use ASMA and in this it is possible to use CC and BCC.
    We don't know how to use ASMA. any help?
    with regards,
    Ravi Siddam

Maybe you are looking for

  • Resetting a mobile client (new device ID)

    Hi, We often experience that mobile clients have to be re-installed due to synchronization problems. Using the Reset feature on the client does not solve the problem so we have to start from scratch each time. First the client is un-installed, a new

  • Find out settings of old installation?

    I have a Oracle 9 RDBMS installed and want to install the same components on a new system. How can i find this out from the old installation? Thank you!

  • Account Assigned PO

    Hi all, I have a requirement such as no accounting documents should be created for an cost centre procurement during the time of goods receipt. Please let me know the process how this can be done. Thanks in advance regards sachin

  • Mapping shipment idoc with XI internal structure.

    Hi, we are sending shipment idoc to PI system, there mapping is required like for each Matnr of EIEDT43 , we need to map with EIEDL24-ARKTX with XI data type structure where material number and Item description field is at same level but in idoc it i

  • Extremely slow scan preview on M175nw

    Team, I have just got my new iMac with 5k display, OS X Yosemite 10.10.1, instaled latest drivers and software from hp.com (5.23.4). The printer is connected via standard USB cable, network is turned off.  When I try to scan something, I launch Image