| 1 | # Copyrights 2009-2018 by [Mark Overmeer <markov@cpan.org>]. | ||
| 2 | # For other contributors see ChangeLog. | ||
| 3 | # See the manual pages for details on the licensing terms. | ||
| 4 | # Pod stripped from pm file by OODoc 2.02. | ||
| 5 | # This code is part of distribution XML-Compile-SOAP12. Meta-POD processed | ||
| 6 | # with OODoc into POD and HTML manual-pages. See README.md | ||
| 7 | # Copyright Mark Overmeer. Licensed under the same terms as Perl itself. | ||
| 8 | |||
| 9 | # may be incomplete.... please add | ||
| 10 | package XML::Compile::SOAP12::Util; | ||
| 11 | 1 | ▶ | use vars '$VERSION'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 12 | 1 | $VERSION = '3.06'; | |
| 13 | |||
| 14 | 1 | ▶ | use base 'Exporter'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 15 | |||
| 16 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 17 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 18 | |||
| 19 | 1 | my @soap12 = qw/SOAP12ENV SOAP12ENC SOAP12RPC | |
| 20 | SOAP12BIND SOAP12MEP SOAP12FEATURES/; | ||
| 21 | |||
| 22 | 1 | my @roles = qw/SOAP12NONE SOAP12NEXT SOAP12ULTIMATE/; | |
| 23 | |||
| 24 | 1 | my @context = qw/SOAP12CONTEXT SOAP12CTXPATTERN SOAP12CTXFAILURE | |
| 25 | SOAP12CTXROLE SOAP12CTXSTATE/; | ||
| 26 | |||
| 27 | 1 | my @features= qw/SOAP12WEBMETHOD SOAP12METHODPROP SOAP12ACTION | |
| 28 | SOAP12ACTIONPROP/; | ||
| 29 | |||
| 30 | 1 | my @mep = qw/SOAP12MEP SOAP12REQRESP SOAP12RESP | |
| 31 | SOAP12MEPOUT SOAP12MEPIN SOAP12MEPDEST SOAP12MEPSEND/; | ||
| 32 | |||
| 33 | 1 | our @EXPORT = (@soap12, @roles, @context, @features, @mep); | |
| 34 | 1 | our %EXPORT_TAGS = | |
| 35 | ( soap12 => \@soap12 | ||
| 36 | , roles => \@roles | ||
| 37 | , context => \@context | ||
| 38 | , features => \@features | ||
| 39 | , mep => \@mep | ||
| 40 | ); | ||
| 41 | |||
| 42 | |||
| 43 | 1 | ▶ | use constant SOAP12 => 'http://www.w3.org/2003/05/'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 44 | |||
| 45 | use constant | ||
| 46 | 1 | ▶ | { SOAP12ENV => SOAP12.'soap-envelope' |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 47 | , SOAP12ENC => SOAP12.'soap-encoding' | ||
| 48 | , SOAP12RPC => SOAP12.'soap-rpc' | ||
| 49 | , SOAP12BIND => SOAP12.'soap/bindingFramework' | ||
| 50 | , SOAP12MEP => SOAP12.'soap/mep' | ||
| 51 | , SOAP12FEATURES => SOAP12.'soap/features' | ||
| 52 | 1 | }; | |
| 53 | |||
| 54 | |||
| 55 | use constant | ||
| 56 | 1 | ▶ | { SOAP12NONE => SOAP12ENV.'/role/none' |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 57 | , SOAP12NEXT => SOAP12ENV.'/role/next' | ||
| 58 | , SOAP12ULTIMATE => SOAP12ENV.'/role/ultimateReceiver' | ||
| 59 | 1 | }; | |
| 60 | |||
| 61 | |||
| 62 | use constant | ||
| 63 | 1 | ▶ | { SOAP12CONTEXT => SOAP12BIND.'/ExchangeContext' |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 64 | 1 | }; | |
| 65 | |||
| 66 | |||
| 67 | use constant | ||
| 68 | 1 | ▶ | { SOAP12CTXPATTERN => SOAP12CONTEXT.'/ExchangePatternName' |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 69 | , SOAP12CTXFAILURE => SOAP12CONTEXT.'/FailureReason' | ||
| 70 | , SOAP12CTXROLE => SOAP12CONTEXT.'/Role' | ||
| 71 | , SOAP12CTXSTATE => SOAP12CONTEXT.'/State' | ||
| 72 | 1 | }; | |
| 73 | |||
| 74 | |||
| 75 | use constant | ||
| 76 | 1 | ▶ | { SOAP12WEBMETHOD => SOAP12FEATURES.'/web-method/' |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 77 | , SOAP12ACTION => SOAP12FEATURES.'/action/' | ||
| 78 | 1 | }; | |
| 79 | |||
| 80 | use constant | ||
| 81 | 1 | ▶ | { SOAP12METHODPROP => SOAP12WEBMETHOD.'Method' |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 82 | , SOAP12ACTIONPROP => SOAP12ACTION.'Action' | ||
| 83 | 1 | }; | |
| 84 | |||
| 85 | |||
| 86 | use constant | ||
| 87 | 1 | ▶ | { SOAP12REQRESP => SOAP12MEP.'/request-response/' |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 88 | , SOAP12RESP => SOAP12MEP.'/soap-response/' | ||
| 89 | , SOAP12MEPOUT => SOAP12MEP.'/OutboundMessage' | ||
| 90 | , SOAP12MEPIN => SOAP12MEP.'/IntboundMessage' | ||
| 91 | , SOAP12MEPDEST => SOAP12MEP.'/ImmediateDestination' | ||
| 92 | , SOAP12MEPSEND => SOAP12MEP.'/ImmediateSender' | ||
| 93 | 1 | }; | |
| 94 | |||
| 95 | |||
| 96 | 1 | 1; | |