lib/XML/Compile/WSA/Util.pm

filter: Statementstmt 100% 40 / 40 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 10 / 10 Podpod n/a totaltotal 100% 50 / 50 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« lib/XML/Compile/WSA.pm ↑ Summary
1 # Copyrights 2010-2015 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.01.
5 3 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 3 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 package XML::Compile::WSA::Util;
9 3 ▶use vars '$VERSION';
Subroutine BEGIN: called CC=1 SCAR=0.0
10 3 $VERSION = '0.94';
11  
12 3 ▶use base 'Exporter';
Subroutine BEGIN: called CC=1 SCAR=0.0
13  
14 3 my @wsa09 = qw/WSA09 WSA09FAULT WSA09ROLE_ANON/;
15 3 my @wsa10 = qw/WSA10 WSA10FAULT WSA10ADDR_ANON WSA10ADDR_NONE
16 WSA10REL_REPLY WSA10REL_UNSPEC WSA10MODULE WSA10SOAP_FAULT/;
17 3 my @wsdl11 = qw/WSDL11WSAW/;
18 3 my @wsdl12 = (); # don't know (yet)
19 3 my @soap11 = ();
20 3 my @soap12 = qw/SOAP12FEAT_DEST SOAP12FEAT_SE SOAP12FEAT_RE SOAP12FEAT_FE
21 SOAP12FEAT_ACT SOAP12FEAT_ID SOAP12FEAT_REL SOAP12FEAT_REF/;
22  
23 3 our @EXPORT_OK = (@wsa09, @wsa10, @wsdl11, @wsdl12, @soap11, @soap12);
24 3 our %EXPORT_TAGS =
25 ( wsa09 => \@wsa09
26 , wsa10 => \@wsa10
27 , wsdl11 => \@wsdl11
28 , wsdl12 => \@wsdl12
29 , soap11 => \@soap11
30 , soap12 => \@soap12
31 );
32  
33  
34 use constant
35 3 { WSA09 => 'http://schemas.xmlsoap.org/ws/2004/08/addressing'
36 , WSA10 => 'http://www.w3.org/2005/08/addressing'
37 3 ▶ };
Subroutine BEGIN: called CC=1 SCAR=0.0
38  
39 use constant
40 3 { WSA09FAULT => WSA09.'/fault'
41 , WSA09ROLE_ANON => WSA09.'/role/anonymous'
42 3 ▶ };
Subroutine BEGIN: called CC=1 SCAR=0.0
43  
44  
45 use constant
46 3 { WSA10FAULT => WSA10.'/fault'
47 , WSA10SOAP_FAULT => WSA10.'/soap/fault'
48 , WSA10ADDR_ANON => WSA10.'/anonymous'
49 , WSA10ADDR_NONE => WSA10.'/none'
50 , WSA10REL_REPLY => WSA10.'/reply'
51 , WSA10REL_UNSPEC => WSA10.'/unspecified'
52 , WSA10MODULE => WSA10.'/module'
53 3 ▶ };
Subroutine BEGIN: called CC=1 SCAR=0.0
54  
55  
56 use constant
57 3 { WSDL11WSAW => 'http://www.w3.org/2006/05/addressing/wsdl'
58 3 ▶ };
Subroutine BEGIN: called CC=1 SCAR=0.0
59  
60  
61 use constant
62 3 { SOAP12FEATURE => 'http://www.w3.org/2005/08/addressing/feature'
63 3 ▶ };
Subroutine BEGIN: called CC=1 SCAR=0.0
64  
65 use constant
66 3 { SOAP12FEAT_DEST => SOAP12FEATURE.'/Destination'
67 , SOAP12FEAT_SE => SOAP12FEATURE.'/SourceEndpoint'
68 , SOAP12FEAT_RE => SOAP12FEATURE.'/ReplyEndpoint'
69 , SOAP12FEAT_FE => SOAP12FEATURE.'/FaultEndpoint'
70 , SOAP12FEAT_ACT => SOAP12FEATURE.'/Action'
71 , SOAP12FEAT_ID => SOAP12FEATURE.'/MessageID'
72 , SOAP12FEAT_REL => SOAP12FEATURE.'/Relationship'
73 , SOAP12FEAT_REF => SOAP12FEATURE.'/ReferenceParameters'
74 3 ▶ };
Subroutine BEGIN: called CC=1 SCAR=0.0
75  
76 3 1;
77  
« lib/XML/Compile/WSA.pm ↑ Summary