Forum Discussion

shelleyay's avatar
10 years ago

Beginner SOAP user: Adding Filter to SOAP request

Hello - I am a very very beginner user of SOAP, so sorry for the very basic question. Can someone point me to the syntax for functions supported by SOAP requests? Alternatively if there is some reference document/cheat sheet on the web somewhere, that would be helpful.

I'm trying to limit a SOAP Request to pull data where a certain field (XYZ) is not equal to T.

What works:
I am able to pull = T
<b:XYZ>=T</b:XYZ>

but how do I make it <> T ?

Also how would I do an "IN" criteria? example <b:FirstName> in ('Joe','Mary')</b:FirstName>

1 Reply

  • PaulDonny's avatar
    PaulDonny
    Regular Contributor
    Such things would be determined by the developer of the API that SoapUI is accessing.

    SOAP is a rather standard and simple way to send a message from a client to a host. Think of each call as, for example, a web page. While ESPN.Com will accept your ESPN account, thinkgeek.com will not accept it. Without the correct information for the API (WebPage) that you are attempting to access we can not assist too much on things like acceptable inputs.


    As for some basics on SOA:

    W3Schools is always a great resource for tutorials on anything web based. I would also recommend their WebServices training as a whole.
    SoapUI Dojo has some resources about SOAP and such as well as some practices and tutorials.



    Another thing that really stepped my game up in SOAP and webservices was to start developing my own web services. They are extremely easy to build, kinda fun to build and it really helps with the testing aspects of webservices in the sense that you learn how to build the web service, the client and test in between. Plus it is a lot of fun for me to do it. I often times build wrapper APIs around the API that I am testing in order to make it easier to test.