Skip to Content
0
Jun 19, 2018 at 08:15 PM

REST Sender Adapter - ACORD standard webservice

164 Views

Hi - I have a requirement to convert existing ACORD standard SOAP webservice to RESTFUL webservice. We are using REST sender adapter where the incoming request will be in JSON and outgoing response will be in JSON as well.

Request:

Consumer (JSON) -> SAP PI (Rest Adapter) ->ABAP Proxy (XML)

In doing so I am getting an error message in the monitor:

<?xml version="1.0" encoding="UTF-8" standalone="true"?><!-- Request Message Mapping --><SAP:Error xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SAP="http://sap.com/xi/XI/Message/30" SOAP:mustUnderstand="1"><SAP:Category>Application</SAP:Category><SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Code><SAP:P1>com/sap/xi/tf/_msgMap_SearchBusinessPartner_Reque~</SAP:P1><SAP:P2>com.sap.aii.utilxi.misc.api.BaseRuntimeException:</SAP:P2><SAP:P3>Fatal Error: com.sap.engine.lib.xml.parser.ParserE</SAP:P3><SAP:P4>xception: XMLParser: No data allowed here: (hex) ~</SAP:P4><SAP:AdditionalText/><SAP:Stack>Runtime exception occurred during application mapping com/sap/xi/tf/_msgMap_SearchBusinessPartner_Reque~; com.sap.aii.utilxi.misc.api.BaseRuntimeException:Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XMLParser: No data allowed here: (hex) ~ </SAP:Stack><SAP:Retry>M</SAP:Retry></SAP:Error>


Thanks!