I have to test some Web Services made with CXF. I want to test them with JUnit, but I cannot find what class my unit has to extend. I know that for regular tests, the TestCase class is the base class, but in the web service context, I think another class has to be extended; For example, if the the XFire whould have been used to work with WS, then the AbstractXFireAegisTest has to be the base class. I've searched the net, but really cannot find an example of JUnit for CXF Web Services. Could anyone help me ?
One of the advantages of web services is that the client is independent of the service implementation. So for testing the client-soide it shouldn't matter server-side framework is used. Extending TestCase should work fine; just stick your client-side code in one of the testXYZ methods.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com