Quantcast
Channel: SCN : All Content - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 7030

Rest Adapter Conversion

$
0
0


Hi All,

 

I am working on Advantco REST receiver adapter.

 

Could you please guide me the conversion paramater for  xml to JSON .

 

Input Xml:

 

<?xml version="1.0" encoding="UTF-8"?>

<ns0:MT_VTAssetMaster xmlns:ns0="http://xxx.com/xxx/xxx">

<Trucks>

<saPid>12575</saPid>

<name>water</name>

<techIdentNo>1445</techIdentNo>

</Trucks>

</ns0:MT_VTAssetMaster>

 

Output required JSON format:

 

Trucks:

{"saPid":"12575","name":"water","techIdentNo":"1445"}

 

Thanks & Regards,

Nida


Viewing all articles
Browse latest Browse all 7030

Trending Articles



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