aspose file tools*
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]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Creating a new webservice from existing ones????