Search code examples
web-servicesjax-ws

How to generate JAVA Artifacts from WSDL?


We have requirement for Contract First Web services for one of my Project. We have defined the WSDL file so I need to generate Java Artifacts from WSDL with JAX-WS, So Is there any way so that I can generate the Java Server side form exposing the WSDL.

Thanks, Ramakrishna Rayudu


Solution

  • Take a look at my post here.
    It explains how to generate the Metro-JAX-WS-Stubs (artifacts) from a given WSDL using the wsimport-Tool shipped with your JDK.

    Hope this helpes! Have fun!

    EDIT:
    Sorry I missunderstood your question!

    Apache AXIS ships with a function called wsd2java. That could be helpful in your case.
    Have a look at this post, giving links to tutorials for different IDEs.

    Cheers!