<snippage>

I'm gonna play with this on the weekend and update you in case if any
news.

Roman Rytov

</snippage>

Ok, I've played a little more but I'm still at a loss.  I wrote a asp.net
web service that
works.  My axis one still doesn't.  I've sniffed the traffic and here's what
comes back:

Microsoft:

<?xml version="1.0" encoding="utf-8"?><soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";><soap:Body><QueryResponse
xmlns="urn:Microsoft.Search"><QueryResult>&lt;ResponsePacket revision="1"
xmlns="urn:Microsoft.Search.Response"&gt;   &lt;Response
domain="{0BD4DEBD-36F5-4084-B710-C5EE915D1F18}"&gt;     &lt;QueryId&gt;
{0BD4DEBD-36F5-4084-B710-C5EE915D4F18}     &lt;/QueryId&gt;     &lt;Range&gt;
&lt;Results&gt;                &lt;Content
xmlns="urn:Microsoft.Search.Response.Content"&gt;                 &lt;P&gt;I
heard you!&lt;/P&gt;           &lt;/Content&gt;            &lt;/Results&gt;
&lt;/Range&gt;          &lt;Status&gt;SUCCESS&lt;/Status&gt;
&lt;/Response&gt;&lt;/ResponsePacket&gt;</QueryResult></QueryResponse></soap
:Body></soap:Envelope>

Axis:

<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
 <soapenv:Body>
  <ns1:QueryResponse
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
xmlns:ns1="urn:Microsoft.Search">
   <ns1:QueryReturn xsi:type="xsd:string">&lt;ResponsePacket
revision=&quot;1&quot; xmlns=&quot;urn:Microsoft.Search.Response&quot;&gt;
&lt;Response domain=&quot;{0BD4DEBD-36F5-4084-B710-C5EE915D1F18}&quot;&gt;
&lt;QueryId&gt;         {0BD4DEBD-36F5-4084-B710-C5EE915D4F18}
&lt;/QueryId&gt;        &lt;Range&gt;              &lt;Results&gt;
&lt;Content xmlns=&quot;urn:Microsoft.Search.Response.Content&quot;&gt;
&lt;P&gt;I heard you!&lt;/P&gt;                &lt;/Content&gt;
&lt;/Results&gt;        &lt;/Range&gt;          &lt;Status&gt;SUCCESS&lt;/Status&gt;
&lt;/Response&gt;&lt;/ResponsePacket&gt;</ns1:QueryReturn>
  </ns1:QueryResponse>
 </soapenv:Body>
</soapenv:Envelope>


You'll notice that the payload is the same.  Well, it is unless I'm missing
something because I've been staring at it for too long.  The only
differences are:
1. The Microsoft <QueryResponse> has a default namespace of
urn:Microsoft.Search.  Axis
  names the namespace ns1 and prefixes it.
2. Axis has an encoding style attribute that MS doesn't.

Now, then, all of that being said, can anyone tell me why the two bits of
xml aren't functionally equivelent?

Thanks!


Reply via email to