HTTP Receiver Configuration
Hi Experts,
In my Business Scenario I am using the HTTP Receiver Adapter with "Additional Query String Attributes" for adding up the "MessageID" in the HTTP Header(I am not sure whether it will be added there).. and the adapter sends the HTTP data to a URL, where there is a JSP program which takes out the Message ID and stores the data with ID as key in a dataBase.
My Quesiton is - Is their any chance to override the MessageID in the HTTP Header?
And also please refer some documents where can I find the detailed information on "HeaderFields" section in Receiver HTTP adapter... and also how can I see the HTTP Header data which is generated by XI system...
Thanx in advance..
hi
u can see the Header data in SXMB_MONI transaction.
select the IDOC and u can see the complete IDOC information with payloads ,header information,error information for both Inbound and outbound.
Similar Messages
-
Advanced HTTP Receiver Configuration
Hi Experts,
In my Business Scenario I am using the HTTP Receiver Adapter with "Additional Query String Attributes" for adding up the "MessageID" in the HTTP Header(I am not sure whether it will be added there).. and the adapter sends the HTTP data to a URL, where there is a JSP program which takes out the Message ID and stores the data with ID as key in a dataBase.
My Quesiton is - Is their any chance to override the MessageID in the HTTP Header?
And also please refer some documents where can I find the detailed information on "HeaderFields" section in Receiver HTTP adapter... and also how can I see the HTTP Header data which is generated by XI system...
Thanx in advance..Hi Yuvaraj
Is their any chance to override the MessageID in the HTTP Header?
You can using the Header fields. Add values here
how can I see the HTTP Header data which is generated by XI system..
You can go to SMICM change the trace level to 3 and you can see messages going out of PI.
Thanks
Gaurav -
Receiver HTTP channel configuration
Experts
I am doing Proxy to HTTP scenario.
My receiver had given the HTTP URL whcih looks this : http://10.1XX.X.XXX:6666/IntegrationServices/Test
In my receiver HTTP communcation channel , Its asking for the following
Target Host
Service
Path Prefix
Can I fill in target host as : 10.1XX.X.XXX
service number : 6666
path prefix as : IntegrationServices/Test
Can anyone please tell me how to fill the CC parameters.
I had referred lot of threads and blogs
Thanks
FaheemHi Patrick
I had checked the blog as per suraj recommendations. It doesn't help.
Is there any pre settings has to be done for HTTP receiver configuration like defining RFC or any entries in ICM server
Please throw some light on this. still i am getting the same error.
<?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="1">
<SAP:Category>XIAdapter</SAP:Category>
<SAP:Code area="PLAINHTTP_ADAPTER">ATTRIBUTE_CLIENT</SAP:Code>
<SAP:P1>400</SAP:P1>
<SAP:P2>ICM_HTTP_CONNECTION_FAILED</SAP:P2>
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>HTTP client code 400 reason ICM_HTTP_CONNECTION_FAILED</SAP:Stack>
<SAP:Retry>A</SAP:Retry>
</SAP:Error>
Thanks
Faheem -
HTTP Receiver without charset in SP18
Hi,
I have a scenario, in which I am sending data to external server using HTTPS Receiver.
In configuration I have following values :
1) Content Type: multipart/mixed; boundary=BOUNDARY
2) XML Code ( charset) : UTF-8
With these settings XI message is going to external server.But external server is not processing the message correctly because it <i>expects XI message <b>without</b> "charset"</i> (XML Code configuration in XI)
In HTTP receiver configuration XML Code(charset) configuration is mandatory. I tried to put other charset values. But as external server expects messages without charset, it is not working.
BTW, this same communication channel was working OK when we had SP14. we recently had our system upgraded to SP19 and it stopped working. On researching found charset is the problem. I sent same payload to the external server using another HTTP client without charset and it is working ok.
Is there any way we can configure HTTPS Receiver ( in SP18 ),so that we can send payload to extenal server without charset (XML Code) value.
Any input/pointers will be greatly appreciated.
-VenuHi Venu,
Install note 1038911 in your system.
The note is not translated to english yet, but it should work anyway.
Regards
Stefan -
HTTP receiver adapter: dynamic configuration
I was told that if I have a URL and some parameters, I can use a sync HTTP receiver adapter to call a site.
I know this can be done using some kind of dynamic configuration, but I am not familiar with this adapter.
The most important question here is that I need to know if this can be done throw PI, so my question is:
Is there a parameter limit in the HTTP adapter? If so, what is the quantity of parameters that I can give to the adapter?for the ASMA parameters you can use for the HTTP receiver adapter check
Configuring the Receiver Plain HTTP Adapter - http://help.sap.com/saphelp_nw04/helpdata/en/43/64dbb0af9f30b4e10000000a11466f/frameset.htm -
HTTP Receiver adpater configuration for Web Application server
Hello All,
I am trying to configure a HTTP scenario. I want to configue the receiver HTTP channel to connect to the WebApplication server installed locally.
I am able connect to the WebApplication server from by browser by giving the URL http://inld50037931a.dhcp.blrl.sap.corp:8080/hello/.
In my receiver HTTP channel i have configure as below
Target Host : inld50037931a.dhcp.blrl.sap.corp
Service Number : 8080
Path : /hello.
But it is failing in run time with error in SXMB_MONI : HTTP-Server Code 500 Reason Internal Server Error Explanation Unknown Host.
And i checked the Trace and it is looking for taget URL :
http://inld50037931a:8080/hello
instead of
http://inld50037931a.dhcp.blrl.sap.corp:8080/hello
Kindly help me in correcting the receiver channel configuraion.
Best Regards,
BiswaHi Babu,
The given links might help you:
http://help.sap.com/saphelp_nw04/helpdata/en/0d/5ab43b274a960de10000000a114084/frameset.htm
HTTP Receiver Adapter
Regards,
Ajay. -
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
HttpVersion: 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
Contentlength: 12345
Contenttype: 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=HTTPSOXTA
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. -
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
MichaelHi
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"....
ThanksHi Jaideep,
Hpoe the below link will help you.
Dynamic Configuration of Some Communication Channel Parameters using Message Mapping
Regards,
Leela -
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 PMHi 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 -
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 PMHi,
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 -
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, -
Dynamic URL for HTTP receiver adapter
Hi all,
when the XI send the http request to the target system, the format maybe like this:
header + body the body is including: Prolog, payload and Epilog
here is about the target system have a 'input' parameter(maybe string type)
is it possible to pass the 'head + body' these value(or maybe the whole http request message) into input
i mean is it possible to set the dynamic URL for http receiver adapter like this:
http://host:port/path?input=<the header and body>
i have searched the blog Dynamic Configuration of Some Communication Channel Parameters using Message Mapping
Link:[/people/william.li/blog/2006/04/18/dynamic-configuration-of-some-communication-channel-parameters-using-message-mapping]
and the similar threads in the forum
please give me some advice
thanks in advanceWhen a HTTP server requests the whole message as URL parameters, then I assume that the server also requests an HTTP GET, which is not supported by XI.
Could you check this?
Regards
Stefan -
Adapter specific properties (http receiver adapter)
Hi,
does anybody know the technical name for the HTTP destination of a http receiver adapter.
The documentation lists only the names URLParamOne to URLParamSix and HeaderFieldOne to HeaderFieldSix.
Neither the technical name for URL nor for a HTTP destiantion are mentioned.
Regards,
MarcHello Moorthy,
I know this part of the documentation.
So I set the indicator within the communication channel.
Now, I have to fill the dynamic configuration during my mapping. My code looks like following:
DynamicConfigurationKey keyURL = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/HTTP", <b>XXXXX</b>);
// access dynamic configuration
DynamicConfiguration conf = (DynamicConfiguration) param.get (StreamTransformationConstants.DYNAMIC_CONFIGURATION);
// set value
conf.put(keyURL, url);
So what has to be filled instead of XXXXX ?
Regards,
Marc -
HTTP Sender and HTTP Receiver adapter. Pls advice urgent
Hi All,
There is one Third Party that wants to send XML data and receive XML data with XI.
Please let me know can I use HTTP for that.
How to use HTTP Sender part?
How to use HTTP Receiver Adapter?
Pls send blogs/doc for that
Thanks and Regardshi.,
Check this thread for the code for a HTTP Client,
/message/266750#266750 [original link is broken]
Also, check these blogs. They use HTTP adapters for their configuration,
/people/siva.maranani/blog/2005/05/21/jdbc-stored-procedures
/people/sriram.vasudevan3/blog/2005/02/14/calling-stored-procs-in-maxdb-using-sap-xi
http://help.sap.com/saphelp_nw04/helpdata/en/44/79973cc73af456e10000000a114084/content.htm
Check these links for the configuration part.
http://help.sap.com/saphelp_nw04/helpdata/en/43/64db4daf9f30b4e10000000a11466f/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/44/79973cc73af456e10000000a114084/content.htm
Weblog :
/people/sriram.vasudevan3/blog/2005/01/11/demonstrating-use-of-synchronous-asynchronous-bridge-to-integrate-synchronous-and-asynchronous-systems-using-ccbpm-in-sap-xi - although this weblog is
aimed at explaining the sync-async bridge.. Sriram has taken http-to-file scenario as the example
note:reward points if solution found helpfull.....
regards
chandrakanth.k
Maybe you are looking for
-
Reverse telnet to a specific line, based on AAA credentials
I want to setup a console server like a 2600 or something with a 16 or 32 port async module and allow users to access only certain ports/lines by reverse telnet based on login credentials. For example, user joe can reverse telnet to ports 1 and 2, wh
-
How do I reset my ipod from my computer because it is locked for 42 years !?
My ipod says it is locked for 42 years. I can't reset it on my actual ipod because it's locked and I don't know how to do it via my computer. Technology isn't my forte ! I need simple instructions and apple is exactly helping with the situation becau
-
IPhoto 7.1.3 and printing multiple photos per page
I cannot get multiple prints to layout (or print) properly. IOW, I cannot get the product to render multiple photos to a single sheet layout. - selected multiple photos (say 5) - Hit Print icon (or select Print from File menu) - Paper Size: choose 8.
-
Unable to launch HP QTP in Integrated Mode
Hi All We have Solution Manager 7.1 sp 10, we have installed HP QTP successfully and when we run it independently it starts correctly however when I create test configuration thru SOLAR02 or STCE it doesn't launch. 1- Below is the screen shot when i
-
Hi everyone, I have a Blackberry Curve 9360 phone. It fell from my hand 2 days ago, it restarted immediately but after booting showed a white screen "Error 205 Reload Software". Since then I have tried everything but its still not working. I have use