NAME

XML::Compile::SOAP12 - base class for SOAP1.2 implementation

INHERITANCE

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

XML::Compile::SOAP12 is extended by
  XML::Compile::SOAP12::Server

SYNOPSIS

DESCRIPTION

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

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

The client specifics are implemented in XML::Compile::SOAP12::Client, and the server needs can be found in XML::Compile::SOAP12::Server.

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
    version       XML::Compile::SOAP  'SOAP12'

    . 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

    . version => STRING

Accessors

$obj->encodingNS

$obj->envelopeNS

$obj->prefixPreferences(TABLE)

$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

$obj->version

Single messages

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

Sender (internals)

$obj->sender(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)

Receiver (internals)

$obj->readerEncstyleHook

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

$obj->readerParseBody(BODYDEF)

$obj->readerParseHeader(HEADERDEF)

$obj->receiver(ARGS)

Helpers

DETAILS

SEE ALSO

This module is part of XML-Compile-SOAP distribution version 0.56, built on October 12, 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