0

I am trying to convert a WSDL file into a Java file. How can I do this? I have a WSDL file in a folder. I want to convert that WSDL file to a Java file.

Mark Rotteveel
  • 100,966
  • 191
  • 140
  • 197

1 Answers1

1

JDK 8 had wsimport, which is removed in later versions. So if you are using Java 8, that is an option available.

Some links: https://docs.oracle.com/javase/8/docs/technotes/tools/unix/wsimport.html https://mkyong.com/webservices/jax-ws/jax-ws-wsimport-tool-example/

Another option is to use Apache CXF: https://cxf.apache.org/docs/wsdl-to-java.html

And you can use SoapUI to generate the the client, assuming the requirement is to generate java client.

Chintan Adhia
  • 91
  • 3
  • 10