on 06-12-2012 3:37 PM
Hi,
I'm having trouble receiving messages that contain special characters.
JMS -> PI -> Proxy
asynchronous
The PI could not read the XML, the payload arrives:
A página XML não pode ser exibida
Não é possível exibir a entrada XML usando a folha de estilos XSL.
Corrija o erro e clique no botão Atualizar ou tente novamente mais tarde.
-------------------------------------------------------------------------
-------
Caractere inválido encontrado no texto. Erro ao processar o recurso
'file:///C:/Users/Mfaria/AppData/Local/Temp/8267c20_163...
<SISMSG><SEGCAB><CD_LEGADO>SAP</CD_LEGADO><NR_OPERACAO></NR_OPERACAO>
</SEGCAB><...
as an error and have:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!-- Message canceled -->
<SAP:Error SOAP:mustUnderstand="" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SAP:Category>Application</SAP:Category>
<SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Code>
<SAP:P1>com/sap/xi/tf/_MM_Recebe_SPB_JD_TO_ECC_</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_Recebe_SPB_JD_TO_ECC_; 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>
Can you help?
Tks,
Marcelo
Either the encoding is already wrong from the partner (happens often in projects) or your sender adapter channel is mixing it up.
Result in any case is that you have an XML with wrong encoding which then leads to the error in the integration engine.
Do I understand the screenshot right that no encoding is set at all in the payload ? Then PI defaults to UTF-8 which is often a wrong assumption if the partner e.g. sent it with iso-8859-1.
CSY
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Are you using Websphere MQ? If yes could you please check if setting the code page
to UTF-8 (i.e., CCSID 1208) resolves the issue?
Note:
1086303 XI JMS Adapter and IBM Websphere MQ: FAQ
question
6) My MQ message contain special characters like ö,ä etc/line
endings/packed decimals. The JMS adapter is messing up with these
characters.
Kind regards
Sarah
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What is the payload at the sender communication channel or AE before it gets into IE?
Do you have any Binary or Special character in the incoming payload?
In that case, you need to use the respective Unicode in sender JMS adapter to send correct values into IE.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
75 | |
10 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.