Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Intellij IDEA can't generate WSDL from JAVA

I'm trying to generate wsdl from java class in Intellij IDEA.
But i get the following error:

Error: Could not find or load main class org.apache.axis.wsdl.Java2WSDL

Could anyone help me solve this issue please?

like image 637
qiGuar Avatar asked Sep 12 '13 08:09

qiGuar


People also ask

How can WSDL be generated from a Java interface?

Create a WSDL descriptor from Java code Select the desired class name in the editor. 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.

How do I create a SOAP web service client using WSDL in Intellij?

Configure generation of the client-side XML-Java bindingSelect the desired client module in the Project tool window and select Tools | XML WebServices and WSDL | Generate Java Code from WSDL from the main menu. In the Web Service WSDL URL field, specify the URL address of the desired Web service WSDL descriptor.

How do I create a WSDL client in Java?

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.


1 Answers

Your Axis jars should be in classpath. Could you please check that. If this is a maven project, add a maven dependency else, add the jar location in your classpath.

like image 106
Gyanendra Dwivedi Avatar answered Sep 29 '22 10:09

Gyanendra Dwivedi