aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes 2 Eclipse Web service questions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "2 Eclipse Web service questions" Watch "2 Eclipse Web service questions" New topic
Author

2 Eclipse Web service questions

Melinda Savoy
Ranch Hand

Joined: Jun 21, 2005
Posts: 387

I am new to web services and I'm working with Eclipse and have 2 questions.

1. When I've updated my service class I am needing to update the WSDL that the web service client is processing, how do I do that?
2. How does the client I'm executing get or have the latest changes from the updated WSDL?

Any help/direction would be appreciated. Regards.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16137
    
  21

At least at one time, the Apache Axis web services system had a java2wsdl utility you could run. On good days, I could even get their Eclipse GUI plugin to work. On bad days, I ran it from the command line. Same results, either way.

WDSL is normally served up via an HTTP request. I think Axis provides a page that can access WSDLs under the "/services" sub-URL.


Customer surveys are for companies who didn't pay proper attention to begin with.
Melinda Savoy
Ranch Hand

Joined: Jun 21, 2005
Posts: 387

Thanks, Tim. I appreciate the reply. I've been working with the Eclipse GUI tools. I created the Dynamic Web Project and the Test client for this project and was able to test locally. I see what I think is the WSDL in XML format in this URL: http://localhost:8080/NstkWSTest/services/NonStockRequisitionServiceBean?wsdl

Once I get this to my dev box, since this is obviously on my local box, is this what I give to the customer to consume this web service?

Again, I'm a newbie to web services so again any help/direction would be appreciated. Regards.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16137
    
  21

Web services are language and platform-independent, in large part because of WSDL.

A web services client can take the download WSDL and generate whatever client code they want. For Java/Axis, the WSDL2JAVA program will create the interfaces and model code.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: 2 Eclipse Web service questions