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?
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.
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.
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.
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.
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