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::Client
  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.

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
    schema_instance_ns  XML::Compile::SOAP  $schema_ns . '-instance'
    schema_ns           XML::Compile::SOAP  <required>
    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

    . schema_instance_ns => URI

    . schema_ns => URI

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

    . version => STRING

Accessors

$obj->encodingNS

$obj->envelopeNS

$obj->prefixPreferences(TABLE, NEW, [USED])

$obj->rpcNS

$obj->schemaInstanceNS(() {shift->{schemains}})

$obj->schemaNS

$obj->schemas

$obj->version

Single messages

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

Sender (internals)

$obj->sender(ARGS)

$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->readerParseFaults(FAULTSDEF)

$obj->readerParseHeader(HEADERDEF)

$obj->receiver(ARGS)

Transcoding

Helpers

$obj->replyMustUnderstandFault(TYPE)

$obj->roleAbbreviation(URI)

$obj->roleURI(URI|STRING)

DETAILS

SEE ALSO

This module is part of XML-Compile-SOAP distribution version 0.61, built on November 06, 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