Additional options with the PHP class SoapClient in wsdl mode

With the SoapClient class in PHP5.x and working with the SOAP web service, which has optional parameters in its methods, you will have no problem if you use non-wsdl mode.

But at least by default in wsdl mode, if you do not fill out all the parameters, you will receive an error message: SOAP-ERROR: Encoding: the object does not have the property "xxx"

Is there a way to avoid this error without working with non-wsdl mode and without filling in all the parameters?

+5
source share
1 answer

, WSDL, . - UTF-8, , , mb_substr(...) substr(...).

0

All Articles