Forum Discussion

newtosoap12's avatar
newtosoap12
New Contributor
12 years ago

Using operators in SOAP requests

Hi,

My ask is to get a set of terms that do not have a particular attribute in the response. Is it possible to use something like "Does not contain" or "Not equal to" in SOAP request. A sample request is given below, have highlighted the row to which i want to add a logical/arithmetic operator.

<soapenv:Header/>
<soapenv:Body>
<sym:GetAListOfTerms>
<sym:catalogIdentifier>Problems</sym:catalogIdentifier>
<sym:searchFilters>
<sym:NameValueItem>
<sym:ItemName>AttributeABC</sym:ItemName>
<sym:ItemValue>*</sym:ItemValue>
</sym:NameValueItem>
</sym:searchFilters>
<sym:pageIndex>1</sym:pageIndex>
<sym:maxResults>100</sym:maxResults>
</sym:GetAListOfTerms>
</soapenv:Body>
</soapenv:Envelope>
  • nmrao's avatar
    nmrao
    Icon for Champion Level 2 rankChampion Level 2
    I believe, if one can create schema, then obiviously can have such elements or attributes of request/response. Do not see anything unusual.
  • Hi,

    Thanks for you reply.

    From whatever little I understood, is this what you are trying to say? By creating schema, I should be creating something like this - <DoesNotContainItemName>AttributeABC</DoesNotContainItemName>.

    I recently started using SOAP UI Pro to test a 3rd party service. So, it would be really nice if you could elaborate or direct me to an existing post, if any.