Search


Click here for a complete list of operations.

sptSearch

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 /WebService/search.asmx HTTP/1.1
Host: www.electre.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://electre.com/ElectreNET/sptSearch"

<?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:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://electre.com/ElectreNET/" xmlns:types="http://electre.com/ElectreNET/encodedTypes" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    <tns:sptSearch>
      <sessionCookie xsi:type="xsd:string">string</sessionCookie>
      <sptSearchParams href="#id1" />
    </tns:sptSearch>
    <tns:SPTSearchParams id="id1" xsi:type="tns:SPTSearchParams">
      <titre href="#id2" />
      <auteur href="#id3" />
      <editeur href="#id4" />
      <collection href="#id5" />
      <themeClient href="#id6" />
      <champ href="#id7" />
      <filtrePublic href="#id8" />
    </tns:SPTSearchParams>
    <tns:SearchExpression id="id2" xsi:type="tns:SearchExpression">
      <expression xsi:type="xsd:string">string</expression>
      <phonetic xsi:type="xsd:boolean">boolean</phonetic>
      <inflections xsi:type="xsd:boolean">boolean</inflections>
    </tns:SearchExpression>
    <tns:SearchExpression id="id3" xsi:type="tns:SearchExpression">
      <expression xsi:type="xsd:string">string</expression>
      <phonetic xsi:type="xsd:boolean">boolean</phonetic>
      <inflections xsi:type="xsd:boolean">boolean</inflections>
    </tns:SearchExpression>
    <tns:SearchExpression id="id4" xsi:type="tns:SearchExpression">
      <expression xsi:type="xsd:string">string</expression>
      <phonetic xsi:type="xsd:boolean">boolean</phonetic>
      <inflections xsi:type="xsd:boolean">boolean</inflections>
    </tns:SearchExpression>
    <tns:SearchExpression id="id5" xsi:type="tns:SearchExpression">
      <expression xsi:type="xsd:string">string</expression>
      <phonetic xsi:type="xsd:boolean">boolean</phonetic>
      <inflections xsi:type="xsd:boolean">boolean</inflections>
    </tns:SearchExpression>
    <tns:SearchExpression id="id6" xsi:type="tns:SearchExpression">
      <expression xsi:type="xsd:string">string</expression>
      <phonetic xsi:type="xsd:boolean">boolean</phonetic>
      <inflections xsi:type="xsd:boolean">boolean</inflections>
    </tns:SearchExpression>
    <soapenc:Array id="id7" soapenc:arrayType="tns:SearchExpression[2]">
      <Item href="#id9" />
      <Item href="#id10" />
    </soapenc:Array>
    <soapenc:Array id="id8" soapenc:arrayType="tns:SPTFiltrePublic[2]">
      <Item>Adulte or Jeunesse</Item>
      <Item>Adulte or Jeunesse</Item>
    </soapenc:Array>
    <tns:SearchExpression id="id9" xsi:type="tns:SearchExpression">
      <expression xsi:type="xsd:string">string</expression>
      <phonetic xsi:type="xsd:boolean">boolean</phonetic>
      <inflections xsi:type="xsd:boolean">boolean</inflections>
    </tns:SearchExpression>
    <tns:SearchExpression id="id10" xsi:type="tns:SearchExpression">
      <expression xsi:type="xsd:string">string</expression>
      <phonetic xsi:type="xsd:boolean">boolean</phonetic>
      <inflections xsi:type="xsd:boolean">boolean</inflections>
    </tns:SearchExpression>
  </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:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://electre.com/ElectreNET/" xmlns:types="http://electre.com/ElectreNET/encodedTypes" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    <tns:sptSearchResponse>
      <sptSearchResult xsi:type="xsd:string">string</sptSearchResult>
    </tns:sptSearchResponse>
  </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 /WebService/search.asmx HTTP/1.1
Host: www.electre.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:soapenc="http://www.w3.org/2003/05/soap-encoding" xmlns:tns="http://electre.com/ElectreNET/" xmlns:types="http://electre.com/ElectreNET/encodedTypes" xmlns:rpc="http://www.w3.org/2003/05/soap-rpc" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body soap12:encodingStyle="http://www.w3.org/2003/05/soap-encoding">
    <tns:sptSearch>
      <sessionCookie xsi:type="xsd:string">string</sessionCookie>
      <sptSearchParams soapenc:id="id0" xsi:type="tns:SPTSearchParams">
        <titre soapenc:id="id1" xsi:type="tns:SearchExpression">
          <expression xsi:type="xsd:string">string</expression>
          <phonetic xsi:type="xsd:boolean">boolean</phonetic>
          <inflections xsi:type="xsd:boolean">boolean</inflections>
        </titre>
        <auteur soapenc:id="id2" xsi:type="tns:SearchExpression">
          <expression xsi:type="xsd:string">string</expression>
          <phonetic xsi:type="xsd:boolean">boolean</phonetic>
          <inflections xsi:type="xsd:boolean">boolean</inflections>
        </auteur>
        <editeur soapenc:id="id3" xsi:type="tns:SearchExpression">
          <expression xsi:type="xsd:string">string</expression>
          <phonetic xsi:type="xsd:boolean">boolean</phonetic>
          <inflections xsi:type="xsd:boolean">boolean</inflections>
        </editeur>
        <collection soapenc:id="id4" xsi:type="tns:SearchExpression">
          <expression xsi:type="xsd:string">string</expression>
          <phonetic xsi:type="xsd:boolean">boolean</phonetic>
          <inflections xsi:type="xsd:boolean">boolean</inflections>
        </collection>
        <themeClient soapenc:id="id5" xsi:type="tns:SearchExpression">
          <expression xsi:type="xsd:string">string</expression>
          <phonetic xsi:type="xsd:boolean">boolean</phonetic>
          <inflections xsi:type="xsd:boolean">boolean</inflections>
        </themeClient>
        <champ soapenc:id="id6" soapenc:itemType="tns:SearchExpression" soapenc:arraySize="2">
          <Item soapenc:id="id7">
            <expression xsi:type="xsd:string">string</expression>
            <phonetic xsi:type="xsd:boolean">boolean</phonetic>
            <inflections xsi:type="xsd:boolean">boolean</inflections>
          </Item>
          <Item soapenc:id="id8">
            <expression xsi:type="xsd:string">string</expression>
            <phonetic xsi:type="xsd:boolean">boolean</phonetic>
            <inflections xsi:type="xsd:boolean">boolean</inflections>
          </Item>
        </champ>
        <filtrePublic soapenc:id="id9" soapenc:itemType="tns:SPTFiltrePublic" soapenc:arraySize="2">
          <Item>Adulte or Jeunesse</Item>
          <Item>Adulte or Jeunesse</Item>
        </filtrePublic>
      </sptSearchParams>
    </tns:sptSearch>
  </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:soapenc="http://www.w3.org/2003/05/soap-encoding" xmlns:tns="http://electre.com/ElectreNET/" xmlns:types="http://electre.com/ElectreNET/encodedTypes" xmlns:rpc="http://www.w3.org/2003/05/soap-rpc" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body soap12:encodingStyle="http://www.w3.org/2003/05/soap-encoding">
    <tns:sptSearchResponse>
      <rpc:result xmlns="">sptSearchResult</rpc:result>
      <sptSearchResult xsi:type="xsd:string">string</sptSearchResult>
    </tns:sptSearchResponse>
  </soap12:Body>
</soap12:Envelope>