on 04-29-2010 9:14 AM
Hi All,
Had a doubt in HTTP Receiver Adapter.
We have to invoke an HTTP Service from PI. The HTTP service is hosted on the Vendor server and he has provided us the link for the same.
The service is currently being invoked by an HTTP Form as below.
We need to invoke this from PI using HTTP receiver adapter. I have gone through SDN and found out that we can do it through epilog/prolog of HTTP adapter.
I am not sure on how to invoke this HTTP url.
Please provide me pointers to the correct sol.
<form method="POST" action="http://gis/ias/cgi-bin/siscgi.exe">
<input type="hidden" name="request" value="batch">
<input type="hidden" name="command" value="<requests><request><name>sis_neighbouring_knos_for_sambandh_service</name><buffer>20</buffer><same_premise_kno>123</same_premise_kno><left_kno>331</left_kno><gis_id>4019589</gis_id><priority>same_premise_kno,left_kno,right_kno,gis_id</priority></request></requests>"/>
<input type="hidden" name="user_name" value="sambandh.sias">
<input type="hidden" name="password" value="sambandhsias">
<input type="submit" value="HTTP POST">
</form>
Hi,
did you see the SAP online help and CSS note :-
[Configuring Receiver Plain HTTP Adapter in Integration Directory|http://help.sap.com/saphelp_nwpi711/helpdata/en/43/64dbb0af9f30b4e10000000a11466f/content.htm]
[#1389614 Plain HTTP Adapter: Payload URL-encoded|http://service.sap.com/sap/support/notes/1389614]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Piyush,
apologies for the delay in responding.
Hopefully you have managed to successfully use the HTTP Receiver adapter for your POST request.
For future reference the HTTP Adapter Dynamic HTTP Paramters CSS notes:
[ 1105368 HTTP adapter: Dynamic URL and HTTP parameters|http://service.sap.com/sap/support/notes/1105368 ]
[1386621 Plain HTTP Adapter: Dynamic parameter|http://service.sap.com/sap/support/notes/1386621]
should be useful.
The parameters are listed in the input tags with attributes "name" and "value".
Regards
Kenny
Hi Kenny,
I have seen the lnks given by you but still unable to find out the sol to my problem,.
Can you please look at the http that I have to invoke and the parameters that I have to send to the http ur?
Do suggest me that what wil I have to do to fulfill my requirement.
regards,
Piyush
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Piyush,
the section -
2. Receiver Plain HTTP Adapter
of the note -
[#1386621 Plain HTTP Adapter: Dynamic parameter|http://service.sap.com/sap/support/notes/1386621]
should provide guidance for what you are doing.
Using a http sniffer tool to create a HTTP trace may be useful in viewing the HTTP request content.
Regards
Kenny
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.