Hi,
I am receiving soap response as below:
When I am trying to apply xml to json policy the text between GetQuoteResult node is being considered as string and returning the json as:
{
"Envelope": {
"Body": {
"GetQuoteResponse": {
"GetQuoteResult": "<StockQuotes><Stock><Symbol>BAC</Symbol><Name>BANK OF AMERICA C</Name></Stock></StockQuotes>"
}
}
}
}
But I want the output as below: Please help me,
{
"Envelope": {
"Body": {
"GetQuoteResponse": {
"GetQuoteResult": {"StockQuotes":{"Stock":{"Symbol":"BAC","Last":"16.61","Date":"2/13/2015","Time":"4:05pm","Change":"0.06","Open":"16.73","High":"16.79","Low":"16.54}}
}
}
}
}
