NAME

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

INHERITANCE

XML::Compile::SOAP::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/).

Limitations

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->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

SOAPAction

$obj->compile(('CLIENT'|'SERVER'),('INPUT'|'OUTPUT'), OPTIONS)

$obj->direction(ROLE, INOUT)

DETAILS

DIAGNOSTICS

Error: an input message does not have faults

Error: headerfault does only exist in SOAP1.1

Error: message is INPUT or OUTPUT, not $inout

Error: option 'destination' only for writers

Error: option 'mustUnderstand' only for writers

Error: option 'role' only for readers

Error: option 'roles' only for readers

Error: role must be CLIENT or SERVER, not $role

SEE ALSO

This module is part of XML-Compile distribution version 0.54, built on September 14, 2007. Website: http://perl.overmeer.net/xml-compile/

LICENSE

Copyrights 2006-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