Zend\Soap\Client\DotNet
.NET SOAP client
Class is intended to be used with .NET Web Services.
Synopsis
class DotNet
extends Client
{
- // members
- protected Curl $curlClient;
- protected string $lastRequestHeaders;
- protected string $lastResponseHeaders;
- protected array $options;
- protected boolean $useNtlm;
- // Inherited members from Client
- protected array $classmap;
- protected string $encoding;
- protected array $faultExceptions;
- protected string $lastMethod;
- protected array $permanentSoapInputHeaders;
- protected SoapClient $soapClient;
- protected array $soapInputHeaders;
- protected array $soapOutputHeaders;
- protected int $soapVersion;
- protected array $typemap;
- protected string $wsdl;
- protected $connectionTimeout;
- protected $localCert;
- protected $location;
- protected $login;
- protected $passphrase;
- protected $password;
- protected $proxyHost;
- protected $proxyLogin;
- protected $proxyPassword;
- protected $proxyPort;
- protected $streamContext;
- protected $style;
- protected $uri;
- protected $use;
- protected $userAgent;
- protected $cacheWsdl;
- protected $compression;
- protected $features;
- // methods
- public void __construct()
- public string _doRequest()
- public Curl getCurlClient()
- public string getLastRequestHeaders()
- public string getLastResponseHeaders()
- public self setCurlClient()
- public self setOptions()
- protected array _preProcessArguments()
- protected mixed _preProcessResult()
- protected string flattenHeaders()
- // Inherited methods from Client
- public void __construct()
- public self setWSDL()
- public string getWSDL()
- public self setOptions()
- public array getOptions()
- public self setSoapVersion()
- public int getSoapVersion()
- public self setClassmap()
- public mixed getClassmap()
- public self setTypemap()
- public array getTypemap()
- public self setEncoding()
- public string getEncoding()
- public bool validateUrn()
- public self setUri()
- public string getUri()
- public self setLocation()
- public string getLocation()
- public self setStyle()
- public int getStyle()
- public self setEncodingMethod()
- public int getEncodingMethod()
- public self setHttpLogin()
- public string getHttpLogin()
- public self setHttpPassword()
- public string getHttpPassword()
- public self setProxyHost()
- public string getProxyHost()
- public self setProxyPort()
- public int getProxyPort()
- public self setProxyLogin()
- public string getProxyLogin()
- public self setProxyPassword()
- public self setHttpsCertificate()
- public string getHttpsCertificate()
- public self setHttpsCertPassphrase()
- public string getHttpsCertPassphrase()
- public self setCompressionOptions()
- public int getCompressionOptions()
- public string getProxyPassword()
- public self setStreamContext()
- public resource getStreamContext()
- public self setSoapFeatures()
- public int getSoapFeatures()
- public self setWSDLCache()
- public int getWSDLCache()
- public self setUserAgent()
- public string|null getUserAgent()
- public string getLastRequest()
- public string getLastResponse()
- public string getLastRequestHeaders()
- public string getLastResponseHeaders()
- public string getLastMethod()
- public mixed _doRequest()
- protected void _initSoapClientObject()
- protected array _preProcessArguments()
- protected array _preProcessResult()
- public self addSoapInputHeader()
- public self resetSoapInputHeaders()
- public array getLastSoapOutputHeaderObjects()
- public mixed __call()
- public mixed call()
- public array getFunctions()
- public array getTypes()
- public self setSoapClient()
- public SoapClient getSoapClient()
- public self setCookie()
Hierarchy
Extends
Tasks
Line | Task |
---|---|
89 | persistent connection ? |
98 | use parent set* options for ssl certificate authorization |
109 | persistent connection ? |
865 | check WSDL_CACHE_* constants? |
Members
protected
- $cacheWsdl
- $classmap
—
array
Array of SOAP type => PHP class pairings for handling return/incoming values - $compression
- $connectionTimeout
- $curlClient
—
Zend\Http\Client\Adapter\Curl
Curl HTTP client adapter. - $encoding
—
string
Encoding - $faultExceptions
—
array
Registered fault exceptions - $features
- $lastMethod
—
string
Last invoked method - $lastRequestHeaders
—
string
The last request headers. - $lastResponseHeaders
—
string
The last response headers. - $localCert
- $location
- $login
- $options
—
array
SOAP client options. - $passphrase
- $password
- $permanentSoapInputHeaders
—
array
Permanent SOAP request headers (shared between requests). - $proxyHost
- $proxyLogin
- $proxyPassword
- $proxyPort
- $soapClient
—
SoapClient
SoapClient object - $soapInputHeaders
—
array
Array of SoapHeader objects - $soapOutputHeaders
—
array
Array of SoapHeader objects - $soapVersion
—
int
SOAP version to use; SOAP_1_2 by default, to allow processing of headers - $streamContext
- $style
- $typemap — array
- $uri
- $use
- $useNtlm
—
boolean
Should NTLM authentication be used? - $userAgent
- $wsdl
—
string
WSDL used to access server It also defines Client working mode (WSDL vs non-WSDL)
Methods
protected
- _preProcessArguments() — Perform arguments pre-processing
- _preProcessResult() — Perform result pre-processing
- flattenHeaders() — Flattens an HTTP headers array into a string.
public
- __construct() — Constructor
- _doRequest() — Do request proxy method.
- getCurlClient() — Returns the cURL client that is being used.
- getLastRequestHeaders() — Retrieve request headers.
- getLastResponseHeaders() — Retrieve response headers (as string)
- setCurlClient() — Sets the cURL client to use.
- setOptions() — Sets options.
Inherited from Zend\Soap\Client
protected
- _initSoapClientObject() — Initialize SOAP Client object
- _preProcessArguments() — Perform arguments pre-processing
- _preProcessResult() — Perform result pre-processing
public
- __call() — Perform a SOAP call
- _doRequest() — Do request proxy method.
- addSoapInputHeader() — Add SOAP input header
- call() — Send an RPC request to the service for a specific method.
- getClassmap() — Retrieve classmap
- getCompressionOptions() — Get Compression options
- getEncoding() — Get encoding
- getEncodingMethod() — Get message encoding method
- getFunctions() — Return a list of available functions
- getHttpLogin() — Retrieve HTTP Login
- getHttpPassword() — Retrieve HTTP Password
- getHttpsCertPassphrase() — Get HTTPS client certificate passphrase
- getHttpsCertificate() — Get HTTPS client certificate path
- getLastMethod() — Retrieve last invoked method
- getLastRequest() — Retrieve request XML
- getLastRequestHeaders() — Retrieve request headers
- getLastResponse() — Get response XML
- getLastResponseHeaders() — Retrieve response headers (as string)
- getLastSoapOutputHeaderObjects() — Get last SOAP output headers
- getLocation() — Retrieve URI
- getOptions() — Return array of options suitable for using with SoapClient constructor
- getProxyHost() — Retrieve proxy host
- getProxyLogin() — Retrieve proxy login
- getProxyPassword() — Retrieve proxy password
- getProxyPort() — Retrieve proxy port
- getSoapClient() — Get SoapClient object
- getSoapFeatures() — Return current SOAP Features options
- getSoapVersion() — Get SOAP version
- getStreamContext() — Get Stream Context
- getStyle() — Get request style
- getTypemap() — Retrieve typemap
- getTypes() — Return a list of SOAP types
- getUri() — Retrieve URI
- getUserAgent() — Get current string to use in User-Agent header
- getWSDL() — Get wsdl
- getWSDLCache() — Get current SOAP WSDL Caching option
- resetSoapInputHeaders() — Reset SOAP input headers
- setClassmap() — Set classmap
- setCompressionOptions() — Set compression options
- setCookie() — Set cookie
- setEncoding() — Set encoding
- setEncodingMethod() — Set message encoding method
- setHttpLogin() — Set HTTP login
- setHttpPassword() — Set HTTP password
- setHttpsCertPassphrase() — Set HTTPS client certificate passphrase
- setHttpsCertificate() — Set HTTPS client certificate path
- setLocation() — Set Location
- setOptions() — Set Options
- setProxyHost() — Set proxy host
- setProxyLogin() — Set proxy login
- setProxyPassword() — Set proxy password
- setProxyPort() — Set proxy port
- setSoapClient() — Set SoapClient object
- setSoapFeatures() — Set the SOAP Feature options.
- setSoapVersion() — Set SOAP version
- setStreamContext() — Set Stream Context
- setStyle() — Set request style
- setTypemap() — Set typemap with xml to php type mappings with appropriate validation.
- setUri() — Set URI
- setUserAgent() — Set the string to use in User-Agent header
- setWSDL() — Set wsdl
- setWSDLCache() — Set the SOAP WSDL Caching Options
- validateUrn() — Check for valid URN