NAME

XML::Compile::SOAP12 - implementation of SOAP1.2

INHERITANCE

XML::Compile::SOAP12
  is a XML::Compile::SOAP

SYNOPSIS

DESCRIPTION

**WARNING** Implementation not finished: not usable!!

This module handles the SOAP protocol version 1.2. See http://www.w3.org/TR/soap12/).

STATUS

METHODS

Constructors

$obj->new(OPTIONS)

Option      --Defined in     --Default
encoding_ns   XML::Compile::SOAP  http://www.w3.org/2003/05/soap-encoding
envelope_ns   XML::Compile::SOAP  http://www.w3.org/2003/05/soap-envelope
header_fault                   error
media_type    XML::Compile::SOAP  application/soap+xml
rpc_ns                         http://www.w3.org/2003/05/soap-rpc
schemas       XML::Compile::SOAP  created internally

. encoding_ns => URI

. envelope_ns => URI

. header_fault => <anything>

SOAP1.1 defines a header fault type, which not present in SOAP 1.2, where it is replaced by a notUnderstood structure.

. media_type => MIMETYPE

. rpc_ns => URI

. schemas => XML::Compile::Schema object

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->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. For SOAP1.2, defined are NEXT, NONE, and ULTIMATE. Returns the unmodified STRING in all other cases.

$obj->rpcNS

$obj->schemas

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

Single messages

$obj->compileMessage(('SENDER'|'RECEIVER'), OPTIONS)

See "Single messages" in XML::Compile::SOAP

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

DIAGNOSTICS

Error: an input message does not have faults

Error: headerfault does only exist in SOAP1.1

Error: option 'destination' only for writers

Error: option 'mustUnderstand' only for writers

Error: option 'role' only for readers

Error: option 'roles' only for readers

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