Quantcast
Channel: SCN : Unanswered Discussions - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 6719

REST Receiver Adapter String conversion Issue Quotes

$
0
0

Scenario: Sender SOAP to Receiver PI REST Adapter

 

Details: We have defined the XSD as part of the sender message which contains fewer elements but all are declared as String. But when the request message contains value with only number, the element is treated as integer.

 

Example Request Message

 

<FirstName>Name1</FristName>

<SecondName>Name2</SecondName>

<ID>123</ID>

 

During XML to JSON conversion,  ID is treated as Integer rather than String. The receiver system is expecting all three elements as string.

 

JSON Message Format:

 

{"FirstName":"Name1","SecondName":"Name2","ID":123}


I have tried the mentioned options in this blog, but it didnot help


http://scn.sap.com/thread/3813588


Please suggest.


Thanks


Viewing all articles
Browse latest Browse all 6719

Latest Images

Trending Articles



Latest Images

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