on 02-10-2014 9:23 PM
HI Experts ,
We have a scenario where we have to post the Purchase Requisition to the vendor .
He has provided the URL https://XXX.com/apps/Router/PRXMLImport along with the certificate , we have installed the certificate in STRUST and made the connections in SM59
by default when I hit the URL from a browser the request is a GET and also from SAP I understand the by default request is get , but the client is saying that he is not receiving any messages coz the URL should access there system as POST.
And since SAP is not POSTING the data they are not receiving any message , I have also tried
/apps/Router/PRXMLImport/ACTION="post"
but he is still saying that he is not reciving any mssg from SAP .
Is there any way we can introduce that SAP PI can directly POST The data rather than just GEt ?
Hi Abhishek,
Try to do an end-to-end testing, since when testing a connection in SM59 it does not send an HTTP Body (empty). Even if the method executed is POST, the receiving system would not get any data since the HTTP Body is empty.
HTTP GET is officialy supported on the Java stack but you need to use SOAP Axis or your PI version is 7.3 and above (HTTP Adapter AAE). There is an FM in the ABAP stack that needs to be remote-enabled if you want to use HTTP GET .
Hope this helps,
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Also make use of the TCP gateway to analyze the issue-
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Abhi -
by default when I hit the URL from a browser the request is a GET and also from SAP I understand the by default request is get , but the client is saying that he is not receiving any messages coz the URL should access there system as POST.
>>> I don't think this is correct. By default the main payload is posted using HTTP post.
http://help.sap.com/saphelp_nw73/helpdata/en/43/64dbb0af9f30b4e10000000a11466f/content.htm
Are you getting any errors in PI??
Also can you confirm if your RFC destination works fine.. (utilities - connection test). I hope you didn't give the "http://" as prefix under the host name..
Message was edited by: Hareesh Gampa
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.