<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="font-family: Calibri, sans-serif; font-size: 14px; color: rgb(0, 0, 0);">
I’m attempting to make use of the “findEntities” operation defined in this WSDL:&nbsp;<a href="http://paste.scsys.co.uk/500528">http://paste.scsys.co.uk/500528</a></div>
<div style="font-family: Calibri, sans-serif; font-size: 14px; color: rgb(0, 0, 0);">
<br>
</div>
<div><font face="Calibri,sans-serif">When&nbsp;I try and&nbsp;“explain” this operation using XML::Compile::WSDL11, it doesn’t outline anything inside the&nbsp;“query” (see lines 17858, 3810, and 1121) element. &nbsp;Says it’s&nbsp;“probably a recursive complex”. &nbsp;Somewhat by trial
 and error&nbsp;I’ve found that&nbsp;I need an XML structure like:&nbsp;</font></div>
<div><br>
</div>
<div>
<p style="margin: 0px; font-size: 12px; font-family: Consolas;">&lt;quer:query xmlns:quer=&quot;http://www.example.com/ws/integration/query&quot; productCode=&quot;RC1501&quot; model=&quot;http://www.example.com/ws/tee800/2009/01&quot; projectedClass=&quot;Candidate&quot; locale=&quot;en&quot; mode=&quot;T-XML&quot; largegraph=&quot;true&quot;
 preventDuplicates=&quot;false&quot; attributes=&quot;info.export.limit=true”&gt;</p>
<p style="margin: 0px; font-size: 12px; font-family: Consolas;">&nbsp; &nbsp; &lt;quer:projections&gt;</p>
<p style="margin: 0px; font-size: 12px; font-family: Consolas;"><span class="Apple-tab-span" style="white-space:pre"></span>&lt;quer:projection&gt;</p>
<p style="margin: 0px; font-size: 12px; font-family: Consolas;"><span class="Apple-tab-span" style="white-space:pre"></span>&lt;quer:field path=“Field1” /&gt;</p>
<p style="margin: 0px; font-size: 12px; font-family: Consolas;"><span class="Apple-tab-span" style="white-space:pre"></span>&lt;/quer:projection&gt;</p>
<p style="margin: 0px; font-size: 12px; font-family: Consolas;"><span class="Apple-tab-span" style="white-space:pre"></span>&lt;quer:projection&gt;</p>
<p style="margin: 0px; font-size: 12px; font-family: Consolas;"><span class="Apple-tab-span" style="white-space:pre"></span>&lt;quer:field path=“Field2” /&gt;</p>
<p style="margin: 0px; font-size: 12px; font-family: Consolas;"><span class="Apple-tab-span" style="white-space:pre"></span>&lt;/quer:projection&gt;</p>
<p style="margin: 0px; font-size: 12px; font-family: Consolas;">&nbsp; &nbsp; &lt;/query:projections&gt;</p>
<p style="margin: 0px; font-size: 12px; font-family: Consolas;">&nbsp;&nbsp;&lt;quer:filterings&gt;</p>
<p style="margin: 0px; font-size: 12px; font-family: Consolas;">&nbsp; &nbsp; &lt;quer:filtering&gt;</p>
<p style="margin: 0px; font-size: 12px; font-family: Consolas;">&nbsp; &nbsp; &nbsp; &lt;quer:equal&gt;</p>
<p style="margin: 0px; font-size: 12px; font-family: Consolas;">&nbsp; &nbsp; &nbsp; &nbsp; &lt;quer:field path=&quot;City&quot;/&gt;</p>
<p style="margin: 0px; font-size: 12px; font-family: Consolas;">&nbsp; &nbsp; &nbsp; &nbsp; &lt;quer:string&gt;Sydney&lt;/quer:string&gt;</p>
<p style="margin: 0px; font-size: 12px; font-family: Consolas;">&nbsp; &nbsp; &nbsp; &lt;/quer:equal&gt;</p>
<p style="margin: 0px; font-size: 12px; font-family: Consolas;">&nbsp; &nbsp; &lt;/quer:filtering&gt;</p>
<p style="margin: 0px; font-size: 12px; font-family: Consolas;"></p>
<p style="margin: 0px; font-size: 12px; font-family: Consolas;">&nbsp; &lt;/quer:filterings&gt;</p>
<p style="margin: 0px; font-size: 12px; font-family: Consolas;">&lt;/quer:query&gt;</p>
<p style="margin: 0px; font-size: 12px; font-family: Consolas;"><br>
</p>
<p style="margin: 0px;">But I can’t seem to figure out how to represent that in a Perl data structure suitable for XML::Compile::WSDL11. &nbsp;I’ve tried variations on the following, but to no avail:</p>
<p style="margin: 0px;"><br>
</p>
<p style="margin: 0px; font-size: 12px; font-family: Consolas;">my ( $response, $trace ) = $client-&gt;call(</p>
<p style="margin: 0px; font-size: 12px; font-family: Consolas;">&nbsp; &nbsp; findEntities =&gt; mappingVersion =&gt; $MAPPING_VERSION,</p>
<p style="margin: 0px; font-size: 12px; font-family: Consolas;">&nbsp; &nbsp; query&nbsp; &nbsp; &nbsp; &nbsp; =&gt; {</p>
<p style="margin: 0px; font-size: 12px; font-family: Consolas;">&nbsp; &nbsp; &nbsp; &nbsp; query =&gt; {</p>
<p style="margin: 0px; font-size: 12px; font-family: Consolas;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; alias&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =&gt; 'TestQuery',</p>
<p style="margin: 0px; font-size: 12px; font-family: Consolas;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; projectedClass =&gt; 'Candidate',</p>
<p style="margin: 0px; font-size: 12px; font-family: Consolas;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; projections&nbsp; &nbsp; =&gt; { projection =&gt; [ { field =&gt; { path =&gt; 'Number' } } ] },</p>
<p style="margin: 0px; font-size: 12px; font-family: Consolas;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; filterings =&gt;</p>
<p style="margin: 0px; font-size: 12px; font-family: Consolas;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; { filtering =&gt; [ { equal =&gt; { field =&gt; { path =&gt; 'LastName' }, string =&gt; 'McTesterson' } } ] },</p>
<p style="margin: 0px; font-size: 12px; font-family: Consolas;">&nbsp; &nbsp; &nbsp; &nbsp; }, &nbsp;</p>
<p style="margin: 0px; font-size: 12px; font-family: Consolas;">&nbsp; &nbsp; }, &nbsp;</p>
<p style="margin: 0px; font-size: 12px; font-family: Consolas;">&nbsp; &nbsp; attributes =&gt; {</p>
<p style="margin: 0px; font-size: 12px; font-family: Consolas;">&nbsp; &nbsp; &nbsp; &nbsp; entry =&gt; [</p>
<p style="margin: 0px; font-size: 12px; font-family: Consolas;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; { &nbsp; key =&gt; 'info.export.limit',</p>
<p style="margin: 0px; font-size: 12px; font-family: Consolas;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; value =&gt; 'false',</p>
<p style="margin: 0px; font-size: 12px; font-family: Consolas;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }, &nbsp;</p>
<p style="margin: 0px; font-size: 12px; font-family: Consolas;">&nbsp; &nbsp; &nbsp; &nbsp; ], &nbsp;</p>
<p style="margin: 0px; font-size: 12px; font-family: Consolas;">&nbsp; &nbsp; }, &nbsp;</p>
<p style="margin: 0px;"></p>
<p style="margin: 0px; font-size: 12px; font-family: Consolas;">);</p>
<p style="margin: 0px;"><br>
</p>
<p style="margin: 0px;">Can anyone suggest how I would encapsulate this query for XML::Compile::WSDL11?</p>
<p style="margin: 0px;"><br>
</p>
<p style="margin: 0px;">KP</p>
<p style="margin: 0px; font-size: 12px; font-family: Consolas;"><br>
</p>
</div>
<div style="font-family: Calibri, sans-serif; font-size: 14px; color: rgb(0, 0, 0);">
<div id="MAC_OUTLOOK_SIGNATURE"></div>
</div>
</body>
</html>