Problem with encoding ?
[email protected] (Jean-Claude CHRISTOPHE) Thu, 06 Aug 2015 14:21:31 +0200
| Newsgroups | php.soap |
|---|---|
| Organization | Wouaa |
| Message-ID | <[email protected]> |
Hello, I'm trying to make a webservice working. Here is the request: <?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://<FQDN of webservice>/service.php" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <SOAP-ENV:Body> <ns1:getPersonalAnalysis> <param0 xsi:type="SOAP-ENC:Struct"> <userData xsi:type="xsd:string">83.00|1|4|1|37|1|1|1|0</userData> </param0> </ns1:getPersonalAnalysis> </SOAP-ENV:Body> </SOAP-ENV:Envelope> And the response is: PHP Fatal error: SOAP-ERROR: Encoding: Cannot find encoding in <path>/service.php The encoding "Struct" is present in php_encoding.h, I don't understand hy I have this error. Can anyone help me with this error ? Thanks Regards, JC