Overview

Packages

  • akismet
  • None
  • PHP
  • Smarty
    • Cacher
    • Compiler
    • Config
    • Debug
    • plugins
    • PluginsBlock
    • PluginsFilter
    • PluginsFunction
    • PluginsInternal
    • PluginsModifier
    • PluginsModifierCompiler
    • PluginsShared
    • Security
    • Template
    • TemplateResources
  • Swift
    • ByteStream
    • CharacterStream
    • Encoder
    • Events
    • KeyCache
    • Mailer
    • Mime
    • Plugins
    • Signatures
    • Signed
    • Transport
  • wa-apps
    • blog
      • actions
        • backend
        • blog
        • comment
        • cron
        • design
        • frontend
        • page
        • plugin
        • post
      • api
        • v1
      • cli
      • layout
      • model
      • plugin
        • aksimet
        • category
        • emailsubscription
        • favorite
        • gravatar
        • import
        • markdown
        • myposts
        • tag
        • troll
      • settings
    • checklists
      • backend
      • json
    • contacts
      • backend
    • developer
    • dummy
    • guestbook
    • guestbook2
    • photos
      • album
      • api
        • v1
      • backend
      • design
      • dialog
      • frontend
      • page
      • photo
      • plugin
        • comment
        • imageeffects
        • import
        • publicgallery
        • watermark
      • search
      • settings
      • stack
      • tag
      • upload
    • site
      • backend
      • blocks
      • config
      • design
      • domains
      • files
      • frontend
      • helper
      • layout
      • pages
      • routing
      • setting
    • stickies
      • api
        • v1
      • sheet
      • stiky
  • wa-plugin
    • payment
    • shipping
    • sms
  • wa-plugins
    • shipping
      • usps
  • wa-system
    • API
    • Auth
      • Adapters
    • Autoload
    • Cache
      • Adapter
    • Captcha
    • Config
    • Contact
    • controller
    • currency
    • database
    • datetime
    • design
    • event
    • exception
    • files
    • image
    • layout
    • locale
    • log
    • mail
    • page
      • action
      • model
    • payment
    • plugin
    • request
    • response
    • routing
    • shipping
    • sms
    • storage
    • user
    • util
    • validator
    • view
    • webasyst
      • api
      • backend
      • cli
      • config
      • layout
      • login
      • model
      • password
      • payment
      • profile
      • settings
      • shipment
    • widget
    • workflow
  • waPlugins
    • Payment
  • webasyst
    • wa-system
      • helper

Classes

  • cancelBill
  • cancelBillResponse
  • checkBill
  • checkBillResponse
  • createBill
  • createBillResponse
  • getBillList
  • getBillListResponse
  • idna_convert
  • IShopClientWSService
  • IShopServerWSService
  • nusoap_base
  • nusoap_client
  • nusoap_fault
  • nusoap_parser
  • nusoap_server
  • nusoap_xmlschema
  • ReCaptchaResponse
  • Smarty_Internal_Configfileparser
  • Smarty_Internal_Templateparser
  • soap_fault
  • soap_parser
  • soap_server
  • soap_transport_http
  • soapclient
  • soapval
  • TP_yyStackEntry
  • TPC_yyStackEntry
  • updateBill
  • updateBillResponse
  • waIdna
  • wsdl
  • xmlrpc_client
  • xmlrpcmsg
  • xmlrpcresp
  • xmlrpcval
  • XMLSchema

Functions

  • _recaptcha_aes_encrypt
  • _recaptcha_aes_pad
  • _recaptcha_http_post
  • _recaptcha_mailhide_email_parts
  • _recaptcha_mailhide_urlbase64
  • _recaptcha_qsencode
  • _swiftmailer_init
  • decode_chunked
  • generateUpToDateMimeArray
  • guess_encoding
  • is_valid_charset
  • iso8601_decode
  • iso8601_encode
  • iso8601_to_timestamp
  • php_xmlrpc_decode
  • php_xmlrpc_decode_xml
  • php_xmlrpc_encode
  • recaptcha_check_answer
  • recaptcha_get_html
  • recaptcha_get_signup_url
  • recaptcha_mailhide_html
  • recaptcha_mailhide_url
  • smarty_block_wa_js
  • smarty_function_escape_special_chars
  • smarty_function_wa_action
  • smarty_function_wa_block
  • smarty_function_wa_header
  • smarty_function_wa_pagination
  • smarty_function_wa_print_tree
  • smarty_function_wa_snippet
  • smarty_gettext_s_translate
  • smarty_gettext_translate
  • smarty_prefilter_content_nofilter
  • smarty_prefilter_translate
  • timestamp_to_iso8601
  • usleepWindows
  • wa_array_diff_r
  • wa_currency_html
  • xmlrpc_cd
  • xmlrpc_dh
  • xmlrpc_ee
  • xmlrpc_ee_fast
  • xmlrpc_encode_entitites
  • xmlrpc_se
  • xmlrpc_se_any
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo

Class nusoap_parser

nusoap_parser class parses SOAP XML messages into native PHP values

nusoap_base
Extended by nusoap_parser

Direct known subclasses

soap_parser
Author: Dietrich Ayala <dietrich@ganx4.com>
Author: Scott Nichol <snichol@users.sourceforge.net>
Version: $Id: nusoap.php,v 1.123 2010/04/26 20:15:08 snichol Exp $
Located at wa-plugins/payment/qiwi/vendors/nusoap/nusoap.php
Methods summary
public
# nusoap_parser( string $xml, string $encoding = 'UTF-8', string $method = '', string $decode_utf8 = true )

constructor that actually does the parsing

constructor that actually does the parsing

Parameters

$xml
string
$xml SOAP message
$encoding
string
$encoding character encoding scheme of message
$method
string
$method method for which XML is parsed (unused?)
$decode_utf8
string
$decode_utf8 whether to decode UTF-8 to ISO-8859-1
public
# start_element( resource $parser, string $name, array $attrs )

start-element handler

start-element handler

Parameters

$parser
resource
$parser XML parser object
$name
string
$name element name
$attrs
array
$attrs associative array of attributes
public
# end_element( resource $parser, string $name )

end-element handler

end-element handler

Parameters

$parser
resource
$parser XML parser object
$name
string
$name element name
public
# character_data( resource $parser, string $data )

element content handler

element content handler

Parameters

$parser
resource
$parser XML parser object
$data
string
$data element content
public mixed
# get_response( )

get the parsed message (SOAP Body)

get the parsed message (SOAP Body)

Deprecated

use get_soapbody instead

Returns

mixed
public mixed
# get_soapbody( )

get the parsed SOAP Body (NULL if there was none)

get the parsed SOAP Body (NULL if there was none)

Returns

mixed
public mixed
# get_soapheader( )

get the parsed SOAP Header (NULL if there was none)

get the parsed SOAP Header (NULL if there was none)

Returns

mixed
public string
# getHeaders( )

get the unparsed SOAP Header

get the unparsed SOAP Header

Returns

string
XML or empty if no Header
public mixed
# decodeSimple( string $value, string $type, string $typens )

decodes simple types into PHP variables

decodes simple types into PHP variables

Parameters

$value
string
$value value to decode
$type
string
$type XML type to decode
$typens
string
$typens XML type namespace to decode

Returns

mixed
PHP value
public mixed
# buildVal( integer $pos )

builds response structures for compound values (arrays/structs) and scalars

builds response structures for compound values (arrays/structs) and scalars

Parameters

$pos
integer
$pos position in node tree

Returns

mixed
PHP value
Methods inherited from nusoap_base
__toString(), appendDebug(), clearDebug(), contractQname(), debug(), expandEntities(), expandQname(), formatDump(), getDebug(), getDebugAsXMLComment(), getDebugLevel(), getError(), getGlobalDebugLevel(), getLocalPart(), getNamespaceFromPrefix(), getPrefix(), getPrefixFromNamespace(), getmicrotime(), isArraySimpleOrStruct(), nusoap_base(), serializeEnvelope(), serialize_val(), setDebugLevel(), setError(), setGlobalDebugLevel(), varDump()
Properties summary
public string $xml ''
#
public string $xml_encoding ''
#
public string $method ''
#
public string $root_struct ''
#
public string $root_struct_name ''
#
public string $root_struct_namespace ''
#
public string $root_header ''
#
public string $document ''
#
public string $status ''
#
public integer $position 0
#
public integer $depth 0
#
public string $default_namespace ''
#
public array $namespaces array()
#

namespaces in an array of prefix => uri

namespaces in an array of prefix => uri

this is "seeded" by a set of constants, but it may be altered by code

public array $message array()
#
public string $parent ''
#
public boolean $fault false
#
public string $fault_code ''
#
public string $fault_str ''
#
public string $fault_detail ''
#
public array $depth_array array()
#
public boolean $debug_flag true
#
public mixed $soapresponse NULL
#
public mixed $soapheader NULL
#
public string $responseHeaders ''
#
public integer $body_position 0
#
public array $ids array()
#
public array $multirefs array()
#
public boolean $decode_utf8 true
#
Properties inherited from nusoap_base
$XMLSchemaVersion, $charencoding, $debugLevel, $debug_str, $error_str, $revision, $soap_defencoding, $title, $typemap, $usedNamespaces, $version, $xmlEntities
My fork of Webasyst Framework API documentation generated by ApiGen 2.8.0