on 10-29-2012 10:05 PM
We are using PI 7.1 and we can utilize an Axis adapter to poll a URL every X seconds via a HTTP GET method, as described in the following guide:
However, we have a requirement to do a HTTP POST method call to a URL every X seconds, instead of GET. Looking in com.sap.aii.adapter.axis.ra.transport.http there doesn't seem to be a POST equivalent to the HTTPGetter method call.
Doe anyone know how this could be accomplished? Any help would be much appreciated.
Best regards,
Anton
Hello Anton,
This can only be achieved by modifying the sending system e.g via a job that runs every x seconds that would call PI to POST to that URL.
Regards,
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Mark, am I understanding you correctly:
1) Create a receiver channel using an HTTP plain adapter (that by default uses POST method)
2) Create a periodic job outside of PI, for example in ECC via an ABAP program, that would periodically call that receiver channel via PI.
Is that correct?
And in that case would we have to utilize proxys, something like this:
http://scn.sap.com/people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
Best regards,
Anton
Ended up taking this HTTP Client ABAP program:
http://scn.sap.com/docs/DOC-3647
Deploying it on ECC (it depends on some function modules that did not exist in PI ABAP stack), adjusting it to use CL_HTTP_CLIENT instead of old HTTP2_POST (that gave me problems with truncating the payload incorrectly) and then scheduling it in ECC to initiate the polling of a URL through PI.
Anton
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
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.