| 1 | # Copyrights 2007-2022 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.03. | ||
| 5 | # This code is part of distribution XML-Compile-SOAP. 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::SOAP::Util; | ||
| 10 | 7 | ▶ | use vars '$VERSION'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 11 | 7 | $VERSION = '3.28'; | |
| 12 | |||
| 13 | 7 | ▶ | use base 'Exporter'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 14 | |||
| 15 | 7 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 16 | 7 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 17 | |||
| 18 | 7 | my @soap10 = qw/SOAP11HTTP WSDL11HTTP WSDL11MIME SOAP11ENV/; | |
| 19 | 7 | my @soap11 = qw/SOAP11ENV SOAP11ENC SOAP11NEXT SOAP11HTTP WSDL11SOAP/; | |
| 20 | 7 | my @wsdl11 = qw/WSDL11 WSDL11SOAP WSDL11HTTP WSDL11MIME WSDL11SOAP12/; | |
| 21 | 7 | my @daemon = qw/MSEXT XC_DAEMON_NS/; | |
| 22 | 7 | my @xop10 = qw/XOP10 XMIME10 XMIME11/; | |
| 23 | |||
| 24 | 7 | our @EXPORT_OK = (@soap10, @soap11, @wsdl11, @daemon, @xop10); | |
| 25 | 7 | our %EXPORT_TAGS = | |
| 26 | ( soap10 => \@soap10 | ||
| 27 | , soap11 => \@soap11 | ||
| 28 | , wsdl11 => \@wsdl11 | ||
| 29 | , daemon => \@daemon | ||
| 30 | , xop10 => \@xop10 | ||
| 31 | ); | ||
| 32 | |||
| 33 | |||
| 34 | 7 | ▶ | use constant SOAP11 => 'http://schemas.xmlsoap.org/soap/'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 35 | use constant | ||
| 36 | 7 | ▶ | { SOAP11ENV => SOAP11. 'envelope/' |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 37 | , SOAP11ENC => SOAP11. 'encoding/' | ||
| 38 | , SOAP11NEXT => SOAP11. 'actor/next' | ||
| 39 | , SOAP11HTTP => SOAP11. 'http' | ||
| 40 | 7 | }; | |
| 41 | |||
| 42 | |||
| 43 | 7 | ▶ | use constant WSDL11 => 'http://schemas.xmlsoap.org/wsdl/'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 44 | use constant | ||
| 45 | 7 | ▶ | { WSDL11SOAP => WSDL11. 'soap/' |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 46 | , WSDL11HTTP => WSDL11. 'http/' | ||
| 47 | , WSDL11MIME => WSDL11. 'mime/' | ||
| 48 | , WSDL11SOAP12 => WSDL11. 'soap12/' | ||
| 49 | 7 | }; | |
| 50 | |||
| 51 | |||
| 52 | use constant | ||
| 53 | 7 | ▶ | { MSEXT => SOAP11ENV |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 54 | , XC_DAEMON_NS => 'http://perl.org/xml-schemas/xml-compile-daemon/1.0' | ||
| 55 | 7 | }; | |
| 56 | |||
| 57 | |||
| 58 | |||
| 59 | use constant | ||
| 60 | 7 | ▶ | { XOP10 => 'http://www.w3.org/2004/08/xop/include' |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 61 | , XMIME10 => 'http://www.w3.org/2004/11/xmlmime' | ||
| 62 | , XMIME11 => 'http://www.w3.org/2005/05/xmlmime' | ||
| 63 | 7 | }; | |
| 64 | |||
| 65 | 7 | 1; | |