This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hi all, I have a client that will invoke a web service over SOAP using the Apache Axis library. I need to test my client and want to create some simple code to mimic the behaviour of the web service (which is being written by another department). I was wondering if anyone knows of a simple HTTP Server implementation that I could use to test my client. Preferably just a class or two that would just allow me to send a simple response to each request. I want to be able run my tests without having to configure Tomcat and deploy the service each time the test is to be run. Possibly I can use the WebServer functionality provided with Apache XML-RPC. Anyone know of any other similar implementations? Cheers, John
Apache Axis also got a standalone web service which u can invoke by running org.apache.axis.transport.http.SimpleAxisServer but i don't know whether it will solve your purpose. On the other hand, you can also create the server skeloton for a given WSDL and do the test service by invoking dummy request.see here for more info