|
This constructor creates SoapClient objects in WSDL or non-WSDL mode.
URI of the WSDL file or NULL if working in non-WSDL mode.
An array of options. If working in WSDL mode, this parameter is optional. If working in non-WSDL mode, you must set the location and uri options, where location is the URL to request and uri is the target namespace of the SOAP service.
The style and use options only work in non-WSDL mode. In WSDL mode, they come from the WSDL file.
The soap_version option specifies whether to use SOAP 1.1, or SOAP 1.2 client.
For HTTP authentication, you may use the login and password options. For making an HTTP connection through a proxy server, use the options proxy_host, proxy_port, proxy_login and proxy_password. For HTTPS client certificate authentication use local_cert and passphrase options.
The compression option allows to use compression of HTTP SOAP requests and responses.
The encoding option defines internal character encoding. This option does not change the encofing of SOAP requests (it is always utf-8), but converts strings into it.
The classmap option can be used to map some WSDL types to PHP classes. This option must be an array with WSDL types as keys and names of PHP classes as values.
The trace and exceptions options are useful for debuging purpose.
Poprzedni | Spis treści | Następny |
SoapClient->__call() | Początek rozdziału | SoapClient->__doRequest() |
Hosting by: Hurra Communications Sp. z o.o.
Generated: 2007-01-26 18:02:54