| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
# Copyrights 2010-2020 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-WSA. 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
|
|
|
|
|
|
|
package XML::Compile::WSA::Util; |
|
10
|
3
|
|
|
3
|
|
848
|
use vars '$VERSION'; |
|
|
3
|
|
|
|
|
4
|
|
|
|
3
|
|
|
|
|
123
|
|
|
11
|
|
|
|
|
|
|
$VERSION = '0.95'; |
|
12
|
|
|
|
|
|
|
|
|
13
|
3
|
|
|
3
|
|
14
|
use base 'Exporter'; |
|
|
3
|
|
|
|
|
4
|
|
|
|
3
|
|
|
|
|
237
|
|
|
14
|
|
|
|
|
|
|
|
|
15
|
3
|
|
|
3
|
|
14
|
use warnings; |
|
|
3
|
|
|
|
|
7
|
|
|
|
3
|
|
|
|
|
56
|
|
|
16
|
3
|
|
|
3
|
|
18
|
use strict; |
|
|
3
|
|
|
|
|
6
|
|
|
|
3
|
|
|
|
|
377
|
|
|
17
|
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
my @wsa09 = qw/WSA09 WSA09FAULT WSA09ROLE_ANON/; |
|
19
|
|
|
|
|
|
|
my @wsa10 = qw/WSA10 WSA10FAULT WSA10ADDR_ANON WSA10ADDR_NONE |
|
20
|
|
|
|
|
|
|
WSA10REL_REPLY WSA10REL_UNSPEC WSA10MODULE WSA10SOAP_FAULT/; |
|
21
|
|
|
|
|
|
|
my @wsdl11 = qw/WSDL11WSAW/; |
|
22
|
|
|
|
|
|
|
my @wsdl12 = (); # don't know (yet) |
|
23
|
|
|
|
|
|
|
my @soap11 = (); |
|
24
|
|
|
|
|
|
|
my @soap12 = qw/SOAP12FEAT_DEST SOAP12FEAT_SE SOAP12FEAT_RE SOAP12FEAT_FE |
|
25
|
|
|
|
|
|
|
SOAP12FEAT_ACT SOAP12FEAT_ID SOAP12FEAT_REL SOAP12FEAT_REF/; |
|
26
|
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
our @EXPORT_OK = (@wsa09, @wsa10, @wsdl11, @wsdl12, @soap11, @soap12); |
|
28
|
|
|
|
|
|
|
our %EXPORT_TAGS = |
|
29
|
|
|
|
|
|
|
( wsa09 => \@wsa09 |
|
30
|
|
|
|
|
|
|
, wsa10 => \@wsa10 |
|
31
|
|
|
|
|
|
|
, wsdl11 => \@wsdl11 |
|
32
|
|
|
|
|
|
|
, wsdl12 => \@wsdl12 |
|
33
|
|
|
|
|
|
|
, soap11 => \@soap11 |
|
34
|
|
|
|
|
|
|
, soap12 => \@soap12 |
|
35
|
|
|
|
|
|
|
); |
|
36
|
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
use constant |
|
39
|
3
|
|
|
|
|
292
|
{ WSA09 => 'http://schemas.xmlsoap.org/ws/2004/08/addressing' |
|
40
|
|
|
|
|
|
|
, WSA10 => 'http://www.w3.org/2005/08/addressing' |
|
41
|
3
|
|
|
3
|
|
17
|
}; |
|
|
3
|
|
|
|
|
9
|
|
|
42
|
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
use constant |
|
44
|
3
|
|
|
|
|
241
|
{ WSA09FAULT => WSA09.'/fault' |
|
45
|
|
|
|
|
|
|
, WSA09ROLE_ANON => WSA09.'/role/anonymous' |
|
46
|
3
|
|
|
3
|
|
18
|
}; |
|
|
3
|
|
|
|
|
3
|
|
|
47
|
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
use constant |
|
50
|
3
|
|
|
|
|
281
|
{ WSA10FAULT => WSA10.'/fault' |
|
51
|
|
|
|
|
|
|
, WSA10SOAP_FAULT => WSA10.'/soap/fault' |
|
52
|
|
|
|
|
|
|
, WSA10ADDR_ANON => WSA10.'/anonymous' |
|
53
|
|
|
|
|
|
|
, WSA10ADDR_NONE => WSA10.'/none' |
|
54
|
|
|
|
|
|
|
, WSA10REL_REPLY => WSA10.'/reply' |
|
55
|
|
|
|
|
|
|
, WSA10REL_UNSPEC => WSA10.'/unspecified' |
|
56
|
|
|
|
|
|
|
, WSA10MODULE => WSA10.'/module' |
|
57
|
3
|
|
|
3
|
|
16
|
}; |
|
|
3
|
|
|
|
|
5
|
|
|
58
|
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
use constant |
|
61
|
3
|
|
|
|
|
130
|
{ WSDL11WSAW => 'http://www.w3.org/2006/05/addressing/wsdl' |
|
62
|
3
|
|
|
3
|
|
16
|
}; |
|
|
3
|
|
|
|
|
5
|
|
|
63
|
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
use constant |
|
66
|
3
|
|
|
|
|
243
|
{ SOAP12FEATURE => 'http://www.w3.org/2005/08/addressing/feature' |
|
67
|
3
|
|
|
3
|
|
15
|
}; |
|
|
3
|
|
|
|
|
3
|
|
|
68
|
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
use constant |
|
70
|
3
|
|
|
|
|
352
|
{ SOAP12FEAT_DEST => SOAP12FEATURE.'/Destination' |
|
71
|
|
|
|
|
|
|
, SOAP12FEAT_SE => SOAP12FEATURE.'/SourceEndpoint' |
|
72
|
|
|
|
|
|
|
, SOAP12FEAT_RE => SOAP12FEATURE.'/ReplyEndpoint' |
|
73
|
|
|
|
|
|
|
, SOAP12FEAT_FE => SOAP12FEATURE.'/FaultEndpoint' |
|
74
|
|
|
|
|
|
|
, SOAP12FEAT_ACT => SOAP12FEATURE.'/Action' |
|
75
|
|
|
|
|
|
|
, SOAP12FEAT_ID => SOAP12FEATURE.'/MessageID' |
|
76
|
|
|
|
|
|
|
, SOAP12FEAT_REL => SOAP12FEATURE.'/Relationship' |
|
77
|
|
|
|
|
|
|
, SOAP12FEAT_REF => SOAP12FEATURE.'/ReferenceParameters' |
|
78
|
3
|
|
|
3
|
|
15
|
}; |
|
|
3
|
|
|
|
|
5
|
|
|
79
|
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
1; |
|
81
|
|
|
|
|
|
|
|