in reply to A dreaded SOAP server with ws-security

I need to make SOAP::Lite ""understand" what it doesn't understand,

Do you really?

I think XML::Compile::SOAP::WSS is your only chance for least amount of work, so start with http://perl.overmeer.net/xml-compile/#doc, https://metacpan.org/source/MARKOV/XML-Compile-SOAP-Daemon-3.11/examples/psgi/calculator.wsdl https://metacpan.org/source/MARKOV/XML-Compile-SOAP-Daemon-3.11/examples/psgi/calculator.psgi

or one of the other examples and inject XML::Compile::SOAP::WSS into the mix

Good luck, I hope your post your progress :)

  • Comment on Re: A dreaded SOAP server with ws-security

Replies are listed 'Best First'.
Re^2: A dreaded SOAP server with ws-security
by SuperSparky (Novice) on Jul 06, 2015 at 19:54 UTC

    Here's the progress:

    First I looked into everyone's advice, and my brain hurt. Note, it was all valid and good advice for a full blown and fully compliant SOAP server. However, this is for a limited and specific use. I knew there had to be a simpler solution... and I finally found it! In fact, it's so simple, I can't help but wonder why it isn't in the documentation. You simply add (before you instantiate the object):

    $SOAP::Constants::DO_NOT_CHECK_MUSTUNDERSTAND = 1;

    Yeah, my eye is twitching, and I'm giggling with glee that it was so simple. Grep was my friend here.

    Thanks folks, you're awesome.