• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Simple Web Server to respond to a AXIS client request

 
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
author and deputy
Posts: 3150
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Cheers, SimpleAxisServer does exactly what I need.........
reply
    Bookmark Topic Watch Topic
  • New Topic