Forum Discussion

armadco's avatar
12 years ago

Soap UI 4.6 and Axis 1.4 Problem

Hi. I have a problem with generating Java Classes from WSDL using SoapUI and Axis 1.4.
WSDL is RPC/ Encoded
I've added Axis Src in Tools.. downloaded it from this link http://archive.apache.org/dist/ws/axis/1_4/

Running Axis 1.x wsdl2java for [m2mBinding]
directory: C:\m2m api axis\axis-1_4\lib
command: [java, -cp, activation.jar;axis-ant.jar;axis.jar;bsf.jar;castor-0.9.5.2.jar;commons-codec-1.2.jar;commons-discovery-0.2.jar;commons-httpclient-3.0-rc2.jar;commons-logging-1.0.4.jar;commons-net-1.0.0-dev.jar;httpunit.jar;ibmjsse.jar;javax.jms.jar;jaxrpc.jar;JimiProClasses.jar;junit-3.8.1.jar;log4j-1.2.8.jar;mailapi_1_3_1.jar;saaj.jar;servlet.jar;wsdl4j-1.5.1.jar, org.apache.axis.wsdl.WSDL2Java, -v, -T, 1.2, C:\Users\user\AppData\Local\Temp\tempdir8609339475527714660.tmp\m2m_1.wsdl]
Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object


Please Help me to solve this problem.
http://gyazo.com/ae68717d5cc061e0857c5d5b2d671823
http://gyazo.com/d635f8741dc92480e1bcf0e0f0c036af

axis2 works fine.. but it's not suitable with RPC encoded WSDL.

1 Reply

  • nmrao's avatar
    nmrao
    Icon for Champion Level 1 rankChampion Level 1
    Looks, it is not able identify java location.

    could you please set java_home, path correctly in your environment variables and see that helps?