diff --git a/net/Makefile b/net/Makefile index 51427d8e6d55..2c959f62303d 100644 --- a/net/Makefile +++ b/net/Makefile @@ -758,6 +758,7 @@ SUBDIR += p5-XML-Compile-SOAP-AnyEvent SUBDIR += p5-XML-Compile-SOAP-Daemon SUBDIR += p5-XML-Compile-SOAP-WSA + SUBDIR += p5-XML-Compile-WSDL11 SUBDIR += p5-XML-Fast SUBDIR += p5-XML-RPC SUBDIR += p5-XML-RPC-Fast diff --git a/net/p5-XML-Compile-WSDL11/Makefile b/net/p5-XML-Compile-WSDL11/Makefile new file mode 100644 index 000000000000..c783d4ad5d96 --- /dev/null +++ b/net/p5-XML-Compile-WSDL11/Makefile @@ -0,0 +1,25 @@ +# Created by: Sunpoet Po-Chuan Hsieh +# $FreeBSD$ + +PORTNAME= XML-Compile-WSDL11 +PORTVERSION= 3.03 +CATEGORIES= net www perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Create SOAP messages defined by WSDL 1.1 + +LICENSE= ART10 GPLv1 +LICENSE_COMB= dual + +BUILD_DEPENDS= p5-Log-Report>=1.05:${PORTSDIR}/devel/p5-Log-Report \ + p5-XML-Compile-Cache>=1.03:${PORTSDIR}/textproc/p5-XML-Compile-Cache \ + p5-XML-Compile-SOAP>=3.06:${PORTSDIR}/net/p5-XML-Compile-SOAP \ + p5-XML-Compile>=1.48:${PORTSDIR}/textproc/p5-XML-Compile +RUN_DEPENDS:= ${BUILD_DEPENDS} + +USE_PERL5= configure +USES= perl5 + +.include diff --git a/net/p5-XML-Compile-WSDL11/distinfo b/net/p5-XML-Compile-WSDL11/distinfo new file mode 100644 index 000000000000..5ed87a8c1dd1 --- /dev/null +++ b/net/p5-XML-Compile-WSDL11/distinfo @@ -0,0 +1,2 @@ +SHA256 (XML-Compile-WSDL11-3.03.tar.gz) = 44419f7a762e569dd8234e94d1900876aef772a326d833a65cb40a9591ca264c +SIZE (XML-Compile-WSDL11-3.03.tar.gz) = 22375 diff --git a/net/p5-XML-Compile-WSDL11/pkg-descr b/net/p5-XML-Compile-WSDL11/pkg-descr new file mode 100644 index 000000000000..90d2f853018e --- /dev/null +++ b/net/p5-XML-Compile-WSDL11/pkg-descr @@ -0,0 +1,19 @@ +XML::Compile::WSDL11 understands WSDL version 1.1. An WSDL file defines a set of +messages to be send and received over (SOAP) connections. This involves encoding +of the message to be send into XML, sending the message to the server, collect +the answer, and finally decoding the XML to Perl. + +As end-user, you do not have to worry about the complex details of the messages +and the way to exchange them: it's all simple Perl for you. Also, faults are +handled automatically. The only complication you have to worry about is to shape +a nested HASH structure to the sending message structure. +XML::Compile::Schema::template() may help you. + +When the definitions are spread over multiple files you will need to use +addWSDL() (wsdl) or importDefinitions() (additional schema's) explicitly. +Usually, interreferences between those files are broken. Often they reference +over networks (you should never trust). So, on purpose you must explicitly load +the files you need from local disk! (of course, it is simple to find one-liners +as work-arounds, but I will to tell you how!) + +WWW: http://search.cpan.org/dist/XML-Compile-WSDL11/ diff --git a/net/p5-XML-Compile-WSDL11/pkg-plist b/net/p5-XML-Compile-WSDL11/pkg-plist new file mode 100644 index 000000000000..db4125cae20e --- /dev/null +++ b/net/p5-XML-Compile-WSDL11/pkg-plist @@ -0,0 +1,6 @@ +%%SITE_PERL%%/XML/Compile/WSDL11.pm +%%SITE_PERL%%/XML/Compile/WSDL11.pod +%%SITE_PERL%%/XML/Compile/WSDL11/xsd/wsdl-http.xsd +%%SITE_PERL%%/XML/Compile/WSDL11/xsd/wsdl-mime.xsd +%%SITE_PERL%%/XML/Compile/WSDL11/xsd/wsdl.xsd +%%PERL5_MAN3%%/XML::Compile::WSDL11.3.gz