Generating Web Services

If you recall, when you first looked at the WSDL document that described the HelloWorldService, you saw how completely the WSDL document described your service. This enabled the wsdl2java tool to generate the client stubs that simplified the actual development of your client application. But how complete is the description?

You may be surprised to hear that you can use the WSDL document to generate a skeleton Java class file for the actual Web service. Why might this be interesting? Imagine you need to convert a Web service from some other language to Java. All you need to do is generate a WSDL document for the service, and then generate the skeleton class. Likewise, perhaps you want to participate in a business-to-business ...

Get Java™ Web Services Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.