user1179510
user1179510

Reputation: 1023

Running axis2 code generated by soapui

I am using soapui to generate my axis2 java code. Now I have a build.xml and a java file. How do I go about running ths as a standalone java application. What ide am I supposed to use and how do I compile this code(if i directly paste this code into netbeans there are so many jars which I am having to add. Even after this some classes are not found and I am unable to compile it). What are the external jars that I need to add. Are there any good tutorials for this. Also does anyone know of any easy way to convert a wsdl url to javastandalone code for querying the web application.

Upvotes: 1

Views: 3684

Answers (1)

Perception
Perception

Reputation: 80633

You can import an Ant project into NetBeans as a free-form project.

NetBeans Freeform Projects

If you feel like an adventure, you can manually convert your Ant project to Maven

Convert Ant project to Maven

There are many tools for generating Java code from WSDL. Most modern IDE's have built-in plugins for this purpose (Eclipse, NetBeans, IDEA]. Since you are using Axis2 you can also use the wsdl2java command line tool.

Axis 2: Creating Client Code from WSDL

Upvotes: 1

Related Questions