You are not logged in.
Announcement
Unanswered posts
|
Pages: 1

i have a wsdl with encoding utf8
the external service send a xml with encoding utf8
i set system properties with encoding utf8
and i store the response with tFileOutputXml in utf8
The xml stored contains encoding ISO-8859-15 ...
Where is the mistake ? and how should i manage this ?
thanks for an idea
Fred
Offline

Hi, atelesh,
the encoding propriety is set to utf8 (for the tfileoutputxml component)
in fact, i had tfileoutputxml in debugging mode, to see how is the xml send by the external service ...
in the screenshot, you can see the format for the xml send by the external service, and the xml stored by the tfileoutputxml just behind tesbconsumer
perhaps addind a tfileoutputxml is not a good idea, and another component is more transparently ?
regards,
fred
Offline

I'm not very good with encodings. I try to avoid it. But you might try checking the encoding specified in the XSD referenced of the WSDL. Does the WSDL use embedded types or does it import an XSD?
Also since you are just dumping the return value from the tESBconsumer, try dumping it with a regular tFileOutput.
Offline

Hi, EdwardOst,
there is no XSD in the WSDL, and there are embedded types.
but, when i deploy the wsdl in Studio, it seems that Talend ESB evaluate a XSD (cf screenchot), and the utf8 encoding is present
as soon as possible, i insert a tfileoutput like you said
greats
fred
Offline
Pages: 1