The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

XML::Compile::SOAP::SOAP11 - implementation of SOAP1.1

INHERITANCE

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

SYNOPSIS

DESCRIPTION

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

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

Limitations

METHODS

Constructors

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

     Option        --Defined in     --Default
     body            XML::Compile::SOAP  undef
     destination     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

    . 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

    . encoding_ns => URI

    . envelope_ns => URI

    . media_type => MIMETYPE

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

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

SOAPAction

$obj->direction(ROLE, INOUT)

DETAILS

DIAGNOSTICS

Error: message is INPUT or OUTPUT, not $inout

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

SEE ALSO

This module is part of XML-Compile distribution version 0.51, built on August 10, 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