Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / August 2007

Tip: Looking for answers? Try searching our database.

How to make a virtual webservice provider

Thread view: 
bennynews@hotmail.com - 27 Aug 2007 07:30 GMT
Hi

I want to create a servlet or something similar, that can act as a
provider for virtual webservices.
I want to save the description of each 'service' in a database instead
of in wsdl files and i want she servlet to dynamically act as a
webservice that dynamically creates SOAP responds, exact as if the
request ware made to a real normal static webservice.

If a request for a wsdl file is made, then the servlet should build
the file, according to the settings in my database and return the wsdl
file.
If a request for some method is done, then the servlet should build a
SOAP response according to the request.

Is this possible by using the servlet class or do i need to make my
own webserver and build all http requests by myself?

Are there some classes outthere, that can be uses for this kind of
solution?

Any help would be appreciated.

Kind regards, Benny
Lew - 27 Aug 2007 13:55 GMT
> Hi
>
[quoted text clipped - 16 lines]
> Are there some classes outthere, that can be uses for this kind of
> solution?

Doesn't that rather defeat the purpose of WSDLs?

Signature

Lew

Mike Schilling - 27 Aug 2007 15:41 GMT
> Hi
>
[quoted text clipped - 13 lines]
> Is this possible by using the servlet class or do i need to make my
> own webserver and build all http requests by myself?

All of this can be built on top of HttpServlet.  I suggest you download the
latest versions of Axis and Tomcat, and start by building and deploying some
simple web services to see how they behave and how they're implemented.  You
won't need to build the requests yourself, as many toolkits (including Axis)
can generate clients that build requests based on the WSDL definitions.

One thing I'm not clear on is how often the definitions in your database
will change.  One weaknes of web services is that there's no definition of a
lifecycle for service definitions.  If I build a client based on the WSDL
for a service, and the next day that definition changes, my client might
fail with no good indication of what the problem was.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.