eZ Publish  [trunk]
eZSOAPResponse Class Reference

eZSOAPResponse handles SOAP response packages More...

+ Inheritance diagram for eZSOAPResponse:
+ Collaboration diagram for eZSOAPResponse:

List of all members.

Public Member Functions

 decodeStream ($request, $stream)
 eZSOAPResponse ($name="", $namespace="")
 faultCode ()
 faultString ()
 isFault ()
 payload ()
 setValue ($value)
 value ()

Static Public Member Functions

static decodeDataTypes ($node, $type="")

Public Attributes

 $DOMDocument = false
 Contains the DOM document for the current SOAP response.
 $FaultCode = false
 Contains the fault code.
 $FaultString = false
 Contains fault string.
 $IsFault = false
 Contains true if the response was an fault.
 $Name
 Contains the name of the response, i.e. function call name.
 $Namespace
 Contains the target namespace for the response.
 $Type = false
 Contains the response type.
 $Value = false
 Contains the response value.

Static Private Member Functions

 stripHTTPHeader ($data)

Detailed Description

eZSOAPResponse handles SOAP response packages

Definition at line 18 of file ezsoapresponse.php.


Member Function Documentation

static eZSOAPResponse::decodeDataTypes ( node,
type = "" 
) [static]

Decodes a DOM node and returns the PHP datatype instance of it.

Definition at line 115 of file ezsoapresponse.php.

Referenced by decodeStream(), and eZSOAPServer\processRequest().

eZSOAPResponse::decodeStream ( request,
stream 
)

Decodes the SOAP response stream

Definition at line 35 of file ezsoapresponse.php.

eZSOAPResponse::eZSOAPResponse ( name = "",
namespace = "" 
)

Constructs a new SOAP response

Definition at line 23 of file ezsoapresponse.php.

Returns the fault code

Definition at line 330 of file ezsoapresponse.php.

Returns the fault string

Definition at line 338 of file ezsoapresponse.php.

Returns true if the response was a fault

Definition at line 322 of file ezsoapresponse.php.

Returns the XML payload for the response.

Definition at line 227 of file ezsoapresponse.php.

Sets the value of the response.

Definition at line 314 of file ezsoapresponse.php.

eZSOAPResponse::stripHTTPHeader ( data) [static, private]

Strips the header information from the HTTP raw response.

Definition at line 283 of file ezsoapresponse.php.

Referenced by decodeStream().

Returns the response value.

Definition at line 306 of file ezsoapresponse.php.


Member Data Documentation

eZSOAPResponse::$DOMDocument = false

Contains the DOM document for the current SOAP response.

Definition at line 359 of file ezsoapresponse.php.

eZSOAPResponse::$FaultCode = false

Contains the fault code.

Definition at line 350 of file ezsoapresponse.php.

eZSOAPResponse::$FaultString = false

Contains fault string.

Definition at line 348 of file ezsoapresponse.php.

eZSOAPResponse::$IsFault = false

Contains true if the response was an fault.

Definition at line 352 of file ezsoapresponse.php.

eZSOAPResponse::$Name

Contains the name of the response, i.e. function call name.

Definition at line 354 of file ezsoapresponse.php.

eZSOAPResponse::$Namespace

Contains the target namespace for the response.

Definition at line 356 of file ezsoapresponse.php.

eZSOAPResponse::$Type = false

Contains the response type.

Definition at line 346 of file ezsoapresponse.php.

eZSOAPResponse::$Value = false

Contains the response value.

Definition at line 344 of file ezsoapresponse.php.


The documentation for this class was generated from the following file: