Search code examples
javaweb-serviceswsdl

Create webservice from wsdl


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.


Solution

  • 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 :

    • knowing exactly what the methods are supposed to do
    • choosing a way, among many other possible ways, to achieve it

    As far as I know wsimport allows you to create a proxy on the client side, which is not what you're asking for.