| eZSOAPClient is a class which can be used as a SOAP client
More...
List of all members.
|
Public Methods |
| | eZSOAPClient ($server,$path,$port=80) |
| & | send ($request) |
| | setLogin ($login) |
| | login () |
| | setPassword ($password) |
| | password () |
Public Attributes |
|
| Server |
| | The name or IP of the server to communicate with.
|
|
| Path |
| | The path to the SOAP server.
|
|
| Port |
| | The port of the server to communicate with.
|
|
| Timeout = 0 |
| | How long to wait for the call.
|
|
| Login |
| | HTTP login for HTTP authentification.
|
|
| Password |
| | HTTP password for HTTP authentification.
|
Detailed Description
eZSOAPClient is a class which can be used as a SOAP client
eZSOAPClient handles communication with a SOAP server.
include_once( "lib/ezsoap/classes/ezsoapclient.php" );
include_once( "lib/ezsoap/classes/ezsoaprequest.php" );
$client = new eZSOAPClient( "nextgen.bf.dvh1.ez.no", "/sdk/ezsoap/view/server" );
$namespace = "http:
$request = new eZSOAPRequest( "addNumbers", "http:
$request->addParameter( "valueA", 42 );
$request->addParameter( "valueB", 17 );
$response =& $client->send( $request );
if ( $response->isFault() )
{
print( "SOAP fault: " . $response->faultCode(). " - " . $response->faultString() . "" );
}
else
print( "Returned SOAP value was: \"" . $response->value() . "\"" );
- See also:
-
eZSOAPResponse
Definition at line ezsoapclient.php.
Constructor & Destructor Documentation
| eZSOAPClient::eZSOAPClient |
( |
$ |
server, |
|
|
$ |
path, |
|
|
$ |
port = 80 |
|
) |
|
|
Member Function Documentation
| eZSOAPClient::password |
( |
|
) |
|
|
| & eZSOAPClient::send |
( |
$ |
request |
) |
|
|
| eZSOAPClient::setLogin |
( |
$ |
login |
) |
|
|
| eZSOAPClient::setPassword |
( |
$ |
password |
) |
|
|
The documentation for this class was generated from the following file:
|