cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From superk888 <>
Subject Re: Invoking a CXF web service with a SIMPLE FRONTEND !!!
Date Mon, 31 Aug 2009 07:18:21 GMT

If that could help anyway, here is the inbound soap message content, with the
corresponding String type response my CXF Frontend gives me (in bold; the
character encoding problem I was talking about): 

INFO: Inbound Message
ID: 2
Encoding: ISO-8859-1
Content-Type: multipart/related; type="application/xop+xml";
start="<>"; start-info="text/xml"
Headers: {Content-Length=[693], Date=[Mon, 31 Aug 2009 07:13:49 GMT],
Server=[Apache-Coyote/1.1], content-type=[multipart/related;
start="<>"; start-info="text/xml"]}
Content-Type: application/xop+xml; charset=UTF-8; type="text/xml";
Content-Transfer-Encoding: binary
Content-ID: <>


RESPONSE (translate - SYSTEM): 
 <?xml version="1.0"

superk888 wrote:
> Is it possible to configure programmatically characters encoding
> parameters of the simple frontend?
> bimargulies wrote:
>> This feels like a Unicode problem. How is your service deployed? (and
>> with what version of CXF)?
>> On Sun, Aug 30, 2009 at 5:24 PM, superk888<> wrote:
>>> Hi everybody,
>>> I have developed and deployed successfully a simple web service with
>>> CXF.
>>> The service is really simple : it gets a String parameter and return a
>>> String response. I've tried to invoke this service with an AXIS2 client
>>> and
>>> all went as expected. But when I try to invoke the same service with a
>>> CXF
>>> simple Frontend, the accented characters are not interpreted correctly.
>>> For
>>> instance, when the SOAP response contains "é", my CXF frontend returns
>>> "è".
>>> I've added LoggingInterceptors to check the SOAP requests/responses
>>> content
>>> and they turn out to be correct.
>>> Has anybody already faced the same problem? Could somebody help me to
>>> solve
>>> it?
>>> PS : I've decided to use a simple frontend because my service consumer
>>> has
>>> to be integrated in a RCP project and after many attempts, I faced other
>>> problems using the JAX-WS and the dynamic clients.
>>> --
>>> View this message in context:
>>> Sent from the cxf-user mailing list archive at

View this message in context:
Sent from the cxf-user mailing list archive at

View raw message