on 05-08-2014 8:24 AM
Hi,
I have a scenario Proxy --> SAP PI--> Webservice/HTTP
I Need to post the payload that I am getting from proxy to the endpoint.
The format how I need to Send is "data= <XML payload coming from Proxy>".
I tried different options like Main Payload Parameter Name=data, but it does not work.
Please help me how I can add the variable "data= <Payload coming from proxy>" in PI.
Note: I am successfully able to post the data to end point using tools like wfetch,postman and soapui.
Any help is really appreciated.
Regards,
Sainath Chutke
Hello,
perhaps you can try tu use
data = <![CDATA[<XML payload coming from Proxy>
]]>
Hope it helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sainath,
Have you tried to use the dynamic configuration for your purpose?
Check William Li 's blog
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sainath,
I have a scenario Proxy --> SAP PI--> Webservice/HTTP
I Need to post the payload that I am getting from proxy to the endpoint.
The format how I need to Send is "data= <XML payload coming from Proxy>".
I tried different options like Main Payload Parameter Name=data, but it does not work.
Please help me how I can add the variable "data= <Payload coming from proxy>" in
I'm assuming this is in the HTTP Body and not in the HTTP URL. If you are using HTTP adapter, you can add data= in the Prolog. Otherwise, if you are using SOAP Adapter, it needs to be run in nosoap mode and you can build it using Java Mapping.
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.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.