Quantcast
Channel: SCN : All Content - SAP Gateway
Viewing all articles
Browse latest Browse all 2823

XML in the HTTP Request

$
0
0

Hi all,


I have created a RESTwebservice and the transaction/IWFND/GW_CLIENT allows to use an XML in the HTTP request.

 

My question is, how can I get the XML File where I can put the data that I need to perform the CREATE, READ, etc Requests?


When I get the metadata of my webservice (http://p2w4r5s8:8080/sap/opu/odata/sap/ZZ_TEST_GATEWAY_002_SRV/$metadata), then I get answer contained in the attachment file metadata_answer.xml

 

b2.JPG


How can I use the metadata XML to use it in the CREATE, READ, DELETE, ... Requests?


The idea is to use an XML in the request and not to put all the necessary data in the URL-String:

 

b1.jpg

 

 

Cheers and thanks in advance

Mar


Viewing all articles
Browse latest Browse all 2823

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>