- 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/
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2015-01-15 16:51:50 +00:00
parent dab6cb543c
commit 8d7f4745d1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=377111
5 changed files with 53 additions and 0 deletions

View file

@ -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

View file

@ -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>

View file

@ -0,0 +1,2 @@
SHA256 (XML-Compile-WSDL11-3.03.tar.gz) = 44419f7a762e569dd8234e94d1900876aef772a326d833a65cb40a9591ca264c
SIZE (XML-Compile-WSDL11-3.03.tar.gz) = 22375

View file

@ -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/

View file

@ -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