Problem with encoding ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
PHP Soap Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[Index of Archives]     [PHP Home]     [PHP Users]     [Kernel Newbies]     [PHP Database]     [Yosemite]

  Powered by Linux