API wrapper best practices?
Mark Overmeer
mark at overmeer.net
Tue Mar 26 13:14:56 GMT 2013
* Ashley Hindmarsh (ash+perl at best-scarper.co.uk) [130326 12:26]:
> I was using SOAP::WSDL as it reached v2.0 (ca. 2007).
Martin Kutter (maintainer of SOAP::Lite and SOAP::WSDL) told me that,
in his opinion, the modules were on their end: SOAP message are often
too complex nowadays. He does fix bugs, now and then.
> It features a complete wrapping of XML Schema data types, from which a Perl
> wrapper (accessors etc) can be generated, although you have to live with
> that minimalism (e.g. all arrays + containers - no mappings).
> Just wonder if the XML Schema wrapping could be extracted for use with
> RESTful APIs which have well-defined schemas (I guess I may have just
> volunteered)
As Gianni correctly states: that is what XML::Compile(::SOAP) is doing.
It has many users.
--
Regards,
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 london.pm
mailing list