Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 8608

Pass Data with Tags in Web Service Field - Consuming WS

$
0
0

We have a requirement to call an external third party web service from ABAP. The web service has only a single field in it that is <text> </text>.

 

After creating consumer proxy and now when testing the web service through SAP with the following data :

<text>This is a test message</text>

success response is received.

 

Now our requirement is to send data like this :

<text>

<SalesOrderID>10005</SalesOrderID>

<DistributionChannel>10</DistributionChannel>

<Division>11</Division>

</text>

 

Now sending data like this result in an error and the external server is not called at all.

 

Capture.PNG

 

Suggest ways on how to send data with tags inside a web service.


Viewing all articles
Browse latest Browse all 8608

Trending Articles



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