Dheepak875 Posted March 29, 2013 Share Posted March 29, 2013 I am trying to build a SOAP call in php which should make a request to a c#/asp.net based API. The request is in the format of an XML. *XML contains Arabic Characters. If the XML contains only English Characters everything works fine. I also tried to hit the Webservice endpoint via a SOAPUI with Arabic characters and it works fine.So it confirms that the system accepts Soap calls with Arabic Characters. The code I use to hit the EndPoint is shown below. $soapvar = new SoapVar($retrieveXYZRequest, XSD_ANYXML); $this->client->__soapCall('RetrieveXYZ',array($soapvar)); $retrieveXYZRequest is the SOAP Request built in the form of Text(with Arabic characters in certain elements). RetrieveXYZ is the method name that should be called. Any kind of input will be much appreciated. Quote Link to comment https://forums.phpfreaks.com/topic/276292-is-there-a-way-to-build-a-php-soap-call-in-which-the-xml-request-contains-arabic-characters/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.