1

I have a wsdl reachable through an url. I'd like to generate client classes for using this web service using wsgen. How I can do it using as a parameter the wsdl url only? Thank you!

user448215
  • 11
  • 3

1 Answers1

1

I believe what you are after is wsimport, not wsgen:

wsimport -Xnocompile -keep -d <directory where you want your client class>  <path to the wsdl>

-Xnocompile allows you to keep the source

double07
  • 2,565
  • 2
  • 22
  • 22