| 1 | # Copyrights 2016-2018 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-Licensed. 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::Licensed; | ||||||||||
| 10 | 1 | ▶ | use vars '$VERSION'; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 11 | 1 | $VERSION = '0.02'; | |||||||||
| 12 | |||||||||||
| 13 | |||||||||||
| 14 | 1 | ▶ | use warnings; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 15 | 1 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 16 | |||||||||||
| 17 | 1 | ▶ | use File::Spec (); | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 18 | 1 | ▶ | use File::Basename qw/dirname/; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 19 | |||||||||||
| 20 | |||||||||||
| 21 | 1 | our %soap_servers = | |||||||||
| 22 | ( BEA => # Oracle's BEA | ||||||||||
| 23 | { xsddir => 'bea' | ||||||||||
| 24 | , xsds => [ qw(bea_wli_sb_context.xsd bea_wli_sb_context-fix.xsd) ] | ||||||||||
| 25 | } | ||||||||||
| 26 | , SharePoint => # MicroSoft's SharePoint | ||||||||||
| 27 | { xsddir => 'sharepoint' | ||||||||||
| 28 | , xsds => [ qw(sharepoint-soap.xsd sharepoint-serial.xsd) ] | ||||||||||
| 29 | } | ||||||||||
| 30 | ); | ||||||||||
| 31 | |||||||||||
| 32 | sub soapServer($) | ||||||||||
| 33 | 0 | ▶ | { my ($class, $type) = @_; | ||||||||
|
Subroutine
soapServer: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||
| 34 | 0 | ▶ | my $config = $soap_servers{$type} or return (); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 35 | |||||||||||
| 36 | 0 | my $up = dirname __FILE__; | |||||||||
| 37 | 0 | my $xsddir = File::Spec->catdir($up, 'SOAP', 'xsd', $config->{xsddir}); | |||||||||
| 38 | 0 | ($xsddir, $config); | |||||||||
| 39 | } | ||||||||||
| 40 | |||||||||||
| 41 | 1 | 1; | |||||||||