1

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.

user1179510
  • 1,003
  • 1
  • 14
  • 24

1 Answers1

1

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

Community
  • 1
  • 1
Perception
  • 79,279
  • 19
  • 185
  • 195
  • 1
    Okay. I generated the java file into axis2 and added the jars. But how do i call this file. How di i actually get the soap service working. – user1179510 Apr 11 '12 at 06:21
  • I created java project and add axis library. But how can I run it? – PeerNet Aug 17 '15 at 12:58