HTTP receiver adaptor

Hi all,
   I am using HTTP receiver adaptor to connect to an external system.Here I have to pass an Idoc from SAP to one folder in the target host where the application is installed.
     My question is without using FTP adaptor(only with HTTP) can i send this Idoc to The folder in the target?
If yes , What should i give the "path" field in Receiver HTTP adapter? I tried giving the folder name, but it was throwign an error 400.
     I created connection G in XI.I put some xml file (KK.xml) as path  there and tested the connection it was working fine. Could you please help me out with this?
Thanks
Kiran

Hi Kiran,
You are talking about saving a file in the target director using HTTP Receiver adapter... As per my knowledge it is not possible in a straight fwd. The target should be a web application (obviously) which should recieve the data/xml that HTTP adapter is sending and then should save it in the respective directory. XI HTTP adapter will not do that job for sure. When you use HTTP adapter in XI its job is to deliver the message to the given URL thats it. If XI need to save it as a file then its thru File NFS/FTP.
FYI :
HTTP - Hyper Text Transfer Protocol
This can carry only texts but not a file
FTP  - File Transfer Protocol
This is used for transfering files.
If HTTP is mandatory in your scenarion, then then a wep programming to be done at the target end (ASP/ASP.NET/JSP/Servlets/etc..)
Thanks,
Prakash

Similar Messages

  • HTTP Receiver adaptor and query string posting

    What woudl be the configuration of HTTP receiver adaptor in this kind of situation. I added some strings to the Prologue section of the receiver adapter but does not seem to work.
    http://help.sap.com/saphelp_erp2005/helpdata/en/44/79973cc73af456e10000000a114084/content.htm
    I just need to ge the XML body in cmxl = {whole xml body}
    does not work..any help would be highly appreciated

    Hi,
    Pls try this...
    the value in the prologue field should be...
    prologue : "field1=val1&field2=val2&cxml="
    the http body is created by appending prologue with the xml payload and the epilog(if present)...
    also pls make sure that the content-type set in the adapter is correct for your scenario...for example "application/x-www-form-urlencoded" would be the appropriate type for a normal html form post using http.
    Thanks & Regards,
    Renjith

  • Inbound HTTP Servicelink Adaptor

    Original post by Chad Menke.
    I'm  having some trouble getting an inbound HTTP Servicelink adaptor to  work. I wasn't involved in the install or configuration of the server.  How can I find the correct  <rc_host>:<rc_port>/IntegrationServer/ishttplistener?channelID=<channel-id>  or How can I be sure the Server and IIS is configured correctly?
    I'm just trying to do a post from a web page to finish off a task.
    The error I get is "IE cannot display the webpage".
    Peter Lee - Siemens
    10:22am, May 4
    I  don't believe there's any additional configuration required after the  installation of the application, so if it's up and running you should be  okay.  I'm guessing that you were able to send an outbound message to  initiate the post from the web page, which would indicate that  ServiceLink is running.  But this can be confirmed by clicking the  "Check ServiceLink Commnication Status" link on the home tab of the  ServiceLink module.
    Which version of  RequestCenter are you running?  I think this call for 2007 and 2008 are  exactly the same, but good to know just in case.
    I'm  also guessing you have the ServiceLink user guide based on the url you  provided but just in case you don't the following info is provided in  that documentation.  Which is provided on newScale's technical document  website, http://www.newscale.com/techdocs/.  You will need to contact  newScale support to get the username and password in order download  material though.
    <rc_host> is the newScale application server
    <rc_port> is the port on which newScale is listening
    <channel-id> is the channel ID which uniquely identifies the task to be affected
    by the inbound message. Error 503 (Application Error) is returned to the 3rd
    party system if the channelID does not apply to an ongoing task.
          The channel-id is assigned when your external task is initiated and  can be extracted in the outbound message which will need to be saved and  feed back in the inbound message.  Here's an example inbound  transformation to update comments and complete the task.
    <?xml version="1.0" encoding="UTF-8"?>
    <message channel-id="10040532:1271857836239:-32095">
    <add-comments>
    <comment>Sent done action on Tue May 04 14:23:01 EDT 2010</comment>
    </add-comments>
    <take-action action="done">
    </take-action>
    </message>
    Hope this helps,
    Menke
    11:28am, May 4
    We are on version 2008.3
    I'm  able to outbound to a DB and write out files.  I'm trying to use an  HTML Post to end the task, sending back the channel-id.  whan I attempt  to submit all I get back is, "Page can not display" and the task is  still ongoing..  So I'm assuming I don't have the URL correct..
    According to my ServiceLink communication status:
    it's successfull
    it  has a servicelink Communication URL.  I'm using that URL and Port  number as my <rc_host>:<rc_port> followed by  "/IntegrationServer/ishttplistener?channelId=<my_channel_id>".  this is all in that action property of my form tag. 
    when I submit my form all I get is "Internet Explorer cannot display the webpage"
    What am I doing wrong?
    Patti Richards - Dominion Res...
    11:53am, May 4
    Go  to ServiceLink module in Request Center. Click on link that says "Check  ServiceLink communication status" it will give you the fully qualified  Communication URL.  Make sure the server name is the fully qualified  name. It will give you the port # that Service Link is running on. Ours  is 8089.
    We are using the custom HTTPIWA2  newscale HTTP Adapter, which has the nice option of it storing the  channelid, so you don't have to send and worry about receiving it back.
    Peter Lee - Siemens
    12:09pm, May 4
    In  2008.3 there is an option in the administration module to enable and  disable webservices, and the default is set to Off.  Check this value  and see if turning it to "Yes" will fix your issue.  Also not sure if RC  would require a restart for that to take effect, but if your working  dev i'd say try that too just in case.
    Menke
    12:14pm, May 4
    I  tried to follow the link provided by the ServiceLink module but all I  get is "Cannot display the webpage" message.  Does this mean my Server  Admin set up IIS wrong?
    Patti Richards - Dominion Res...
    12:15pm, May 4
    If  you have access to app server in dev, I would pull the server.log file  off /servicelink/log directory.  You might see more information there to  get a better idea what's going on.
    Menke
    12:18pm, May 4
    WebServices is turned on..
    Menke
    4:09am, May 5
    Thank you for your help! I got it figured out.
    Patti Richards - Dominion Res...
    5:51am, May 5
    what was your resolution? Just curious....
    Menke
    6:37am, May 5
    Well..   it's really stupid..  I was being blocked by the firewall...  so I got  the firewall rule removed.. now traffic is being logged.  However my  xsl sheet is erroring or I'm posting with the wrong ENCTYPE.  I'm not  well versed in xsl style sheets.  How do you pull the channel-id from  the post to use in the xsl sheet?
    Menke
    9:21am, May 5
    I'm  throwing Transformation Exception errors everytime I post. I Even cut  and pasted the XSL from above into my inbound transformation. Not sure  what I'm doing wrong.
    Patti Richards - Dominion Res...
    7:08am, May 6
    Can  you go into service link home - under messages pick requisition from  drop down and search on the req number. Then click on the inbound  message and then click on external system message and it will show you  the xml.
    I found a good way to work is to copy  the inbound message to a file. Get XML Spy if you can- i code/debug my  XSL there first to get it working. Then, I paste it into service link  transformations. XML spy will let you work locally applying the xsl.  Much faster development time.
    If you send me  (or attach) your XML- i might be able to help you with the xslt to get  the channel id. I'm not an expert, but have been able to figure out  enough to get the job done.
    Menke
    5:40am, May 7
    ok I've tried to do a manual send message using the done.xml file, this fails resulting in a "invalid nsxml" message
    The Transform code file contains my xsl transformation  and the resulting log entries from the server.
    HELP!
    transformcodeandlogfiles.txt Done.xml
    Allen C
    11:13am, May 10
    The error message you are getting :
    "2010-05-07 07:37:16,130 ERROR [STDERR] SystemId Unknown; Line #1; Column #1; Content is not allowed in prolog."
    Seems  to imply that there may be an invisible character that is being passed  in the XML being sent out. The fact that Line 1, Column 1 would appears  to be the "<" character in your done.xml file, but I would  double-check your transform code to make sure that nothing is being  placed before the character. Even a space will probably cause the XML to  be invalidated. There are strict rules for processing the first line  (the xml declaration) of an xml file.
    You might  want to review the actual xml file output in an editor like notepad ++  (which is free) or some editor which will show ALL character in a file  (even MS Word has an option to do this), just to make sure that nothing  is appearing before the "<" character. Also, verify that the ASCII  representative value of the less than character is correct. Some  characters may look like the less than symbol but could actually be some  other UTF-8 representation. The correct ASCII or UTF-8 value for less  than sign is:
    Unicode: U+003C
    UTF-8 (in hex): 3c
    ASCII (in decimal): 60
    Patti Richards - Dominion Res...
    1:51pm, May 10
    Hey,  I took your done.xml, imported it into my XML Spy. Applied the newscale  schema against it and it validated. (nsxml.xsd). I also applied the XSL  against it, and I got no errors. I don't think the problem is with that  code.
    Just for grins, i called the URL via  passed it a channelId of a message that had failed.
    In our logs, i got a similar message: (but not the prolog stuff)
    2010-05-10 17:39:02,785 ERROR [STDERR] SystemId Unknown; Line #-1; Column #-1; Premature end of file.
    2010-05-10 17:39:02,785 ERROR [com.newscale.is.core.MessageExecutor] Exception Occured :-Premature end of file.
    org.xml.sax.SAXParseException: Premature end of file.
    at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
    at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
    etc.
    If you have YES hours, I would post the question to newscale.
    Menke
    4:12am, May 11
    Thanks guys!  Your right my xsl amd xml were correct. My problem was the Post. I created a javascript function;
    function submitInfo(){
    var httpobj = new activexobject("microsort.xmlhttp);
    httpobj = ("Post","http://<Server>:<port>/integrationServer/ishttplistener?channelId=<channel-id>",false);
    var  strxml = "<?xml version='1.0' encoding='utf-8'?><message  channel-id='<channel-id'><add-comments><comment>blah  blah blah</comment></add-comments><take-action  action='done'/></message>"
    httpobj.send(strxml);
    Worked  like a charm. Sent in the xml message so there is no need for a  Tranformation on the inbound. Plus we can dynamicaly build the xml  message.
    Thank you from looking into this for me though.
    I'm  having some trouble getting an inbound HTTP Servicelink adaptor to  work. I wasn't involved in the install or configuration of the server.  How can I find the correct  <rc_host>:<rc_port>/IntegrationServer/ishttplistener?channelID=<channel-id>  or How can I be sure the Server and IIS is configured correctly? I'm  just trying to do a post from a web page to finish off a task. The error  I get is "IE cannot display the webpage".

    Hi Kiran,
    You are talking about saving a file in the target director using HTTP Receiver adapter... As per my knowledge it is not possible in a straight fwd. The target should be a web application (obviously) which should recieve the data/xml that HTTP adapter is sending and then should save it in the respective directory. XI HTTP adapter will not do that job for sure. When you use HTTP adapter in XI its job is to deliver the message to the given URL thats it. If XI need to save it as a file then its thru File NFS/FTP.
    FYI :
    HTTP - Hyper Text Transfer Protocol
    This can carry only texts but not a file
    FTP  - File Transfer Protocol
    This is used for transfering files.
    If HTTP is mandatory in your scenarion, then then a wep programming to be done at the target end (ASP/ASP.NET/JSP/Servlets/etc..)
    Thanks,
    Prakash

  • PI 7.11 - Sync HTTP receiver adapter with response XML file

    Hi
    We have a File to HTTP scenario in which we need a sync HTTP interface. We send a file to the HTTP address and receive a XML acknowledge. As I read in this forum: sync HTTP interfaces are not possible with the "standard" HTTP adapter. So I found an entry which recommended to use the SOAP adapter instead.
    I configured it:
    - Do Not Use SOAP envelope
    - modules: RequestResponseBeans, CallSapAdapter, ResponseOneWayBean
    If i use this scenario, i get following error in the RWB - Message Display Tool:
    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.lang.NullPointerException: while trying to invoke the method com.sap.engine.interfaces.messaging.api.Message.getMessageId() of an object loaded from local variable 'message1'.
    I testet this scenario using CURL and it worked properly. Should this kind of scenario work with the SOAP adapter or do I need to buy/develop an own adapter? Is in NW7.3 possible to configure sync HTTP scenarios?
    Thanks in advance
    Michael

    Hi
    actually i use a simple HTTP receiver CC with the setting "XI Payload in HTTP Body" to send a XML datafile to a webpage (java servlet). This part works fine by now. But, this servlet would also send back a status information to the state of the received datafile, which I like to catch.
    e.g. HTTP response from the servlet (catched using CURL):
    HTTP/1.0 403 Forbidden
    Server: Apache-Coyote/1.1
    X-Powered-By: Servlet 2.4; JBoss-4.3.0.GA (build: SVNTag=JBPAPP_4_3_0_GA date=200801031548)/Tomcat-5.5
    Set-Cookie: JSESSIONID=OALHMomjR9TVgIATi8SrPQ**.ajp13_ls_1; Path=/ls
    Content-Type: text/xml
    Date: Tue, 06 Mar 2012 16:19:56 GMT
    X-Cache: MISS from proxy.xxxx.com
    Via: 1.0 proxy.xxxx.com:xxxx (http_scan/4.0.2.6.19)
    Proxy-Connection: close
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?><!DOCTYPE transportordersfromls [ <!ELEMENT transportordersfromls (userid, clntid, msgid, (transportorderfromls+ | error))> <!ATTLIST transportordersfromls vers CDATA #REQUIRED> <!ELEMENT userid (#PCDATA)> <!ELEMENT clntid (#PCDATA)> <!ELEMENT msgid (#PCDATA)> <!ELEMENT transportorderfromls (refid, status)> <!ELEMENT refid (#PCDATA)> <!ELEMENT status (ok | error+)> <!ELEMENT ok EMPTY> <!ELEMENT error EMPTY> <!ATTLIST error reason (XMLError | SystemNotAvailable | ApplicationError | OTHER) #REQUIRED message CDATA #REQUIRED> ]>
    <transportordersfromls vers="1.0">
        <userid/>
        <clntid>XXXXX</clntid>
        <msgid>0</msgid>
        <error reason="OTHER" message="Access denied"/>
    </transportordersfromls>
    Michael

  • Assign a dynamic value to a field in HTTP receiver header without IR part

    hi experts,
        I am doing a scenario in which i am to add a header  field in http receiver, whose value will vary for each transaction. and the value will be same as sender file name.
    But this all I am to do without doing Repository part.(i.e. No message interface and no mapping)
    Is it possible?  If yes help me out.
    "Useful effort will be appreciated"....
    Thanks

    Hi Jaideep,
       Hpoe the below link will help you.
    Dynamic Configuration of Some Communication Channel Parameters using Message Mapping
    Regards,
    Leela

  • Not able to see 'Adapter specific' indicator in http receiver comm. channel

    I am not seeing the Adapter Specific Message attributes indicator in http receiver adapter where one can set a dynamic URL. Anybody any idea? Thanks.

    I have a fixed URL except that it should be formed with https instead of http. I guess the default http is used as there is no where in the communication channel to select https. I am able to invoke the https url through browser but through http receiver adapter, I get error 'http client code 110 reason'. I see in other blogs that this is due to https not enabled in the J2EE engine. But for outbound why should that matter? As long as the target URL is set to accept https, I should be able to sent the message as long as the URL gets formulated starting with https. If it was SOAP adapter, the entire URL can be entered so no issue, but with http adapter is there a way to specify entire URL including the https:// ? Thanks.

  • HTTP Receiver Adapter - delete ?xml version="1.0" encoding="UTF-8"?

    Hi,
    Is it possible to delete the part below when sending an HTTP request through HTTP receiver adapter without any java/abap/xslt mapping?
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_SELL xmlns:ns0="http://test.com/Sell">
    Thanks
    Arman

    Hi,
    <?xml version="1.0" encoding="UTF-8"?>
    Specifies that the given message is xml
    <ns0:MT_SELL xmlns:ns0="http://test.com/Sell">
    Specifies its a MessageType of the payload, without this that message is not identifies and is not processed. Its manditory to have these. Other wise error will raise.
    Regards,
    Prasanna

  • Manipulate the URL in HTTP receiver adapter possible?

    hello together,
    i have an HTTP receiver adapter. To the parameters which i can tick in XI as default (sender  party, sender service, ....) i want to add some parameters too.
    who can i do that? i have read the weblog from william li. i tried to change the parameter link the comments at the end of the blog (see kurt rasmussen) but nothing happend..... the parameters are not available....
    can somebody help me?
    thanks a lot
    alex

    hello michal,
    yes, i did. i took the information from http://help.sap.com/saphelp_nw04/helpdata/en/43/64dbb0af9f30b4e10000000a11466f/content.htm and tried to put some special information to URL. nothing to see.
    is it mandatory to use a mapping to fill the URL parameter fields, isn't it??
    i am using a port sniffer to see the URL and the fields (parameters) in it.
    thanks a lot.
    alex

  • HTTP Receiver interface returns with error code 110

    Hi All,
    We are posting the document from XI to a external server as HTTPS request.
    We are able to sucessfully post the request to external server using HTTP destination as address type but not able to post sucessfully with URL as address type.
    Here goes the details -
    We are able to post the HTTPS request successfully on the external server using the HTTP destination as address type in HTTP receiver adapter setup.
    When we setup address type as HTTP destination , we need to provide the following details -
    IN SM59 , Connection type G
    Target Host : host name (  with out "https://"  as prefix)
    Service No : 443
    Path prefix : query string
    SSL : Active
    Certificate : Select the certifacte from the client certificate list.
    We can post the request to external server using URL as address type in HTTP receiver adapter setup.
    When we setup address type as URL , we need to provide the following details -
    Address type : URL Address
    Target Host : host name (  with out "https://"  as prefix)
    Service Number : 443 ( HTTPS port setup on XI)
    Path : query string.
    When we post the same request as we did with HTTP destination as Address type , we are getting a HTTP response code as failure HTTP response code 110
    Please find the details about the return code -
    If a cache returns a stale response, either because of a max-stale directive on a request, or because the cache is configured to override the expiration time of a response, the cache MUST attach a Warning header to the stale response, using Warning 110 (Response is stale).
    110 Response is stale
    MUST be included whenever the returned response is stale.
    Please find the error message from SXMB_MONI
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIAdapter</SAP:Category>
      <SAP:Code area="PLAINHTTP_ADAPTER">ATTRIBUTE_CLIENT</SAP:Code>
      <SAP:P1>110</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>HTTP client code 110 reason</SAP:Stack>
      <SAP:Retry>N</SAP:Retry>
      </SAP:Error>
    Please let me know if some one has faced this issue.
    Regards,
    Reddy
    Edited by: Nanda kishore Reddy Narapu Reddy on Mar 11, 2008 12:35 PM

    Hi All,
    Is some one can confirm that - We can use HTTPS with Address type as URL address in HTTP receiver adapter setup.
    I can confirm that using HTTP destination as Address type in HTTP receiver adapter setup we can attain HTTPS communication with external server.
    If some one who has tried HTTPS communication using HTTP receiver adapter using URL address as Address type can guide me what are the steps need to be done.
    Address type is a parameter in HTTP adapter setup .
    Regards,
    Reddy

  • HTTP Receiver Adapter

    Hi,
    I am working on a scenario, where I am posting xml message on https url, for which I am using HTTP receiver adapter.
    I have created RFC destination of type 'G' in sm59 to make an https call, where I have provided following details:
    In Technical Settings:
    Target Host - <Hostname>
    Service No. - 443
    Path Prefix - <url path>
    Logon Security:
    SSL - Active
    SSL Client Certificate - Default SSL Client (Standard)
    UserName - <Username>
    Password - <Password>
    I have used this RFC destination in 'HTTP Destination' of HTTP receiver adapter.
    When I test this interface, I am getting this error.
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIAdapter</SAP:Category>
      <SAP:Code area="PLAINHTTP_ADAPTER">ATTRIBUTE_CLIENT</SAP:Code>
      <SAP:P1>110</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>HTTP client. Code 110 reason</SAP:Stack>
      <SAP:Retry>A</SAP:Retry>
      </SAP:Error>
    Can you please help me resolve this issue. Please let me know, if I am following the right steps.
    Thanks in advance
    Regards,
    Amit

    Hi -
    Since you're using the http destination option in the channel, you just specify the user/pwd in the destination.
    Regarding the issue, first, for the Logon/Security option in the destination, unless you'll be using a client certificate to authenticate, you should choose option ANONYM SSL Client (Anonymous) - you still provide the user/pwd in the Logon section.  Make sure you have imported the root cert of the CA verifying the server's identity into the client certificate list within STRUST (node SSL Client (Anonymous)).
    Also, for some hints on the issue, look at the ICM trace - tcode SMICM->Goto->Trace File...     you may need to increase the trace level - SMICM->Goto->Trace Level...    After resolving the issue, make sure to set the trace level back to default.
    Regards,
    Jin

  • HTTP RECEIVER QUERY

    hello everyone,
    I have to develop a synchronous scenario, SOAP Sender to HTTP Receiver.
    Soap sender will be passing suppose 2 fields Name and Employeeid and the Http receiver will be replying back the 
    response with entire employee details (name, id, address, dateofbirth, etc).
    Http receiver has to be accessed via a URL like 
    https://abc.com/test/servlet/ServletInterface?command=getdetails&emp_name=<Name>&emp_id=<Employeeid>
    This is an https request, henc an RFC destination needs to be configured in XI and SSL has to be activated but how will i add the parameters Name and Employeeid to the URL mentioned in the RFC destination.
    i went through many blogs on SDN, but i could not figure out how to append the URL mentioned in the Http Destination. Is it possible to do dynamic configuration with SSL enabled.
    i tried passing URL https://abc.com/test/servlet/ServletInterface?command=getdetails in the HttpDestination and also configured a mapping for dynamic configuration but with no success.
    please let me know if i am on the right track. if not please suggest.
    thanks in advance.
    Edited by: praveen kalwa on Feb 22, 2008 1:33 PM

    Hi,
    XI supports only PUT method of http request. While adding parameters to the addr string is considered as a GET method.
    Refer following blog in this regard.
    /people/amol.joshi2/blog/2006/06/28/must-fire-a-http-get-from-xi---try-this
    -Kavita

  • Http receiver channel works fine. SM59 gives an error

    Hi,
    I've set up HTTP receiver communication channel with the following details:
    addressing type       : URL address
    target host                : cl-test.zzzz.nl
    service number        : 20212
    path                          : /zz/servlet/runHXML?site=sap&thread=something
    authentication data   : use logon for NON sap system.
    When i send a message it arrives at the receiver side, and i get "succesfully processed" in the sxmb_moni.
    I want to use addressing type HTTP destination instead of URL address so i created an HTTP destination (type G) in SM59 with the same details.
    But when i perform the connection test i get an Internal Server Error
    (~response_line  HTTP/1.1 500 Internal Server Error)
    I tried replacing the target hostname with the ip-address, but still the same response.
    What can be wrong?
    Kr
    Robert

    Hello Robert,
    When you try to test the HTTP destination in SM59, XI send a HTTP Post to the target system but with no payload.
    In your case I assume that the Target System cannot process this message and hence triggers a Internal server Error - HTTP 500.
    Can you use this HTTP destination and try to test the working scenario end to end. This should work.
    Regards,
    Bhavesh

  • How to set HTTP header field "cookie" with http receiver adapter?

    Hi,
    I am using http receiver adapter (not axis) in a scenario. I could not set a parameter with key cookie in http header. Is there some kind of restriction to set it? I am able to set others like connection and create custom fields using ASMA and dynamic key configuration via UDF on mapping.
    Could you please comment on, is cookie http parameter special or noneditable by PI's http adapter? I am looking for a solution without editing any abap code...
    Regards,

    I believe it is possible since axis adapter provides very same functionality. Let me summarize my scenario may be it helps:
    I am trying to call series of webservice lets say in a BPM. First service (login service) will provide me with a session id (in http header with key Set-Cookie) then I will call another service which has that session id in its http header with key cookie then I am going to logout. So I am testing the second part now, but it doest let me send cookie http header parameter.
    I hope I clarified a bit more my problem.
    Regards,

  • HTTP receiver Adapter configuration

    Hi All,
    I want to post an XML message using HTTP Receiver Adapter for my BPM scenario (Idoc to HTTP service)
    The receiver has Oracle gateway and it expects message in following format.
    HTTP Header
       Http–Version: HTTP/1.1
       Authorization: Digest username=”myusername”,
                             realm=”[email protected]”,
                             nonce=”dcd98b7102dd2f0e8b11d0f600bfb0c093”,
                             uri=”/dir/index.html”,
                             qop=auth,
                             nc=00000001,
                             cnonce=”0a4f113b”,
                             response=”6629fae49393a05397450978507c4ef1”,
                             opaque=”5ccc069c403ebaf9f0171e9517f40e41”
                             Content–length: 12345
                             Content–type: text/html
    HTTP Body
       TRANSPORT_PROTOCOL=OXTA
       TRANSPORT_PROTOCOL_VERSION=1.0
       REQUEST_TYPE=SEND
       MESSAGE_ID=A1234567890ZZ0987654321
       MESSAGE_TYPE=XML
       MESSAGE_STANDARD=OAG
       TRANSACTION_TYPE=PO
       TRANSACTION_SUBTYPE=PROCESS
       DOCUMENT_NUMBER=12345
       PARTYID=9999
       PARTY_SITE_ID=8888
       PROTOCOL_TYPE=HTTPS–OXTA
       PROTOCOL_ADDRESS=HTTPS://www.me.com/servlets/oracle.ecx.oxta.
       transportAgentServer
       USERNAME=myusername
       PASSWORD=myloginpassword
       ATTRIBUTE1=
       ATTRIBUTE2=
       ATTRIBUTE3=
       ATTRIBUTE4=
       ATTRIBUTE5=
       PAYLOAD=<xml ... ...>
    I think this is not a typical HTTP URL type of format, is it?
    And I am not sure how I can build the message. Where do I put the parameters like TRANSPORT_PROTOCOL, TRANSPORT_PROTOCOL_VERSION, REQUEST_TYPE etc in the HTTP adapter?
    Also is there any place where I can see the final actual XI message that is sent to HTTP service?
    Any help will be really appreciated.
    Thanks and regards,
    Rahul.

    Hi Rajeev,
    The receiver system should have the details about the content type it expects. I got that from the team who monitors our receiver system.
    The HTTP Body of HTTP adapter is made up of PrologPayloadEpilog.
    So I added the paramter list that receiver system expects as part of the Prolog. Refer to the HTTP body that I have posted in my earlier message. Out of that till ".....Payload=" is added to Prolog and XI then appends actual payload to it.
    To be precise -
    TRANSPORT_PROTOCOL=OXTA&TRANSPORT_PROTOCOL_VERSION=1.0&MESSAGE_TYPE=XML&MESSAGE_STANDARD=UNIVERSAL&TRANSACTION_TYPE=XXXE&TRANSACTION_SUBTYPE=ORDER_I&DOCUMENT_NUMBER=PO12345&PARTY_SITE_ID=ESAP_ORDER_I&USERNAME=***&PASSWORD=**&PAYLOAD=
    So in the end it worked out well.
    Cheers,
    Rahul.

  • Remove namespace alias for HTTP receiver adapter

    hello all,
    I have a scenario, IDOC->XML (HTTPS). Standard output of PI has ns0: as prefix for each xml tag (ns0 alias for namespace)
    I want to remove the namespace alias while preserving the namespace in the output. So removing namespace reference in external definition is not a option.
    Is there any way to use XMLAnonymizerBean for HTTP receiver adapter? What are other alternatives (java mapping)?
    Thanks,
    sachin

    Thanks stefan, prateek.
    Prateek: I checked this blog earlier. It talks about inbound processing. My scenario is outbound HTTP and I am not sure how I can use specific adapter service as mentioned in blog in outbound case as other scenarios are using standards adapter_plain service.
    Stefan: I will try this approach.
    regards,
    sachin

Maybe you are looking for

  • HT4943 I was charged a fee for a magazine for which I had a subscription.  How do I dispute the charge to get a refund?

    How do I get a refund?  I have a subscription to the Men's Health magazine, and went to download the new issue, but instead was charged twice for the new magazine and for re-downloading a previous issue, which was covered by my subscription.

  • Noise on SCXI 1300 but not 1303

    I have been having an intermittent noise issue isolated to my SCXI 1300 and specifically to one input signal (CO2 Analyzer).  The erractic behavior goes away when I connect the signals to the SCXI 1303.  The signal that is giving me a problem on the

  • Trouble Installing Adobe Reader on Yosemite

    Mostly as the title says; I've tried multiple times now but I just can't seem to get Adobe Reader to install successfully on Mac OS X Yosemite since clean installing it. The installer .dmg itself downloads fine at around 2mb, and it opens and runs as

  • Can't get past OCX error when installing ODAC 11g on Windows Server 2003

    I have been trying to install ODAC 11g on Windows Server 2003 and can't get past the OCX error when registering oravsdbgeng11w.dll. I've read every message on this forum even remotely related to this problem and tried every solution offered. I have d

  • My Pc doesn't wake up from standby (845PE Max2)

     Hi,  I have Windows Xp Pro installed and when I stand by my computer I can't get it to wake up successfuly. The PC is powered up when I press the power button, but I don't get any video signal or USB power (both my keyboard and mouse are connected t