Hi,
We are on SAP PI 7.11 SPS06.
We designed a synchronous BPM scenario, which sends the Idoc from ECC
to HTTP web service(third party) and receives the respose using ABAP
proxy.
Sender Adapter: Idoc
Receiver Adapter: SOAP
This scenario works fine with regular payload except when special
characters present in the payload. These special characters (european, latin, german, etc.) going from
ECC in the Idoc and receiving back in the same response(that is the
requirement). These special characters can go out to target(web HTTP
service) without any issue, but fails when they present in the response.
Also, I’ve used ‘Transform.ContentType’ to ‘application/xml;charset=utf-8’ in the SOAP receiver adapter module but it didn’t help.
Example:
IDOC request:
- <ZABRS01 SEGMENT="1">
<TYPE>Final Destination</TYPE>
<KUNNR>0019999999</KUNNR>
<NAME>EU End User US</NAME>
<ADDRESS1>7151 JACK NEéäÜéäÜéäÜ, B</ADDRESS1>
<CITY>FORT WORTH éäÜéäÜéäÜ</CITY>
<REGION>01</REGION>
<POST_CODE1>761187</POST_CODE1>
<COUNTRY>IN</COUNTRY>
</ZABRS01>
Error while respose coming back:
<SAP:Category>Application</SAP:Category>
<SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Code>
<SAP:P1>com/sap/xi/tf/_MM_AmberRoad_TransactionResponse_T~</SAP:P1>
<SAP:P2>com.sap.aii.utilxi.misc.api.BaseRuntimeException:</SAP:P2>
<SAP:P3>Invalid byte 2 of 3-byte UTF-8 sequence.</SAP:P3>
<SAP:P4 />
<SAP:AdditionalText />
<SAP:Stack>Runtime exception occurred during application mapping
com/sap/xi/tf/_MM_AmberRoad_TransactionResponse_T~;
com.sap.aii.utilxi.misc.api.BaseRuntimeException:Invalid byte 2 of 3-
byte UTF-8 sequence.</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
Please help.
Thanks.