NAME
XML::Compile::SOAP11 - implementation of SOAP1.1
INHERITANCE
XML::Compile::SOAP11
is a XML::Compile::SOAP
SYNOPSIS
DESCRIPTION
**WARNING** Implementation not finished: not usable!!
This module handles the SOAP protocol version 1.1. See http://www.w3.org/TR/2000/NOTE-SOAP-20000508/). The implementation tries to behave like described in http://www.ws-i.org/Profiles/BasicProfile-1.0.html
STATUS
METHODS
Constructors
$obj->compileMessage(('SENDER'|'RECEIVER'), OPTIONS)
Option --Defined in --Default
body XML::Compile::SOAP []
destination XML::Compile::SOAP []
encodings XML::Compile::SOAP {}
fault XML::Compile::SOAP []
header XML::Compile::SOAP undef
headerfault []
mustUnderstand XML::Compile::SOAP []
role XML::Compile::SOAP ULTIMATE
roles XML::Compile::SOAP []
. body => ENTRIES
. destination => ARRAY
. encodings => HASH-of-HASHes
. fault => ENTRIES
. header => ENTRIES
. headerfault => ENTRIES
ARRAY of simple name with element references, for all expected faults. There can be unexpected faults, which will not get decoded automatically.
. mustUnderstand => STRING|ARRAY-OF-STRING
. role => URI|ARRAY-OF-URI
. roles => ARRAY-OF-URI
$obj->new(OPTIONS)
To simplify the URIs of the actors, as specified with the destination
option, you may use the STRING NEXT
. It will be replaced by the right URI.
Option --Defined in --Default
encoding_ns XML::Compile::SOAP http://schemas.xmlsoap.org/soap/encoding/
envelope_ns XML::Compile::SOAP http://schemas.xmlsoap.org/soap/envelope/
media_type XML::Compile::SOAP application/soap+xml
schemas XML::Compile::SOAP created internally
. encoding_ns => URI
. envelope_ns => URI
. media_type => MIMETYPE
. schemas => XML::Compile::Schema
object
$obj->prepareServer(SERVER)
The SERVER is a XML::Compile::SOAP::HTTPServer object, which will need some messages prepared for general purpose.
$obj->roleAbbreviation(STRING)
Translates actor abbreviations into URIs. The only one defined for SOAP1.1 is NEXT
. Returns the unmodified STRING in all other cases.
Accessors
$obj->encodingNS
$obj->envelopeNS
$obj->prefixPreferences(TABLE)
$obj->schemas
Single messages
Writer (internals)
$obj->writer(ARGS)
$obj->writerConvertFault(NAME, DATA)
$obj->writerCreateBody(BODY-DEFS, NAMESPACE-TABLE)
$obj->writerCreateFault(FAULT-DEFS, NAMESPACE-TABLE, FAULTTYPE)
$obj->writerCreateHeader(HEADER-DEFS, NS-TABLE, UNDERSTAND, DESTINATION)
$obj->writerEncstyleHook(NAMESPACE-TABLE)
$obj->writerHook(NAMESPACE, LOCAL, ACTIONS)
Reader (internals)
$obj->reader(ARGS)
$obj->readerEncstyleHook
$obj->readerHook(NAMESPACE, LOCAL, ACTIONS)
$obj->readerParseBody(BODYDEF)
$obj->readerParseHeader(HEADERDEF)
DETAILS
SEE ALSO
This module is part of XML-Compile-SOAP distribution version 0.55, built on October 03, 2007. Website: http://perl.overmeer.net/xml-compile/
LICENSE
Copyrights 2007 by Mark Overmeer. For other contributors see ChangeLog.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See http://www.perl.com/perl/misc/Artistic.html