Clarity

 View Only
  • 1.  Filter multiple Values

    Posted Aug 06, 2019 12:18 PM
    Hi, 
    I am making a soap call to pull data, i want to filter the resourcename field for multiple values (ex. 'if name = 1 || name = 2' logic). Here is the wsdl field filters 
    <xsd:element maxOccurs="1" minOccurs="0" name="resourcename" type="xsd:string"/>
    <xsd:element maxOccurs="1" minOccurs="0" name="resourcename_from" type="xsd:string"/>
    <xsd:element maxOccurs="1" minOccurs="0" name="resourcename_to" type="xsd:string"/>
    <xsd:element maxOccurs="1" minOccurs="0" name="resourcename_in" type="xsd:string"/>
    <xsd:element maxOccurs="1" minOccurs="0" name="resourcename_wildcard" type="xsd:string"/>

    When i am making the call, i use
    <quer:resourcename>value1</quer:resourcename>

    But there is also Value2, 3, 4, and so on. How would i do this? when i try to add more lines like the one above, the last filtered value will be the only one to be outputted. Also, since these are string values, how do i even use the from and to filter fields? 

    Thanks in Advanced, 
    Malay