on 08-05-2015 7:02 AM
Hi ,
We have a scenario in PI 7.31, the data coming from ECC needs to be uploaded into the Web application server using HTTP POST method as file.( No WSDL from Web Applicaiton server)
The target web application accepts the request with the parameters like name=uploadFile, Page=Uploadpage, Directory= PIFolder and destination=abc.
I am using HTTP adapter as receiver with HTTP transport protocol.
How to add these parameters to the HTTP POST request?
Where can I get the HTTP POST request details that is delivering from SAP PI to Web Server to validate the request?
thanks
Sridhar Goli
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Souvik,
Correct me if i am wrong, i am not an expert with Rest adapter. The Rest architecture lets you to construct dynamically an URL, it's like to browse by internet and how the URLs are being generated dynamically inside a domain, talking generally. But in this case the parameters are always the same, four.
I don't see why to use the Rest adapter, am i missing something?.
Regards.
Hi Sridhar,
According with Mark Dihiansan's suggestion you have an example here Dynamic Configuration of Some Communication Cha... | SCN
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sridhar,
The HTTP URL parameters can be added by going to the HTTP CC -> Advanced -> Check ASMA (Adapter-Specific Message Attributes) and then check URL parameters. In your case, you'll be using URLParamOne until URLParamFour. Just enter the parameter name for example, URLParamOne should have a value of name. The actual value of name will be populated by using dynamic configuration.
Regards,
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mark,
Here I am getting the following error when I tested with HTTP_AAE adapter.
But When I ping the channel in CC monitoring it showing successfully connected to target server.
So that I would like to see the actual request going from SAP PI.
how to get the request details going from PI?
When I use the SOAP adapter with HTTP protocol, it is showing success in CC monitoring. Due to unavailability of these parameters in the request it was failing at Web server. Even not able see the request details in their log also.
Yes, we tried that too.
The web server was configured in such a way that not to respond to telnet or ping commands.
So when we telnet from PI server it given no response from the web server.
Any how when we ping the channel in CC monitoring, it showing connection established successfully.
Thanks
Sridhar Goli
Hello Mark Dihiansan
Your thoughts on this please.
https://answers.sap.com/questions/12879150/how-to-send-http-body-parameters-in-sap-po-75.html
Thanks!
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.