Win a copy of Pro Spring MVC with WebFlux: Web Development in Spring Framework 5 and Spring Boot 2 this week in the Spring forum!
  • 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
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Bear Bibeault
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh

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.........
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic