-
Apr 25th, 2008, 04:33 AM
#1
Testing Strategy for Spring-WS Clients
Hi as a relative newb
in this area I'm looking for advice in terms of how best to test web service client classes (aka WSClient) I'm creating to wrap and utilise classes like the WebServiceTemplate. WS Client allows my app to kick it to retrieve docs from SOAP endpoints - real simple currently.
On the testing side of things I'm using Junit currently to exercise my WSClient wrapper, enabling me to exercise all the setters/getters and inject all dependencies where necessary to get good coverage.
However - when it comes to wanting to test a full round-trip, I obviously want to avoid using a real SOAP Service Endpoint, and at this point I'm really unclear on the optimal way of mocking/stubbing/simulating this interaction - and wheter Spring utils and/or Jmock will be of benefit here.
Thanks in advance.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules