<div dir="ltr"><div><div><div>So if I'm running this via a daemon that runs in a mod_perl environment and I access a service that does have WSS enabled (the code for accessing each service is kept in different .pm modules; another module imports ::WSS but this one doesn't), the importing of WSS will carry over to all the instantiations of XML::Compile? That would explain the behavior...is there some way to reach down to the writer and tell it to turn mustUnderstand off when accessing a particular service? I've discovered that the presence of the security header isn't the actual problem, it's that flag. I've been messing around with opts_writers but haven't had any luck so far:<br><br>my $wsdl = XML::Compile::WSDL11->new( "TicketManagement.wsdl",<br> opts_writers => {<br> ignore_unused_tags => 1,<br> mustUnderstand => []<br> }<br> );<br><br></div>Thanks,<br><br></div>Rob Woodard<br></div><a href="mailto:robt.woodard@gmail.com">robt.woodard@gmail.com</a><br><div><div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Dec 3, 2014 at 2:04 AM, Mark Overmeer <span dir="ltr"><<a href="mailto:solutions@overmeer.net" target="_blank">solutions@overmeer.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="">> I’m having a terrible time trying to figure out how to get the WSS SOAP<br>
> header out of my compiled client. For some reason, doing this:<br>
><br>
> use XML::Compile::WSDL11;<br>
> use XML::Compile::SOAP11;<br>
> use XML::Compile::Transport::SOAPHTTP;<br>
> use XML::Compile::C14N::Util qw/C14N_EXC_NO_COMM/;<br>
> use XML::Compile::Util qw/pack_type/;<br>
><br>
> my $wsdl = XML::Compile::WSDL11->new(“TicketManagement.wsdl");<br>
<br>
</span>In above lines you are not loading ::WSS. I guess that another<br>
component of your program is pulling that in. Can you look for that?<br>
<br>
The use (only the use) of security headers leaks from one WSDL into<br>
the next.<br>
<span class=""><font color="#888888">--<br>
Regards,<br>
<br>
MarkOv<br>
<br>
------------------------------------------------------------------------<br>
Mark Overmeer MSc MARKOV Solutions<br>
Mark@Overmeer.net <a href="mailto:solutions@overmeer.net">solutions@overmeer.net</a><br>
<a href="http://Mark.Overmeer.net" target="_blank">http://Mark.Overmeer.net</a> <a href="http://solutions.overmeer.net" target="_blank">http://solutions.overmeer.net</a><br>
<br>
</font></span></blockquote></div><br></div></div></div></div></div></div>