mulesoft/salesforce-connector — Issue #30: CXF SFDC connector Invalid UTF-8
Author: djkrut
Created: 2012-02-17 15:14:38+00:00
State: open

I am making a CXF web service call to Mule and using sfdc:query through the salesforce connector. I am getting the expected results in mule but when the payload is returned to the calling java app it is non utf-8 and I receive the following message.

SEVERE: Servlet.service() for servlet [spring] in context with path [/SpringMVCSFDCWS] threw exception [Request processing failed; nested exception is javax.xml.ws.soap.SOAPFaultException: Couldn't parse stream.] with root cause
java.io.CharConversionException: Invalid UTF-8 start byte 0xac (at char #1, byte #-1)