Class: VSOAPVWPTypeTranslator

Source Location: /libraries/vwp/net/dre/translators/soap/vwptype.php

Class Overview [line 35]

VType
   |
   --VObject
      |
      --VSOAPTranslator
         |
         --VSOAPVWPTypeTranslator

Virtual Web Platform - VWP Type SOAP Translator

Author(s):

Version:

Copyright:

  • (c) Ralph Ritoch - All Rights Reserved

Variables

Constants

Methods


Inherited Variables

Inherited Constants

Inherited Methods

Class: VObject

VObject::__construct()
Class Constructor
VObject::bind()
Bind values to this object
VObject::delete()
Delete Object
VObject::get()
Get value
VObject::getAll()
Get all object values
VObject::getError()
Get error message
VObject::getErrors()
Get errors
VObject::getMethods()
Get object methods
VObject::getProperties()
Get object properties
VObject::save()
Save Object
VObject::set()
Set a value
VObject::setError()
Set error value
VObject::setProperties()
Set property values
VObject::setProperty()
Set property value
VObject::toString()
Convert object to string
VObject::__destruct()
Class Destructor
VObject::__get()
VObject::__isset()
VObject::__set()
VObject::__toString()
Return object as a string
VObject::__unset()


Class Details

Virtual Web Platform - VWP Type SOAP Translator

This class provides the default VWP type translator

Tags:

[ Top ]


Class Variables

$_arrayItemID =  'keyval'

[line 45]

Array item element

Tags:

  • var - Array item ID
  • access - public

Type: string

Overrides:

[ Top ]

$_dataNS =  'http://standards.vnetpublishing.com/schemas/soap/2010/102/vwp-soap-types'

[line 63]

VWP Data Type Namespace

Tags:

  • var - VWP Data Type Namespace
  • access - public

Type: string

Overrides:

[ Top ]

$_header_error =  null

[line 99]

Header error buffer

Tags:

  • var - Header error
  • access - public

Type: mixed

Overrides:

[ Top ]

$_schemaNS =  'http://www.w3.org/2001/XMLSchema'

[line 72]

Schema Namespace

Tags:

  • var - Schema namespace
  • access - public

Type: string

Overrides:

[ Top ]

$_secNS =  'http://standards.vnetpublishing.com/schemas/soap/2010/102/vwp-soap-security'

[line 54]

VWP Security Namespace

Tags:

  • var - VWP Security Namespace
  • access - public

Type: string

Overrides:

[ Top ]

$_soapNS =  "http://schemas.xmlsoap.org/soap/envelope"

[line 81]

Soap v1.0 namespace

Tags:

  • var - Soap namespace
  • access - public

Type: string

Overrides:

[ Top ]

$_soapNS2 =  "http://schemas.xmlsoap.org/soap/envelope/"

[line 90]

Soap v1.1 namespace

Tags:

  • var - Soap namespace
  • access - public

Type: string

Overrides:

[ Top ]


Class Methods

static bindParams

static object Soap bindParams( string $method, array $encparams, string $targetNS)

[line 342]

Create a SOAP message

Tags:

  • return - encoded object
  • access - public

Parameters:

  • string $method - Method to call
  • array $encparams - Encoded parameters
  • string $targetNS - Target Namespace

[ Top ]

static encodeParam

static object Soap encodeParam( mixed $value, string $type, $typeNamespace, string $name, string $targetNamespace, string $typeNS)

[line 264]

Encode a SOAP parameter

Tags:

  • return - encoded object
  • access - public

Parameters:

  • mixed $value - Parameter value
  • string $type - Parameter type
  • string $typeNS - Parameter type Namespace
  • string $name - Paramter Name
  • string $targetNamespace - Target Namespace
  • $typeNamespace -

[ Top ]

decodeArray

array decodeArray( object $data)

[line 163]

Decode array

Tags:

  • return - Decoded array
  • access - public

Parameters:

  • object $data - Encoded array

[ Top ]

decodeMap

array decodeMap( object $map)

[line 187]

Decode map type

Tags:

  • return - Decoded map

Parameters:

  • object $map - Map object

[ Top ]

decodeRequest

mixed decodeRequest( string $method, mixed $ob, string $rtype, object $service, object $server)

[line 390]

Decode soap request

Tags:

  • return - decoded request
  • access - public

Overrides VSOAPTranslator::decodeRequest() (Decode Request)

Parameters:

  • string $method - Method
  • mixed $ob - Request data
  • string $rtype - Data type
  • object $service - Service object
  • object $server - Server object

[ Top ]

decodeResponse

mixed decodeResponse( string $method, mixed $data)

[line 564]

Decode a SOAP response

Tags:

  • return - Decoded SOAP Response
  • access - public

Overrides VSOAPTranslator::decodeResponse() (Decode Response)

Parameters:

  • string $method - Method
  • mixed $data - Raw SOAP response

[ Top ]

decodeResponseHeaders

array decodeResponseHeaders( string $responseXML)

[line 730]

Decode Response Headers

Tags:

  • return - Response headers
  • access - public

Overrides VSOAPTranslator::decodeResponseHeaders() (Decode Response Headers)

Parameters:

  • string $responseXML - response XML

[ Top ]

decodeString

void decodeString( string $data)

[line 149]

Decode string

Tags:

  • access - public

Parameters:

  • string $data - String value

[ Top ]

decodeTable

array decodeTable( object $table)

[line 228]

Decode data table

Tags:

  • return - Data table
  • access - public

Parameters:

  • object $table - Table object

[ Top ]

encodeArray

object Soap encodeArray( array $value, string $name, string $targetNS)

[line 478]

Encode array

Tags:

  • return - encoded array

Parameters:

  • array $value - Value
  • string $name - Field name
  • string $targetNS - Target namespace

[ Top ]

encodeBoolean

object Soap encodeBoolean( boolean $value, string $name, string $targetNS)

[line 447]

Encode Boolean Type

Tags:

  • return - encoded boolean
  • access - public

Parameters:

  • boolean $value - Value
  • string $name - Field name
  • string $targetNS - Target Namespace

[ Top ]

encodeDataTable

object Soap encodeDataTable( array $value, string $name, string $targetNS)

[line 535]

Encode data table

Tags:

  • return - encoded data table
  • access - public

Parameters:

  • array $value - Data
  • string $name - Field name
  • string $targetNS - Target namespace

[ Top ]

encodeMap

object Soap encodeMap( array $value, string $name, string $targetNS)

[line 498]

Encode mapping

Tags:

  • return - encoded mapping
  • access - public

Parameters:

  • array $value - Map data
  • string $name - Field name
  • string $targetNS - Target namespace

[ Top ]

encodeRequest

object Soap encodeRequest( string $method, mixed $params, string $targetNS)

[line 368]

Encode Request

Tags:

  • return - encoded request
  • access - public

Overrides VSOAPTranslator::encodeRequest() (Encode Request)

Parameters:

  • string $method - Method
  • mixed $params - Parameters
  • string $targetNS - Target namespace

[ Top ]

encodeRequestHeaders

array encodeRequestHeaders( mixed $headers)

[line 703]

Encode request headers

Tags:

  • return - Request Headers
  • access - public

Overrides VSOAPTranslator::encodeRequestHeaders() (Encode request headers)

Parameters:

  • mixed $headers - Request headers

[ Top ]

encodeResponse

mixed encodeResponse( string $method, mixed $ob, string $rtype, object $service, object $server)

[line 657]

Encode soap response

Tags:

  • return - Encoded response
  • access - public

Overrides VSOAPTranslator::encodeResponse() (Encode Response)

Parameters:

  • string $method - Method
  • mixed $ob - Data
  • string $rtype - Data type
  • object $service - Service object
  • object $server - Server object

[ Top ]

encodeString

object Soap encodeString( string $value, string $name, string $targetNS)

[line 463]

Encode string

Tags:

  • return - encoded string
  • access - public

Parameters:

  • string $value - Value
  • string $name - Field name
  • string $targetNS - Target namespace

[ Top ]

ob2array

array ob2array( object $ob)

[line 109]

Convert Object to Array

Tags:

  • return - Object data
  • access - public

Parameters:

  • object $ob - Object

[ Top ]

_decodeRequestHeaders

void _decodeRequestHeaders( string $method, object $service, object $server)

[line 937]

Decode request headers

Tags:

  • access - public

Parameters:

  • string $method - Method
  • object $service - Service object
  • object $server - Server Object

[ Top ]

_encodeResponseHeaders

void _encodeResponseHeaders( string $method, object $service, object $server)

[line 980]

Encode response headers

Tags:

  • access - public

Parameters:

  • string $method - Method
  • object $service - Service object
  • object $server - Server object

[ Top ]

_getSecurityRequestHeader

array _getSecurityRequestHeader( object $doc)

[line 869]

Get security request header

Tags:

  • return - request header
  • access - public

Parameters:

  • object $doc - Request document

[ Top ]


Class Constants


Documentation generated on Sun, 06 Mar 2011 02:22:31 -0600 by phpDocumentor 1.4.3