You need to sign in to do that
Don't have an account?
Dor
Message Edited by Dor on 11-19-2008 08:26 AM
partner.wsdl to java using axis2 wsdl2java - help is needed
Hi,
How do i generate java files from the partner.wsdl using the axis2 wsdl2java?
Can you give me the full dos command for it, suppose my wsdl is located on c:\salesforce.
I am using: Myeclipse 6.5, Jboss 4.2.3, Java 1.5
Thanks in advance to you all,
Dor
Message Edited by Dor on 11-19-2008 08:26 AM
You can convert WSDL file to Java files by using axis-bin-1_4 and command is
>java org.apache.axis.wsdl.WSDL2Java -a ...'.wsdl or .xml file location ' -o ..'out put dir location'
But before running this command you have to setup the class path for the following jar files.
axis.jar,commons-logging-1.0.4.jar,commons-discovery-0.2.jar,jaxrpc.jar,wsdl4j-1.5.1.jar,axis-ant.jar,log4j-1.2.8.jar,saaj.jar,mail.jar
Thanks,
--bdr_09
Hi ,
I am able to do it using Axis 1.4 .
But what about Axis2 1.4.
I am using Eclipse Run Configurations where we "enterprise.wsdl -v -o src -O -1"
The same command doesnt work with Axis2 .
Any pointers to the Eclipse Run Configurations would be appreciated.
Thanks,
Chellappa
If u have the WTP support installed in your eclipse instance, then it is new->web service-> bottom up (from wsdl), go.. it runs wsdl2java under the covers, and compiles the code too.
here is a batch file I wrote to invoke wsdl2java manually