Apr 29th, 2008, 05:30 PM
How to import MockWebServiceMessage in my test case
Hi, I wanted to write a test case for my WS app and looked around for Mocks. Mock classes in core/src/test/java/org/springframework/ws looked really good. I didn't find these included in spring-mock or spring-test jars. Are these classes available in any jar that I can import?
May 2nd, 2008, 05:24 AM
No, they are only part of the test code base, and not exposed yet. There is an feature request (http://jira.springframework.org/browse/SWS-263) which will add a Mock Transport, so that you can test WS calls more easily. Vote for it if you want to see it implemented.
May 2nd, 2008, 03:02 PM
Thanks. I voted for it and will lobby in my group to vote for it.