Consultor Eletrônico



Kbase P123219: Cannot see Umlauts with OpenEdge Sonic-ESB adapter on Linux
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   03/04/2007
Status: Unverified

FACT(s) (Environment):

OpenEdge 10.1A
Sonic MQ 7.x
Linux Intel

SYMPTOM(s):

Cannot see Umlauts with OpenEdge Sonic-ESB adapter on Linux

Umlauts are embedded into XML file

XML-file-contents sent to the OpenEdge ESB-adapter service:
<?xml version="1.0" encoding="utf-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:OESonicDemoService:cptest">
<soapenv:Body>
<urn:cptest>
<urn:cTest>&lt;?xml version="1.0" encoding="utf-8"?&gt;&lt;test&gt;umlaute äüö&lt;/test&gt;</urn:cTest>
<urn:cLongTest>&lt;?xml version="1.0" encoding="utf-8"?&gt;&lt;test&gt;umlaute äüö&lt;/test&gt;</urn:cLongTest>
</urn:cptest>
</soapenv:Body>
</soapenv:Envelope>

CAUSE:

This is a known issue being investigated by Development

FIX:

Possible workaround:
In a ESB process step before the ESB-Adapter service modify the content-type of the request part to include the charset (e.g.: text/xml;charset=UTF-8). This can be achieved by a XSL service or a custom service that changes the content type of the message part.