[Xml-compile] WSDL::Compile

Mark Overmeer mark at overmeer.net
Wed Nov 25 22:53:24 GMT 2009


* "Alex J. G. Burzyński" (ajgb at ajgb.net) [091125 16:51]:
> Example usage of the WSDL::Compile::Serialize

Half of your code is in constructing and destructing objects, without
added value. Although in a full application, those objects may be
useful, it is overkill here.  Besides, the example demonstrates a use
of XML::Compile::SOAP, not so much WSDL::Compile.  But any demo is
better than none: please included that in your distribution.

XML::Compile also supports typemaps. You can use them to automagically
map XML elements on Perl objects v.v. while reading/writing. This adds
more abstraction to your code. You only have to add (de)serializers
to your objects.

By the way: wat is WSDL::Compile compiling?  XML::Compile compiles
(produces runnable code) from a schema.  An other interpretation of
the word "compile" is to construct something from smaller components.
I assume you use that other interpretation, which is a bit confusing...
-- 
Thanks for your contribution,
Greetz,
               MarkOv

------------------------------------------------------------------------
       Mark Overmeer MSc                                MARKOV Solutions
       Mark at Overmeer.net                          solutions at overmeer.net
http://Mark.Overmeer.net                   http://solutions.overmeer.net




More information about the Xml-compile mailing list