Date: Thu, 15 Jan 2015 16:51:51 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r377111 - in head/net: . p5-XML-Compile-WSDL11 Message-ID: <201501151651.t0FGppfD077242@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Thu Jan 15 16:51:50 2015 New Revision: 377111 URL: https://svnweb.freebsd.org/changeset/ports/377111 QAT: https://qat.redports.org/buildarchive/r377111/ Log: - Add p5-XML-Compile-WSDL11 3.03 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/ Added: head/net/p5-XML-Compile-WSDL11/ head/net/p5-XML-Compile-WSDL11/Makefile (contents, props changed) head/net/p5-XML-Compile-WSDL11/distinfo (contents, props changed) head/net/p5-XML-Compile-WSDL11/pkg-descr (contents, props changed) head/net/p5-XML-Compile-WSDL11/pkg-plist (contents, props changed) Modified: head/net/Makefile Modified: head/net/Makefile ============================================================================== --- head/net/Makefile Thu Jan 15 16:51:44 2015 (r377110) +++ head/net/Makefile Thu Jan 15 16:51:50 2015 (r377111) @@ -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 Added: head/net/p5-XML-Compile-WSDL11/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/p5-XML-Compile-WSDL11/Makefile Thu Jan 15 16:51:50 2015 (r377111) @@ -0,0 +1,25 @@ +# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> +# $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 <bsd.port.mk> Added: head/net/p5-XML-Compile-WSDL11/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/p5-XML-Compile-WSDL11/distinfo Thu Jan 15 16:51:50 2015 (r377111) @@ -0,0 +1,2 @@ +SHA256 (XML-Compile-WSDL11-3.03.tar.gz) = 44419f7a762e569dd8234e94d1900876aef772a326d833a65cb40a9591ca264c +SIZE (XML-Compile-WSDL11-3.03.tar.gz) = 22375 Added: head/net/p5-XML-Compile-WSDL11/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/p5-XML-Compile-WSDL11/pkg-descr Thu Jan 15 16:51:50 2015 (r377111) @@ -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/ Added: head/net/p5-XML-Compile-WSDL11/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/p5-XML-Compile-WSDL11/pkg-plist Thu Jan 15 16:51:50 2015 (r377111) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201501151651.t0FGppfD077242>