I have implemented WebServices using Axis 2. I followed top-down approach(ie: creating java classes from WSDL). How to test my WebServices? Currently i am sending the request(data) from UI layer to WebServices and checking the DB. My WSDL has just XML messages. I do not want send my request from UI layer thru WebService to DB layer. I want to test WebService layer alone. Any suggestion (or) tool recommendation ?
Do you want to test the results of your services, or do you want to actually test the web service container itself?
If you're just testing the service methods themselves, then just call the methods in your services. If you want to test the full stack, you can do something as easy as using HttpUnit (or an equivalent), or create client wrappers automagically (like Jersey, or whatever that's called) and do it through the full stack.
Joined: Apr 08, 2004
Hi David, I want to test the full stack using opensource or commercial tools. Looks Jersey Test Framework supports RESTful Web Services. My Axis2 WebService is SOAP based document/literal.