Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8491

Re: Payload structure not visible in Moni

$
0
0

Thanks Anupam,

 

Your suggestions worked until getting the response from REST service as plain http string using Java map. Initially I thought it required receiver adapter, later I realized the java code do every thing with out adapters.

 

The output showing like this :

 

<String output134 = "<string xmlns="http://schemas.microsoft.com/2003/15/Normalization/"><xml version="1.0" encoding="utf-8"?><EMP><Email_Address>NNNNNNN</Email_Address><First_Name>JJJJJJ</First_Name><Last_Name>MMMMMM</Last_Name><Manager>XXXXXX</Manager></EMP></string >

 

Now I need to convert this string into PI-XML format and after send this response to file formats.

 

Can you let me know any suggestions how to handle from here?

 

I think I need to parse this string into PI-XML format using Java code and after configure the File/receiver adapter and do the content conversion and drop the file in destination folder, Am I right?

 

If you think any changes please let me know.

 

Any sample code available for parse this response into PI-XML ?

 

Thank you.

 

Gayatri.


Viewing all articles
Browse latest Browse all 8491

Trending Articles