NAME

XML::Compile::SOAP11 - base class for SOAP1.1 implementation

INHERITANCE

XML::Compile::SOAP11
  is a XML::Compile::SOAP

XML::Compile::SOAP11 is extended by
  XML::Compile::SOAP11::Server

SYNOPSIS

DESCRIPTION

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

Two extensions are made: the SOAP11 client XML::Compile::SOAP11::Client. and server in XML::Compile::SOAP11::Server.

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

    . encoding_ns => URI

    . envelope_ns => URI

    . media_type => MIMETYPE

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

    . version => STRING

$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

$obj->envelopeNS

$obj->prefixPreferences(TABLE)

$obj->schemas

$obj->version

Single messages

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