SearchService


Click here for a complete list of operations.

Search

Does search and returns hit count, message and required hits

Test

The test form is only available for requests from the local machine.

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /findinsite/SearchService.asmx HTTP/1.1
Host: www.phdcc.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.phdcc.com/findinsite/Search"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <Search xmlns="http://www.phdcc.com/findinsite/">
      <SearchRequest>
        <UserParam>string</UserParam>
        <Text>string</Text>
        <Subsets>string</Subsets>
        <HitsFrom>int</HitsFrom>
        <HitsTo>int</HitsTo>
        <HitElems>ResultNo or Title or URL or HighlightURL or Abstract or Filename or WordCount or Date or Indexed or Size or Snippet or PageWordCount or All</HitElems>
        <SearchFields>
          <anyType />
          <anyType />
        </SearchFields>
      </SearchRequest>
    </Search>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <SearchResponse xmlns="http://www.phdcc.com/findinsite/">
      <SearchResult>
        <UserParam>string</UserParam>
        <Count>int</Count>
        <Message>string</Message>
        <Hits>
          <anyType />
          <anyType />
        </Hits>
      </SearchResult>
    </SearchResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /findinsite/SearchService.asmx HTTP/1.1
Host: www.phdcc.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <Search xmlns="http://www.phdcc.com/findinsite/">
      <SearchRequest>
        <UserParam>string</UserParam>
        <Text>string</Text>
        <Subsets>string</Subsets>
        <HitsFrom>int</HitsFrom>
        <HitsTo>int</HitsTo>
        <HitElems>ResultNo or Title or URL or HighlightURL or Abstract or Filename or WordCount or Date or Indexed or Size or Snippet or PageWordCount or All</HitElems>
        <SearchFields>
          <anyType />
          <anyType />
        </SearchFields>
      </SearchRequest>
    </Search>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <SearchResponse xmlns="http://www.phdcc.com/findinsite/">
      <SearchResult>
        <UserParam>string</UserParam>
        <Count>int</Count>
        <Message>string</Message>
        <Hits>
          <anyType />
          <anyType />
        </Hits>
      </SearchResult>
    </SearchResponse>
  </soap12:Body>
</soap12:Envelope>