eZPublishCommunityProject(LegacyStack)  2013.5
eZSOAPResponse Class Reference

eZSOAPResponse handles SOAP response packages More...

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

Public Member Functions

 decodeStream ($request, $stream)
 
 eZSOAPResponse ($name="", $namespace="")
 
 faultCode ()
 
 faultString ()
 
 isFault ()
 
 payload ()
 
 setValue ($value)
 
 value ()
 
- Public Member Functions inherited from eZSOAPEnvelope
 eZSOAPEnvelope ()
 

Static Public Member Functions

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

Public Attributes

 $DOMDocument = false
 Contains the DOM document for the current SOAP response. More...
 
 $FaultCode = false
 Contains the fault code. More...
 
 $FaultString = false
 Contains fault string. More...
 
 $IsFault = false
 Contains true if the response was an fault. More...
 
 $Name
 Contains the name of the response, i.e. function call name. More...
 
 $Namespace
 Contains the target namespace for the response. More...
 
 $Type = false
 Contains the response type. More...
 
 $Value = false
 Contains the response value. More...
 
- Public Attributes inherited from eZSOAPEnvelope
 $Body
 Contains the body object. More...
 
 $Header
 Contains the header object. More...
 
const ENC = "http://schemas.xmlsoap.org/soap/encoding/"
 
const ENC_PREFIX = "SOAP-ENC"
 
const ENV = "http://schemas.xmlsoap.org/soap/envelope/"
 
const ENV_PREFIX = "SOAP-ENV"
 
const INT = 1
 
const SCHEMA_DATA = "http://www.w3.org/2001/XMLSchema"
 
const SCHEMA_INSTANCE = "http://www.w3.org/2001/XMLSchema-instance"
 
const STRING = 2
 
const XSD_PREFIX = "xsd"
 
const XSI_PREFIX = "xsi"
 

Static Private Member Functions

 stripHTTPHeader ($data)
 

Detailed Description

eZSOAPResponse handles SOAP response packages

Member Function Documentation

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

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

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

eZSOAPResponse::decodeStream (   $request,
  $stream 
)

Decodes the SOAP response stream

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

Constructs a new SOAP response

eZSOAPResponse::faultCode ( )

Returns the fault code

eZSOAPResponse::faultString ( )

Returns the fault string

eZSOAPResponse::isFault ( )

Returns true if the response was a fault

eZSOAPResponse::payload ( )

Returns the XML payload for the response.

eZSOAPResponse::setValue (   $value)

Sets the value of the response.

eZSOAPResponse::stripHTTPHeader (   $data)
staticprivate

Strips the header information from the HTTP raw response.

Referenced by decodeStream().

eZSOAPResponse::value ( )

Returns the response value.

Member Data Documentation

eZSOAPResponse::$DOMDocument = false

Contains the DOM document for the current SOAP response.

eZSOAPResponse::$FaultCode = false

Contains the fault code.

Referenced by faultCode().

eZSOAPResponse::$FaultString = false

Contains fault string.

Referenced by faultString().

eZSOAPResponse::$IsFault = false

Contains true if the response was an fault.

Referenced by isFault().

eZSOAPResponse::$Name

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

eZSOAPResponse::$Namespace

Contains the target namespace for the response.

eZSOAPResponse::$Type = false

Contains the response type.

eZSOAPResponse::$Value = false

Contains the response value.

Referenced by value().


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