How to create virtual webservices?
- From: "Benny Dein" <nospam@xxxxxxxxx>
- Date: Thu, 23 Aug 2007 21:40:37 +0200
Hi
I want to create a servlet or something similar by which im able to create
virtual webservices.
Lets say i would like to create a webservice with a method called 'getDate'
which returnes the current date.
This could be done by making a wsdl file (or whatever the name is) and via a
wizard in some java tool make a real webservice. This webservice would be
static since it creates a class in which i can make my code to return the
date. The servlet should be published to a server and the behaviour cant be
changed without compiling the class again and publish again. In that way it
is static.
I would like to implement the same thing, but in af dynamic manner. By this
i mean that i will create the wsdl file dynamically, when a client requests
for that and i would dynamically construct the soap response, when the
client makes a request on my method.
So to the client it should seem exact as a static normal webservice but the
implementation on the server is totally dynamic, and any xml returned from
calls to my 'webservice' should be created dynamically.
Can anyone guide me in how to implement this?
Which .jar files do i need, where do i get them from, which classes can help
create wsdl files and soap webservice responses?
Can it be implementet in a normal servlet or do i have to code my own http
server?
Links to guides would be appreciatet.
Thanks in advance, Benny
.
- Follow-Ups:
- Re: How to create virtual webservices?
- From: Howard
- Re: How to create virtual webservices?
- Prev by Date: Re: Problem with BitSet.length()...
- Next by Date: Re: How to create virtual webservices?
- Previous by thread: Problem with BitSet.length()...
- Next by thread: Re: How to create virtual webservices?
- Index(es):
Relevant Pages
|