function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
kritinkritin 

How can we handle China special character Address in Web-service Callout?


Hi All,

 

How can we handle China special character Address in Web-service Callout?

 

 

上海古北路620号院内WTO办公楼

 

We need to pass these china Address in web-service callout. We are just simply setting the web-service method API field like  mthdParamListM1.chn_st1=string.valueOf(Cont.Street_Name_China__c);

And getting web-service callout Error. Please help us.

 

 

Error:

Web service callout failed: WebService returned a SOAP Fault: com.boomi.process.ProcessException: First document failure: Error invoking soap operation; Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to create envelope from given source: ; Caused by: Unable to create envelope from given source: ; Caused by: com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid byte 2 of 3-byte UTF-8 sequence.; Caused by: Invalid byte 2 of 3-byte UTF-8 sequence. faultcode=S:Server faultactor=