Class soap_parser

Description

soap_parser class parses SOAP XML messages into native PHP values

  • access: public
  • version: $Id: class.soap_parser.php,v 1.36 2005/08/04 01:27:42 snichol Exp $
  • author: Dietrich Ayala <dietrich@ganx4.com>

Located in /core/nusoap/lib/class.soap_parser.php (line 14)

nusoap_base
   |
   --soap_parser
Variable Summary
Method Summary
soap_parser soap_parser (string $xml, [string $encoding = 'UTF-8'], [string $method = ''], [string $decode_utf8 = true])
string getHeaders ()
mixed get_response ()
Variables
mixed $body_position = 0 (line 40)
mixed $debug_flag = true (line 37)
mixed $decode_utf8 = true (line 47)
mixed $default_namespace = '' (line 28)
mixed $depth = 0 (line 27)
mixed $depth_array = array() (line 36)
mixed $document = '' (line 23)
mixed $fault = false (line 32)
mixed $fault_code = '' (line 33)
mixed $fault_detail = '' (line 35)
mixed $fault_str = '' (line 34)
mixed $ids = array() (line 43)
mixed $message = array() (line 30)
mixed $method = '' (line 18)
mixed $multirefs = array() (line 45)
mixed $namespaces = array() (line 29)
mixed $parent = '' (line 31)
mixed $position = 0 (line 26)
mixed $responseHeaders = '' (line 39)
mixed $root_header = '' (line 22)
mixed $root_struct = '' (line 19)
mixed $root_struct_name = '' (line 20)
mixed $root_struct_namespace = '' (line 21)
mixed $soapresponse = NULL (line 38)
mixed $status = '' (line 25)
mixed $xml = '' (line 16)
mixed $xml_encoding = '' (line 17)
Methods
Constructor soap_parser (line 58)

constructor that actually does the parsing

  • access: public
soap_parser soap_parser (string $xml, [string $encoding = 'UTF-8'], [string $method = ''], [string $decode_utf8 = true])
  • string $xml: SOAP message
  • string $encoding: character encoding scheme of message
  • string $method: method for which XML is parsed (unused?)
  • string $decode_utf8: whether to decode UTF-8 to ISO-8859-1
getHeaders (line 440)

get the parsed headers

  • return: XML or empty if no headers
  • access: public
string getHeaders ()
get_response (line 430)

get the parsed message

  • access: public
mixed get_response ()

Documentation generated on Tue, 4 Oct 2005 21:58:55 -0700 by phpDocumentor 1.3.0RC3