Sunday, June 19, 2005

SOAP::Lite - SOAP elements access methods

SOAP::Lite - Client and server side SOAP implementation: "$h = $som->headerof('//myheader'); # returns element as SOAP::Header, so
# you can access attributes and values
# with $h->mustUnderstand, $h->actor
# or $h->attr (for all attributes)

SOAP::SOM object gives you access to the deserialized envelope via several
methods. All methods accept a node path (similar to XPath notations).
SOM interprets '/' as the root node, '//' as relative location path
('//Body' will find all bodies in document, as well as
'/Envelope//nums' will find all 'nums' nodes under Envelope node),
'[num]' as node number and '[op num]' with C being a comparison
operator ('<', '>', '<=', '>=', '!', '=').

All nodes in nodeset will be returned in document order."
Post a Comment