Search code examples
javawsdl

From dynamic end point WSDL to static wsdl


I used a dynamic end point wsdl (wsdl via http) to generate the client side. This works fine.

Is it possible to generate a static wsdl from the http link of dynamic wsdl?

The problem is that the dynamic wsdl is accessible only from one machine.

I would like to developp the client side on another pc.

Thank you.


Solution

  • Download WSDL and put it into source control, setup Maven to generate Java classes from it using maven plugin (I use CXF plugin) and you are done.

    In order to download all imported XSDs you can use one of the available tools, please refer to these SO questions: Question #1, Question #2