[Xml-compile] WS-Security
Mark Overmeer
mark at overmeer.net
Tue Jul 14 20:32:14 GMT 2009
* Allan Wind (allan at insurancedesk.com) [090714 16:19]:
> I attached the code snippet we use in production (and yes, Mark told
> me about a spiffier way of doing the importDefinitions). Looking at
> this again it just makes me appreciate how much XML::Compile does for
> you.
There should be a cleaner interface to WSS... put it on the wishlist
in RT :-)
Attached some suggestions to clean-up Allan's much appreciated example.
I really like global constants to replace long URLs. There should be only
one XML::LibXML::Document per output message. "$path" was imported twice
(first two lines), although that dupplication is detected and therewith
second load skipped.
--
Thanks Allan,
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