Get your CodeRanch badge!*
The moose likes Web Services and the fly likes Creating a new webservice from existing ones???? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Creating a new webservice from existing ones????" Watch "Creating a new webservice from existing ones????" New topic
Author

Creating a new webservice from existing ones????

Megan Stew
Greenhorn

Joined: Jun 17, 2004
Posts: 4
Can any1 please throw some light on how a composite webservice can be built from existing webservices. That is, when a user selects any two webservices like Addition and then conversion of number to String , it should give java files (both Class file and Interface) such that it represents a new Webservice when it is deployed.

I have questions on the following,

--> How should I achieve this?

--> What are the things should I install in my machine to parse the WSDL file?

I will be very happy if any1 finds a solution and brief me about the overall set up so that I can achieve this.

Thanks in advance,
Megan.
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
I'm afraid you'll just have to take the WSDL's of the two existing services, use WSDL2Java to generate you the client stubs, and then create your own web service as usual -- invoking the methods on the two previously generated web service stub classes to achieve the composite functionality.


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Creating a new webservice from existing ones????
 
Similar Threads
Composite webservice
populate data via soap from webservice
How to get the achieve Version of deployed webservices
Webservice client program to return an xml file
Unable To find request type mapping