• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

2 Eclipse Web service questions

 
Melinda Savoy
Ranch Hand
Posts: 387
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 18212
53
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Melinda Savoy
Ranch Hand
Posts: 387
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 18212
53
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic