<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On 2 Sep 2009, at 18:31, Mark Overmeer wrote:</div><blockquote type="cite"><div><blockquote type="cite">trying all day to simply ignore the 'industries' element, with hooks or <br></blockquote><blockquote type="cite">whatnot, but I haven't been able to do so.<br></blockquote><blockquote type="cite">I'd really love it if anybody could let me know if it is possible.<br></blockquote><br>With hooks you can skip parsing nodes based on a type. &nbsp;Should work<br>something like this:<br><br> &nbsp;my $wsdl = XML::Compile::WSDL11-&gt;new('my.wsdl'<br> &nbsp;&nbsp;&nbsp;, prefixes =&gt; [ tns =&gt; .... ] );<br> &nbsp;$wsdl-&gt;addHook(type =&gt; "tns:CXIndustry", replace =&gt; 'SKIP');<br> &nbsp;my $get &nbsp;= $wsdl-&gt;compileClient('getBasket');<font class="Apple-style-span" color="#000000"><font class="Apple-style-span" color="#144FAE"><br></font></font></div></blockquote><div><br></div><div>Thanks, I'll try this!</div><br><blockquote type="cite"><div><blockquote type="cite">I wonder if it could be because xsi:type is used to specify whether it &nbsp;<br></blockquote><blockquote type="cite">is CXComponent or Component, and the industries element just happens to <br></blockquote><blockquote type="cite">be encountered first?<br></blockquote><br>xsi:type is not (yet) supported: has too many performance consequences.<br>It's an old-fashioned construction: you should use substitutionGroups.<br></div></blockquote><div><br></div></div>Unfortunately the wsdl is generated by a Java backend that I have no control over. It works with our Java and C# clients. :/<div><br></div><div>Stig</div></body></html>