Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Simple Web Server to respond to a AXIS client request

 
John Ryan
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Balaji Loganathan
author and deputy
Bartender
Posts: 3150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
John Ryan
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Cheers, SimpleAxisServer does exactly what I need.........
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic