[Xml-compile] WS-Security

paul at phymatics.co.uk paul at phymatics.co.uk
Tue Jul 14 21:35:11 GMT 2009


> Hi Paul,
>
> 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.

Thank-you Allan for the code snippet and Mark for the extra suggestions. I
shall try it at work tomorrow morning.

One thing I did find was my code was actually pretty close to working but
XML::Compile was confused by the <xsd:any> elements in the wsse xsd. It
said 'any' was a valid element type but I couldn't put any elements
defined in the xsd at that point. Since I'm fresh behind the ears
regarding wsdl, xsd and XML::Compile is this a known limitation?

Modifying the wssecurity xsd was a temp solution I used since I hardwired
it to only take a UsernameToken...

Thanks again,
Paul.




More information about the Xml-compile mailing list