I'm trying generate a WSDL from java code with Apache Axis2 using IntelliJ (latest and greatest version of ultimate), but the following screen just jiggles for a few seconds and nothing happens. Does this actually work? My web service is a simple "echo" service... :(
In the main menu, go to Tools | XML WebServices and WSDL | Generate WSDL From Java Code. In the Generate WSDL From Java dialog that opens, specify the following: The name and URL address of the Web service. The protocol and encoding style used when accessing the public operations of the Web service.
The dialog opens after you create a Java module and enable Web services client development in it. To access the dialog at any time during development, select the desired client module in the Project view and choose Tools | XML WebServices and WSDL | Generate Java Code From WSDL from the main menu.
Generate the client code as follows: In the Project Explorer, right-click your client project's WSDL file, and then select WebLogic Web Services > Generate Web Service Client from the drop-down menu, as Figure 1 shows. This will open the New Web Service Client dialog that Figure 2 shows.
In order to make Axis2 WSDL generation work you will need to:
Settings > Tools > Web Services
Now the Generate Java Code From Wsdl
with option Apache Axis 2
should work fine.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With