on 05-31-2017 12:03 PM
Hi Experts,
I am in the midst of developing an IDOC to REST asynchronous scenario with POST operation.
While configuring the Receiver REST Adapter, i checked the box for converting XML to JSON. The converted JSON message looks like this
{"Price":{
"Item":{
"itemID":"******",
"sales_price":{
"Country":"CL",
"Value":13003,
"Currency":"CLP",
"salePriceEffectiveDate":20170403
}
}
}
}
This returns a HTTP 500 Internal Server Error in the Receiver REST Adapter.
However, the following JSON message is successfully sent to the REST Receiver when using the Google Postman
{ "ns0:Price": { "@xmlns:ns0": "http://****Price***", "Item": { "itemID": "******", "sales_price": { "Country": "CL", "Value": "13003", "Currency": "CLP", "salePriceEffectiveDate": "20170403" } } }
I am on SAP PO 7.5 and I do not see any option to add a Namespace Prefix to the output message in the adapter.
Can you kindly help me out here ?
Hi Krishna,
After the system got updated and adapter applications got new features (such as the enhanced XML/JSON conversion), please make sure that adapter metadata is also updated - otherwise, UI for channel configuration in NWDS / Integration Directory may still miss newly introduced configuration parameters in the channel. You might check SAP Note 2276231 ("New features for REST adapter in 740 SPS13 are not visible") that contains detailed explanation on how this can be achieved.
Regards,
Vadim
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.