Query Web Service Test Tool for WSS (Windows SharePoint Services) V3

The query web service is located at http://PORTAL/_vti_bin/spsearch.asmx. We have made a test tool for WSS V3's Query web service. The tool allows you to generate the request XML and send it to the web service. The tool can be downloaded at here. For the MOSS Search Query Web Service test tool. We recommend you to visit MOSSSearch.com's Search Web Service page.

Here's the sample request XML for the query web service:

<QueryPacket xmlns="urn:Microsoft.Search.Query">

 <Query>

    <SupportedFormats>

     <Format>urn:Microsoft.Search.Response.Document:Document</Format>

     </SupportedFormats>

     <Context>

       <QueryText type="STRING" language="en-us">sharepoint</QueryText>

     </Context>

     <Range>

       <StartAt>1</StartAt>

       <Count>10</Count>

     </Range>

     <Properties>

       <Property name="path"/>

       <Property name="title"/>

    </Properties>

    <SortByProperties>

       <SortByProperty name="path" direction="Ascending"/>

    </SortByProperties>

    <EnableStemming>true</EnableStemming>

    <TrimDuplicates>true</TrimDuplicates>

    <IgnoreAllNoiseQuery>true</IgnoreAllNoiseQuery>

    <ImplicitAndBehavior>true</ImplicitAndBehavior>

 </Query>

</QueryPacket>

Common Error

Error: Server was unable to process request. ---> Attempted to perform an unauthorized operation

Solution: Please make sure if the user account you are currently using has enough privileges to access to the portal. If not, go to Site Setting page to grant permission to the user account.

Please email us at tips@wsssearch.com if you have any comments or see any bugs.

This work is licensed under a Creative Commons Attribution-ShareAlike 2.5  License.