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

$obj->envelopeNS

$obj->prefixPreferences(TABLE)

$obj->prepareServer(SERVER)

$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

Single messages

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

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

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