Hello All
        We are facing an issue which is due to some invalid charaters in
response returned by webservice. We are using Camel 2.9.2 for routing, cxf
2.6.0 to configure jaxws endpoint of our webservice. When response returned
from webservice contains some invalid charaters, consumer of our service
getting SAXParseException. That charaters get properly displayed at our
end,but consumers are getting issue. Also when some escape charaters
present, it is displayed as,

DB Value        Value displayed in response
'                              '
<                             &lt;
>                              &gt;
&                             &amp;

        But we want to display DB values as it is. Is it there any issue
with encoding. By assuming this as cause we tried to configure
JAXBDataBinding in endpoint, also tried with interceptor to forcefully
change the encoding as UTF-8.
        We got success by doing so. We can see UTF-8 coming in content
type,but when same code is deployed on environment servers again content
type does not contains UTF-8.

         Can someone help me please, why it is so. Are we missing something,
or wrong approch. 



Thanks in advance
Bhushan




--
View this message in context: 
http://camel.465427.n5.nabble.com/SAXParseException-due-to-invalid-characters-in-cxf-endpoint-response-tp5742212.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to