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