Reputation: 625
Is there a way to generate corresponding web service (server) from existing wsdl file in java (specially by using Intellij IDEA)?
It seems a very simple question, but I can't find any solution.
Upvotes: 1
Views: 1165
Reputation: 198
I would be surprised if it exists. The wsdl describes the interface of the service, i.e. what are the available methods, what parameters do they require, what do they return, thrown exceptions, ...
Getting an implementation from an interface requires thinking :
As far as I know wsimport allows you to create a proxy on the client side, which is not what you're asking for.
Upvotes: 2
Reputation: 10239
Use JAX-WS wsimport
which is a commandline tool
The wsimport tool generates JAX-WS portable artifacts, such as:
http://docs.oracle.com/javase/7/docs/technotes/tools/share/wsimport.html
The method you are using is called Top-Down or Contract first this might help you googling for future problems.
Upvotes: 1