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

See "Accessors" in XML::Compile::SOAP

$obj->envelopeNS

See "Accessors" in XML::Compile::SOAP

$obj->prefixPreferences(TABLE)

See "Accessors" in XML::Compile::SOAP

$obj->schemas

See "Accessors" in XML::Compile::SOAP

Single messages

Writer (internals)

$obj->writer(ARGS)

See "Writer (internals)" in XML::Compile::SOAP

$obj->writerConvertFault(NAME, DATA)

See "Writer (internals)" in XML::Compile::SOAP

$obj->writerCreateBody(BODY-DEFS, NAMESPACE-TABLE)

See "Writer (internals)" in XML::Compile::SOAP

$obj->writerCreateFault(FAULT-DEFS, NAMESPACE-TABLE, FAULTTYPE)

See "Writer (internals)" in XML::Compile::SOAP

$obj->writerCreateHeader(HEADER-DEFS, NS-TABLE, UNDERSTAND, DESTINATION)

See "Writer (internals)" in XML::Compile::SOAP

$obj->writerEncstyleHook(NAMESPACE-TABLE)

See "Writer (internals)" in XML::Compile::SOAP

$obj->writerHook(NAMESPACE, LOCAL, ACTIONS)

See "Writer (internals)" in XML::Compile::SOAP

Reader (internals)

$obj->reader(ARGS)

See "Reader (internals)" in XML::Compile::SOAP

$obj->readerEncstyleHook

See "Reader (internals)" in XML::Compile::SOAP

$obj->readerHook(NAMESPACE, LOCAL, ACTIONS)

See "Reader (internals)" in XML::Compile::SOAP

$obj->readerParseBody(BODYDEF)

See "Reader (internals)" in XML::Compile::SOAP

$obj->readerParseHeader(HEADERDEF)

See "Reader (internals)" in XML::Compile::SOAP

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