<div dir="ltr"><div><div><div>So if I&#39;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&#39;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&#39;ve discovered that the presence of the security header isn&#39;t the actual problem, it&#39;s that flag.  I&#39;ve been messing around with opts_writers but haven&#39;t had any luck so far:<br><br>my $wsdl = XML::Compile::WSDL11-&gt;new( &quot;TicketManagement.wsdl&quot;,<br>        opts_writers =&gt; {<br>            ignore_unused_tags =&gt; 1,<br>            mustUnderstand =&gt; []<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">&lt;<a href="mailto:solutions@overmeer.net" target="_blank">solutions@overmeer.net</a>&gt;</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="">&gt; I’m having a terrible time trying to figure out how to get the WSS SOAP<br>
&gt; header out of my compiled client.  For some reason, doing this:<br>
&gt;<br>
&gt; use XML::Compile::WSDL11;<br>
&gt; use XML::Compile::SOAP11;<br>
&gt; use XML::Compile::Transport::SOAPHTTP;<br>
&gt; use XML::Compile::C14N::Util qw/C14N_EXC_NO_COMM/;<br>
&gt; use XML::Compile::Util qw/pack_type/;<br>
&gt;<br>
&gt; my $wsdl = XML::Compile::WSDL11-&gt;new(“TicketManagement.wsdl&quot;);<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>