Reputation: 2077
can somebody please tell me how to generate wsdl from java code ?
Upvotes: 1
Views: 493
Reputation: 308998
Another approach would be to think "contract first": start by defining your request and response XML and generating WSDL from that. Your Java classes are decoupled from the WSDL, and "duck typing" is possible.
This is the approach taken by Spring web services.
Upvotes: 1