on 2023 Sep 27 2:27 PM
restsender-channel.pngrestsender-general.pngrestsender-operationdetermination.pngrestsender-restoperation.pngrestsender-restresources.png
Hi,
I have to create a synchronous scenario from AzureAPI portal <-> SAP PO75 <-> S4 on prem.
I can use REST adapter from AZURE to PO. I use a proxy interface from PO to S4.
The request from the API portal will be an HTTP GET and the aim is to get stocksupplies from S4, and send them back to the portal.
From what i heard from the API side i will receive an empty request (in S4 this request will lead to a collection of all relevant stocksupplies; we dont to differentiate with parameters in the request itself)
I am having some trouble to understand how to configure the REST adapter for this (empty) HTTP GET request.
And how will this request be transformed into an xml structure that i can use in the proxy as a request message.
I give the first 5 tabs for my Rest communication channel
Hopefully i can get some good advice for what is needed
Regards
Robert
By trial and error i found that my settings for the REST adapter were correct. After testing the same with SOAP UI (see picture)
When sending a "empty" GET request to the endpoint specified in the REST adapter, the adapter sends the message as specified in tab Operation Determination into PI and it gets processed to the backend proxy.
In my case i out one xml field in the MT stucture and in message mapping i put a constant in it. But i think if you just use an empty operation without any fields it would also process.
So for me this set-up works. Now there is still the reply message to be implemented but that seems much more straightforward.
Kr
Robert
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
73 | |
10 | |
8 | |
7 | |
7 | |
6 | |
6 | |
6 | |
6 | |
6 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.