| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
# Copyrights 2009-2018 by [Mark Overmeer ]. |
|
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
|
|
|
1
|
|
7
|
use vars '$VERSION'; |
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
55
|
|
|
12
|
|
|
|
|
|
|
$VERSION = '3.06'; |
|
13
|
|
|
|
|
|
|
|
|
14
|
1
|
|
|
1
|
|
6
|
use base 'Exporter'; |
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
104
|
|
|
15
|
|
|
|
|
|
|
|
|
16
|
1
|
|
|
1
|
|
7
|
use warnings; |
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
40
|
|
|
17
|
1
|
|
|
1
|
|
6
|
use strict; |
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
171
|
|
|
18
|
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
my @soap12 = qw/SOAP12ENV SOAP12ENC SOAP12RPC |
|
20
|
|
|
|
|
|
|
SOAP12BIND SOAP12MEP SOAP12FEATURES/; |
|
21
|
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
my @roles = qw/SOAP12NONE SOAP12NEXT SOAP12ULTIMATE/; |
|
23
|
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
my @context = qw/SOAP12CONTEXT SOAP12CTXPATTERN SOAP12CTXFAILURE |
|
25
|
|
|
|
|
|
|
SOAP12CTXROLE SOAP12CTXSTATE/; |
|
26
|
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
my @features= qw/SOAP12WEBMETHOD SOAP12METHODPROP SOAP12ACTION |
|
28
|
|
|
|
|
|
|
SOAP12ACTIONPROP/; |
|
29
|
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
my @mep = qw/SOAP12MEP SOAP12REQRESP SOAP12RESP |
|
31
|
|
|
|
|
|
|
SOAP12MEPOUT SOAP12MEPIN SOAP12MEPDEST SOAP12MEPSEND/; |
|
32
|
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
our @EXPORT = (@soap12, @roles, @context, @features, @mep); |
|
34
|
|
|
|
|
|
|
our %EXPORT_TAGS = |
|
35
|
|
|
|
|
|
|
( soap12 => \@soap12 |
|
36
|
|
|
|
|
|
|
, roles => \@roles |
|
37
|
|
|
|
|
|
|
, context => \@context |
|
38
|
|
|
|
|
|
|
, features => \@features |
|
39
|
|
|
|
|
|
|
, mep => \@mep |
|
40
|
|
|
|
|
|
|
); |
|
41
|
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
|
|
43
|
1
|
|
|
1
|
|
8
|
use constant SOAP12 => 'http://www.w3.org/2003/05/'; |
|
|
1
|
|
|
|
|
1
|
|
|
|
1
|
|
|
|
|
99
|
|
|
44
|
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
use constant |
|
46
|
1
|
|
|
|
|
125
|
{ SOAP12ENV => SOAP12.'soap-envelope' |
|
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
|
|
|
1
|
|
7
|
}; |
|
|
1
|
|
|
|
|
2
|
|
|
53
|
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
use constant |
|
56
|
1
|
|
|
|
|
73
|
{ SOAP12NONE => SOAP12ENV.'/role/none' |
|
57
|
|
|
|
|
|
|
, SOAP12NEXT => SOAP12ENV.'/role/next' |
|
58
|
|
|
|
|
|
|
, SOAP12ULTIMATE => SOAP12ENV.'/role/ultimateReceiver' |
|
59
|
1
|
|
|
1
|
|
7
|
}; |
|
|
1
|
|
|
|
|
20
|
|
|
60
|
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
use constant |
|
63
|
1
|
|
|
|
|
85
|
{ SOAP12CONTEXT => SOAP12BIND.'/ExchangeContext' |
|
64
|
1
|
|
|
1
|
|
6
|
}; |
|
|
1
|
|
|
|
|
2
|
|
|
65
|
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
use constant |
|
68
|
1
|
|
|
|
|
82
|
{ SOAP12CTXPATTERN => SOAP12CONTEXT.'/ExchangePatternName' |
|
69
|
|
|
|
|
|
|
, SOAP12CTXFAILURE => SOAP12CONTEXT.'/FailureReason' |
|
70
|
|
|
|
|
|
|
, SOAP12CTXROLE => SOAP12CONTEXT.'/Role' |
|
71
|
|
|
|
|
|
|
, SOAP12CTXSTATE => SOAP12CONTEXT.'/State' |
|
72
|
1
|
|
|
1
|
|
25
|
}; |
|
|
1
|
|
|
|
|
4
|
|
|
73
|
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
use constant |
|
76
|
1
|
|
|
|
|
76
|
{ SOAP12WEBMETHOD => SOAP12FEATURES.'/web-method/' |
|
77
|
|
|
|
|
|
|
, SOAP12ACTION => SOAP12FEATURES.'/action/' |
|
78
|
1
|
|
|
1
|
|
6
|
}; |
|
|
1
|
|
|
|
|
1
|
|
|
79
|
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
use constant |
|
81
|
1
|
|
|
|
|
102
|
{ SOAP12METHODPROP => SOAP12WEBMETHOD.'Method' |
|
82
|
|
|
|
|
|
|
, SOAP12ACTIONPROP => SOAP12ACTION.'Action' |
|
83
|
1
|
|
|
1
|
|
6
|
}; |
|
|
1
|
|
|
|
|
2
|
|
|
84
|
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
use constant |
|
87
|
1
|
|
|
|
|
112
|
{ SOAP12REQRESP => SOAP12MEP.'/request-response/' |
|
88
|
|
|
|
|
|
|
, SOAP12RESP => SOAP12MEP.'/soap-response/' |
|
89
|
|
|
|
|
|
|
, SOAP12MEPOUT => SOAP12MEP.'/OutboundMessage' |
|
90
|
|
|
|
|
|
|
, SOAP12MEPIN => SOAP12MEP.'/IntboundMessage' |
|
91
|
|
|
|
|
|
|
, SOAP12MEPDEST => SOAP12MEP.'/ImmediateDestination' |
|
92
|
|
|
|
|
|
|
, SOAP12MEPSEND => SOAP12MEP.'/ImmediateSender' |
|
93
|
1
|
|
|
1
|
|
6
|
}; |
|
|
1
|
|
|
|
|
2
|
|
|
94
|
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
1; |