SOAPTable of Contents
The SoapClient classIntroductionThe SoapClient class provides a client for » SOAP 1.1, » SOAP 1.2 servers. It can be used in WSDL or non-WSDL mode. Class synopsisSoapClient
class SoapClient
{
/* Methods */
public mixed __call
( string
$function_name
, string $arguments
)
public SoapClient
( mixed
$wsdl
[, array $options
] )
public string __doRequest
( string
$request
, string $location
, string $action
, int $version
[, int $one_way = 0
] )
public array __getFunctions
( void
)
public string __getLastRequest
( void
)
public string __getLastRequestHeaders
( void
)
public string __getLastResponse
( void
)
public string __getLastResponseHeaders
( void
)
public array __getTypes
( void
)
public void __setCookie
( string
$name
[, string $value
] )
public string __setLocation
([ string
$new_location
] )
public bool __setSoapHeaders
([ mixed
$soapheaders
] )
public mixed __soapCall
( string
$function_name
, array $arguments
[, array $options
[, mixed $input_headers
[, array &$output_headers
]]] )
public SoapClient
( mixed
}$wsdl
[, array $options
] )The SoapServer classIntroductionThe SoapServer class provides a server for the » SOAP 1.1 and » SOAP 1.2 protocols. It can be used with or without a WSDL service description. Class synopsisSoapServer
class SoapServer
{
/* Methods */
public void addFunction
( mixed
$functions
)
public void addSoapHeader
( SoapHeader
$object
)
public __construct
( mixed
$wsdl
[, array $options
] )
public void fault
( string
$code
, string $string
[, string $actor
[, string $details
[, string $name
]]] )
public array getFunctions
( void
)
public void handle
([ string
$soap_request
] )
public void setClass
( string
$class_name
[, mixed $args
[, mixed $...
]] )
public void setObject
( object
$object
)
public void setPersistence
( int
$mode
)
public SoapServer
( mixed
}$wsdl
[, array $options
] )The SoapFault classIntroductionRepresents a SOAP fault. Class synopsisSoapFault
class SoapFault
extends
Exception
{
/* Inherited properties */
protected
string
$message
;
protected
int
$code
;
protected
string
$file
;
protected
int
$line
;
/* Methods */
__construct
( string
$faultcode
, string $faultstring
[, string $faultactor
[, string $detail
[, string $faultname
[, string $headerfault
]]]] )
SoapFault
( string
$faultcode
, string $faultstring
[, string $faultactor
[, string $detail
[, string $faultname
[, string $headerfault
]]]] )
public string __toString
( void
)
/* Inherited methods */
final public string Exception::getMessage
( void
)
final public Throwable Exception::getPrevious
( void
)
final public mixed Exception::getCode
( void
)
final public string Exception::getFile
( void
)
final public int Exception::getLine
( void
)
final public array Exception::getTrace
( void
)
final public string Exception::getTraceAsString
( void
)
public string Exception::__toString
( void
)
final private void Exception::__clone
( void
)
}The SoapHeader classIntroductionRepresents a SOAP header. Class synopsisSoapHeader
class SoapHeader
{
/* Methods */
__construct
( string
$namespace
, string $name
[, mixed $data
[, bool $mustunderstand
[, string $actor
]]] )
SoapHeader
( string
}$namespace
, string $name
[, mixed $data
[, bool $mustunderstand = false
[, string $actor
]]] )The SoapParam classIntroductionRepresents parameter to a SOAP call. Class synopsisSoapParam
class SoapParam
{
/* Methods */
__construct
( mixed
$data
, string $name
)
SoapParam
( mixed
}$data
, string $name
)The SoapVar classIntroductionA class representing a variable or object for use with SOAP services. Class synopsisSoapVar
class SoapVar
{
/* Methods */
__construct
( mixed
$data
, string $encoding
[, string $type_name
[, string $type_namespace
[, string $node_name
[, string $node_namespace
]]]] )
SoapVar
( mixed
}$data
, string $encoding
[, string $type_name
[, string $type_namespace
[, string $node_name
[, string $node_namespace
]]]] ) |