ZendSoapClient
Constructor
| Parameters: |
|
|---|---|
| Throws ExceptionExtensionNotLoadedException: | |
Set Options
Allows setting options as an associative array of option => value pairs.
| Parameters: | array|Traversable – |
|---|---|
| Return type: | Client |
| Throws : | ExceptionInvalidArgumentException |
Return array of options suitable for using with SoapClient constructor
| Return type: | array |
|---|
Set SOAP version
| Parameters: | int – One of the SOAP_1_1 or SOAP_1_2 constants |
|---|---|
| Return type: | Client |
| Throws : | ExceptionInvalidArgumentException with invalid soap version argument |
Set classmap
| Parameters: | array – |
|---|---|
| Return type: | Client |
| Throws : | ExceptionInvalidArgumentException for any invalid class in the class map |
Set encoding
| Parameters: | string – |
|---|---|
| Return type: | Client |
| Throws : | ExceptionInvalidArgumentException with invalid encoding argument |
Check for valid URN
| Parameters: | string – |
|---|---|
| Return type: | bool |
| Throws : | ExceptionInvalidArgumentException on invalid URN |
Set URI
URI in Web Service the target namespace
| Parameters: | string – |
|---|---|
| Return type: | Client |
| Throws : | ExceptionExceptionInterface with invalid uri argument |
Set Location
URI in Web Service the target namespace
| Parameters: | string – |
|---|---|
| Return type: | Client |
| Throws : | ExceptionExceptionInterface with invalid uri argument |
Set request style
| Parameters: | int – One of the SOAP_RPC or SOAP_DOCUMENT constants |
|---|---|
| Return type: | Client |
| Throws : | ExceptionInvalidArgumentException with invalid style argument |
Set message encoding method
| Parameters: | int – One of the SOAP_ENCODED or SOAP_LITERAL constants |
|---|---|
| Return type: | Client |
| Throws : | ExceptionInvalidArgumentException with invalid message encoding method argument |
Set HTTP password
| Parameters: | string – |
|---|---|
| Return type: | Client |
Set proxy password
| Parameters: | string – |
|---|---|
| Return type: | Client |
Set HTTPS client certificate path
| Parameters: | string – local certificate path |
|---|---|
| Return type: | Client |
| Throws : | ExceptionInvalidArgumentException with invalid local certificate path argument |
Get HTTPS client certificate path
| Return type: | string |
|---|
Set HTTPS client certificate passphrase
| Parameters: | string – |
|---|---|
| Return type: | Client |
Get HTTPS client certificate passphrase
| Return type: | string |
|---|
Set compression options
| Parameters: | int|null – |
|---|---|
| Return type: | Client |
Get Compression options
| Return type: | int |
|---|
Set Stream Context
| Parameters: | resource – |
|---|---|
| Return type: | Client |
| Throws : | ExceptionInvalidArgumentException if $context is not a valid stream resource |
Set the SOAP Feature options.
| Parameters: | string|int – |
|---|---|
| Return type: | Client |
Return current SOAP Features options
| Return type: | int |
|---|
Set the SOAP WSDL Caching Options
| Parameters: | string|int|bool|null – |
|---|---|
| Return type: | Client |
Set the string to use in User-Agent header
| Parameters: | string|null – |
|---|---|
| Return type: | Client |
Get current string to use in User-Agent header
| Return type: | string|null |
|---|
Retrieve request headers
| Return type: | string |
|---|
Retrieve response headers (as string)
| Return type: | string |
|---|
Do request proxy method.
May be overridden in subclasses
| Parameters: |
|
|---|---|
| Return type: | mixed |
Perform arguments pre-processing
My be overridden in descendant classes
| Parameters: | array – |
|---|---|
| Return type: | array |
Perform result pre-processing
My be overridden in descendant classes
| Parameters: | array – |
|---|---|
| Return type: | array |
Add SOAP input header
| Parameters: |
|
|---|---|
| Return type: | Client |
Reset SOAP input headers
| Return type: | Client |
|---|
Get last SOAP output headers
| Return type: | array |
|---|
Send an RPC request to the service for a specific method.
| Parameters: |
|
|---|---|
| Return type: | mixed Returned results. |
Return a list of available functions
| Return type: | array |
|---|---|
| Throws : | ExceptionUnexpectedValueException |