soapclientsoapclient higher level class for easy usage.
usage:
// instantiate client with server info $soapclient = new soapclient( string path [ ,boolean wsdl] );
// call method, get results echo $soapclient->call( string methodname [ ,array parameters] );
// bye bye client unset($soapclient);
Located in /nusoap.php (line 6322)
nusoap_base | --soapclient
| Class | Description |
|---|---|
soapclientmime
|
soapclientmime client supporting MIME attachments defined at http://www.w3.org/TR/SOAP-attachments. It depends on the PEAR Mail_MIME library. |
soapclient
soapclient
(mixed $endpoint, [bool $wsdl = false], [string $proxyhost = false], [string $proxyport = false], [string $proxyusername = false], [string $proxypassword = false], integer $timeout, [integer $response_timeout = 30], int $portName)
mixed
call
(mixed $operation, [mixed $params = array()], [string $namespace = 'http://tempuri.org'], [string $soapAction = ''], [mixed $headers = false], [boolean $rpcParams = null], [string $style = 'rpc'], [string $use = 'encoded'], string $method)
mixed
send
(string $msg, [string $soapaction = ''], integer $timeout, [integer $response_timeout = 30])
void
setCredentials
(string $username, string $password, [string $authtype = 'basic'], [array $certRequest = array()])
void
setHTTPProxy
(string $proxyhost, string $proxyport, [string $proxyusername = ''], [string $proxypassword = ''])
mixed
$authtype
= '' (line 6326)
mixed
$certRequest
= array() (line 6327)
mixed
$cookies
= array() (line 6347)
mixed
$decode_utf8
= true (line 6348)
mixed
$defaultRpcParams
= false (line 6343)
mixed
$document
= '' (line 6330)
mixed
$endpoint
(line 6331)
mixed
$endpointType
= '' (line 6341)
fault
$fault
(line 6358)
faultcode
$faultcode
(line 6363)
faultdetail
$faultdetail
(line 6373)
faultstring
$faultstring
(line 6368)
mixed
$forceEndpoint
= '' (line 6332)
mixed
$http_encoding
= false (line 6338)
mixed
$operations
= array() (line 6349)
mixed
$password
= '' (line 6325)
mixed
$persistentConnection
= false (line 6342)
mixed
$proxyhost
= '' (line 6333)
mixed
$proxypassword
= '' (line 6336)
mixed
$proxyport
= '' (line 6334)
mixed
$proxyusername
= '' (line 6335)
mixed
$request
= '' (line 6344)
mixed
$requestHeaders
= false (line 6328)
mixed
$response
= '' (line 6345)
mixed
$responseData
= '' (line 6346)
mixed
$responseHeaders
= '' (line 6329)
mixed
$response_timeout
= 30 (line 6340)
mixed
$timeout
= 0 (line 6339)
mixed
$username
= '' (line 6324)
mixed
$xml_encoding
= '' (line 6337)
Inherited from nusoap_base
nusoap_base::$charencoding
nusoap_base::$debugLevel
nusoap_base::$debug_str
nusoap_base::$error_str
nusoap_base::$namespaces
nusoap_base::$revision
nusoap_base::$soap_defencoding
nusoap_base::$title
nusoap_base::$typemap
nusoap_base::$usedNamespaces
nusoap_base::$version
nusoap_base::$xmlEntities
nusoap_base::$XMLSchemaVersion
constructor
calls method, returns PHP native type
checks all Cookies and delete those which are expired
gets the default RPC parameter setting.
If true, default is that call params are like RPC even for document style. Each call() can override this value.
This is no longer used.
get the SOAP response headers (namespace resolution incomplete)
gets the HTTP body for the current request.
gets the HTTP content type for the current request.
Note: getHTTPBody must be called before this.
gets the HTTP content type charset for the current request.
returns false for non-text content types.
Note: getHTTPBody must be called before this.
get available data pertaining to an operation
dynamically creates an instance of a proxy class, allowing user to directly call methods from wsdl
processes SOAP message returned from server
send the SOAP message
Note: if the operation has multiple return values the return value of this method will be an array of those values.
adds a new Cookie into $this->cookies array
if authenticating, set user credentials here
sets the default RPC parameter setting.
If true, default is that call params are like RPC even for document style Each call() can override this value.
This is no longer used.
sets the SOAP endpoint, which can override WSDL
set the SOAP headers
use HTTP encoding
set proxy info here
updates the current cookies with a new set
use HTTP persistent connections if possible
dynamically creates proxy class code
Inherited From nusoap_base
nusoap_base::nusoap_base()
nusoap_base::appendDebug()
nusoap_base::clearDebug()
nusoap_base::contractQname()
nusoap_base::debug()
nusoap_base::expandEntities()
nusoap_base::expandQname()
nusoap_base::formatDump()
nusoap_base::getDebug()
nusoap_base::getDebugAsXMLComment()
nusoap_base::getDebugLevel()
nusoap_base::getError()
nusoap_base::getGlobalDebugLevel()
nusoap_base::getLocalPart()
nusoap_base::getmicrotime()
nusoap_base::getNamespaceFromPrefix()
nusoap_base::getPrefix()
nusoap_base::getPrefixFromNamespace()
nusoap_base::isArraySimpleOrStruct()
nusoap_base::serializeEnvelope()
nusoap_base::serialize_val()
nusoap_base::setDebugLevel()
nusoap_base::setError()
nusoap_base::setGlobalDebugLevel()
nusoap_base::varDump()
Documentation generated on Wed, 3 Aug 2005 21:29:36 -0400 by phpDocumentor 1.3.0RC3