on 2018 Dec 17 4:43 PM
Hi All,
I have a synchronous scenario with REST adapter configured at receiver side.
The response message that we are getting from target system in JSON format is as below:
{ "result": "SUCCESS" }
In the receiver REST adapter we have tried to convert this JSON to XML using the below parameter value:
Element Name: MYRoot.Response
Namespace: abc.com
But when message comes in PI the JSON is converted to below XML:
{
<ns1:Response>
<result>SUCCESS</result>
</ns1:Response>
}
Means the root name is not getting converted as expected. My expected result is:
{
<ns1:MYRoot.Response>
<result>SUCCESS</result>
</ns1:MYRoot.Response>
}
Kindly help me to solve this issue. Please let me know if there is any special setting in rest adapter to achieve this result.
Regards,
Sourabh
Request clarification before answering.
User | Count |
---|---|
31 | |
9 | |
8 | |
6 | |
6 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.