Packageindex Classtrees Modulegroups Elementlist Report XML Files

soap_parser

nusoap_base
   |
  +-- soap_parser

public class soap_parser extends nusoap_base

soap_parser class parses SOAP XML messages

AuthorsDietrich Ayala <dietricha@ganx4.com>
Versionv 0.051

 

Methods inherited from nusoap_base

nusoap_base, debug, geterror, seterror, serialize_val, serializeenvelope, soapclient, call, getoperationdata, send, parseresponse, setheaders, sethttpproxy, setcredentials, getproxy, soapval, serialize, decode, soap_transport_http, setsoapaction, setproxy, sendhttps, soap_server, service, parse_request, verify_method, add_to_map, register, fault, webdescription, configurewsdl, xmlschema, parsefile, parsestring, schemastartelement, schemaendelement, schemacharacterdata, serializeschema, expandqname, xdebug, getphptype, getlocalpart, getprefix, getnamespacefromprefix, getprefixfromnamespace, gettypedef, serializetypedef, typetoform, wsdl, parsewsdl, getoperations, serializerpcparameters, serializetype, soap_fault, timestamp_to_iso8601, iso8601_to_timestamp, formatdump, lib_bwcheck, makeobj, b_writeit, popup, popout, getbindingdata, getmessagedata

Public Method Summary

void soap_parser(string $xml, [ string $encoding ], string $method)
constructorWarning: documentation is missing.
object SOAPx4 get_response()
get the parsed messageWarning: documentation is missing.
mixed getHeaders()
get the parsed headersWarning: documentation is missing.

Private Method Summary

void start_element(string $parser, string $name, string $attrs)
start-element handlerWarning: documentation is missing.
void end_element(string $parser, string $name)
end-element handlerWarning: documentation is missing.
void character_data(string $parser, string $data)
element content handlerWarning: documentation is missing.
void decode_entities(string $text)
decodes entitiesWarning: documentation is missing.
void buildVal(string $pos)
builds response structures for compound values (arrays/structs)Warning: documentation is missing.
void buildSoapVal(string $pos)
for building SOAP header valuesWarning: documentation is missing.

Fields inherited from nusoap_base

$soap_defencoding, $namespaces, $typemap, $xmlentities, $fault, $title, $version, $error_str, $username, $password, $requestheaders, $responseheaders, $endpoint, $portname, $url, $operations, $headers, $request, $xml_encoding, $result, $faultcode, $faultactor, $faultstring, $faultdetail

Included files inherited from nusoap_base

class.soap_transport_http.php

Public Method Details

soap_parser

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

  constructor

Warning: documentation is missing.

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()

  get the parsed message

Warning: documentation is missing.

Returns object SOAPx4

soap_val object


getHeaders

public mixed getHeaders()

  get the parsed headers

Warning: documentation is missing.

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)

  start-element handler

Warning: documentation is missing.

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)

  end-element handler

Warning: documentation is missing.

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


character_data

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

  element content handler

Warning: documentation is missing.

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


decode_entities

private void decode_entities(string $text)

  decodes entities

Warning: documentation is missing.

Parameter
string $text
string to translate
Returns void


buildVal

private void buildVal(string $pos)

  builds response structures for compound values (arrays/structs)

Warning: documentation is missing.

Parameter
string $pos
position in node tree
Returns void


buildSoapVal

private void buildSoapVal(string $pos)

  for building SOAP header values

Warning: documentation is missing.

Parameter
string $pos
position in node tree
Returns void



Packageindex Classtrees Modulegroups Elementlist Report XML Files
PHPDoc 1.0beta