Latest post Wed, Mar 9 2016 4:34 PM by vincent menard. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • Wed, Mar 9 2016 3:56 PM

    iNews WS - PerformSimpleSearch call

    Hi all

     

    A customer attempt to make a WS call with the PerformSimpleSearch method with multiple WORDS

    No error returned, just the Getresult ID without any Story

    The call is the following:

    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:typ="http://avid.com/inewssystem/types">

       <soapenv:Header/>

       <soapenv:Body>

          <typ:PerformSimpleSearch>

             <typ:SearchType>Fast</typ:SearchType>

             <typ:SearchPath>CONDUCTEURS-TV</typ:SearchPath>

             <!--1 or more repetitions:-->

             <typ:SearchWords>MLK&amp;JTM&amp;160309&amp;198</typ:SearchWords>

             <typ:SearchOperator>And</typ:SearchOperator>

             <typ:NumberOfParagraphs>1</typ:NumberOfParagraphs>

             <typ:HitLimit>10</typ:HitLimit>

          </typ:PerformSimpleSearch>

       </soapenv:Body>

    </soapenv:Envelope>

     

    Does the syntax is correct? How to type multiple Words value in the SearWords tag?

    thanks

    Vincent

  • Wed, Mar 9 2016 4:34 PM In reply to

    Re: iNews WS - PerformSimpleSearch call

    ISSUE fixed typing one line per WORD as below

    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:typ="http://avid.com/inewssystem/types">

       <soapenv:Header/>

       <soapenv:Body>

          <typ:PerformSimpleSearch>

             <typ:SearchType>All</typ:SearchType>

             <typ:SearchPath>[INEWS]CONDUCTEURS-TV</typ:SearchPath>

             <!--1 or more repetitions:-->

             <typ:SearchWords>MLK</typ:SearchWords>

             <typ:SearchWords>JTM</typ:SearchWords>

             <typ:SearchWords>160309</typ:SearchWords>

             <typ:SearchWords>198</typ:SearchWords>

             <typ:SearchOperator>And</typ:SearchOperator>

             <typ:NumberOfParagraphs>1</typ:NumberOfParagraphs>

             <typ:HitLimit>10</typ:HitLimit>

          </typ:PerformSimpleSearch>

       </soapenv:Body>

    </soapenv:Envelope>

     

Page 1 of 1 (2 items)

© Copyright 2011 Avid Technology, Inc.  Terms of Use |  Privacy Policy |  Site Map |  Find a Reseller