Packageindex Classtrees Modulegroups Elementlist Report XML Files

soap_parser

nusoap_base
   |
  +-- soap_parser

public class soap_parser extends nusoap_base

AuthorsDietrich Ayala <dietricha@ganx4.com>
Versionv 0.051

 

Methods inherited from nusoap_base

nusoap_base, debug, geterror, seterror, serialize_val, serializeenvelope, timestamp_to_iso8601, iso8601_to_timestamp, formatdump

Public Method Summary

void soap_parser(string $xml, [ string $encoding ], string $method)
constructor
object SOAPx4 get_response()
get the parsed message
mixed getHeaders()
get the parsed headers

Private Method Summary

void start_element(string $parser, string $name, string $attrs)
start-element handler
void end_element(string $parser, string $name)
end-element handler
void character_data(string $parser, string $data)
element content handler
void decode_entities(string $text)
decodes entities
void buildVal(string $pos)
builds response structures for compound values (arrays/structs)
void buildSoapVal(string $pos)
for building SOAP header values

Fields inherited from nusoap_base

$soap_defencoding, $namespaces, $typemap, $xmlentities, $title, $version, $error_str, $charencoding

Public Method Details

soap_parser

public void soap_parser(string $xml, [ string $encoding ], string $method)

 

Parameter
string $xml
SOAP message
string $encoding = >>"UTF-8"<<
character encoding scheme of message
string $method
Warning: documentation is missing.
Returns void


get_response

public object SOAPx4 get_response()

 

Returns object SOAPx4

soap_val object


getHeaders

public mixed getHeaders()

 

Returns mixed

object SOAPx4 soapval object or empty if no headers


Private Method Details

start_element

private void start_element(string $parser, string $name, string $attrs)

 

Parameter
string $parser
XML parser object
string $name
element name
string $attrs
associative array of attributes
Returns void


end_element

private void end_element(string $parser, string $name)

 

Parameter
string $parser
XML parser object
string $name
element name
Returns void


character_data

private void character_data(string $parser, string $data)

 

Parameter
string $parser
XML parser object
string $data
element content
Returns void


decode_entities

private void decode_entities(string $text)

 

Parameter
string $text
string to translate
Returns void


buildVal

private void buildVal(string $pos)

 

Parameter
string $pos
position in node tree
Returns void


buildSoapVal

private void buildSoapVal(string $pos)

 

Parameter
string $pos
position in node tree
Returns void



Packageindex Classtrees Modulegroups Elementlist Report XML Files
Generated on Mon, 22 Apr 2002 16:07:52 -0700 by PHPDoc v1.5 www.phpdoc.de