SoapServer::addFunction

(PHP 5 >= 5.0.1, PHP 7) Adds one or more functions to handle SOAP requests public void SoapServer::addFunction ( mixed $functions ) Exports one or more functions for remote clients Parameters: functions To export one function, pass the function name into this parameter as a string. To export several functions, pass an array of function names. To export all the fun

SoapClient::SoapClient

(PHP 5 >= 5.0.1, PHP 7) SoapClient constructor public SoapClient::SoapClient ( mixed $wsdl [, array $options ] ) This constructor creates SoapClient objects in WSDL or non-WSDL mode. Parameters: wsdl URI of the WSDL file or NULL if working in non-WSDL mode. Note: During development, WSDL caching may be disabled by the use of the soap.wsdl_cache_ttl php.ini setting

SoapClient::__soapCall

(PHP 5 >= 5.0.1, PHP 7) Calls a SOAP function public mixed SoapClient::__soapCall ( string $function_name, array $arguments [, array $options [, mixed $input_headers [, array &$output_headers ]]] ) This is a low level API function that is used to make a SOAP call. Usually, in WSDL mode, SOAP functions can be called as methods of the SoapClient object. This method is useful in non-WSDL mode when soapaction is unknown,

SoapClient::__setSoapHeaders

(PHP 5 >= 5.0.5, PHP 7) Sets SOAP headers for subsequent calls public bool SoapClient::__setSoapHeaders ([ mixed $soapheaders ] ) Defines headers to be sent along with the SOAP requests. Note: Calling this method will replace any previous values. Parameters: soapheaders The headers to be set. It could be SoapHeader object or array of SoapHeader objects. If not spe

SoapClient::__setLocation

(PHP 5 >= 5.0.1, PHP 7) Sets the location of the Web service to use public string SoapClient::__setLocation ([ string $new_location ] ) Sets the endpoint URL that will be touched by following SOAP requests. This is equivalent to specifying the location option when constructing the SoapClient. Note: Calling this method is optional. The SoapClient uses the endpoint from the WSDL file by default. Parame

SoapClient::__setCookie

(PHP 5 >= 5.0.4, PHP 7) The __setCookie purpose public void SoapClient::__setCookie ( string $name [, string $value ] ) Defines a cookie to be sent along with the SOAP requests. Note: Calling this method will affect all following calls to SoapClient methods. Parameters: name The name of the cookie. value The value of the cookie

SoapClient::__getTypes

(PHP 5 >= 5.0.1, PHP 7) Returns a list of SOAP types public array SoapClient::__getTypes ( void ) Returns an array of types described in the WSDL for the Web service. Note: This function only works in WSDL mode. Returns: The array of SOAP types, detailing all structures and types. Examples: SoapClient::__getTypes() example

SoapClient::__getLastResponseHeaders

(PHP 5 >= 5.0.1, PHP 7) Returns the SOAP headers from the last response public string SoapClient::__getLastResponseHeaders ( void ) Returns the SOAP headers from the last response. Note: This function only works if the SoapClient object was created with the trace option set to TRUE. Returns: The last SOAP response headers. Examples:

SoapClient::__getLastResponse

(PHP 5 >= 5.0.1, PHP 7) Returns last SOAP response public string SoapClient::__getLastResponse ( void ) Returns the XML received in the last SOAP response. Note: This method works only if the SoapClient object was created with the trace option set to TRUE. Returns: The last SOAP response, as an XML string. Examples: SoapClient:

SoapClient::__getLastRequestHeaders

(PHP 5 >= 5.0.1, PHP 7) Returns the SOAP headers from the last request public string SoapClient::__getLastRequestHeaders ( void ) Returns the SOAP headers from the last request. Note: This function only works if the SoapClient object was created with the trace option set to TRUE. Returns: The last SOAP request headers. Examples: