I am getting a 400 HTTP error while attempting to use the Sharepoint Query Web Service. My rationale is that this is largely due to a malformed XML which I am unable to wrap my head around as to why:
This is the SOAP request body, can anybody think what is wrong in this ?
<?xml version="1.0" ?><S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<Query xmlns="urn:Microsoft.Search">
<queryXml>"
<QueryPacket xmlns='urn:Microsoft.Search.Query' Revision='1000'>
<Query>
<Context>
<QueryText language='en-US' type='STRING'>
Word
</QueryText>
</Context>
</Query>
</QueryPacket>"
</queryXml>
</Query>
</S:Body>
</S:Envelope>