axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Gorodowienko ...@lpt.dk>
Subject [AXIS2C] [WSDL2C] Tool usage problem.
Date Mon, 16 Jun 2008 14:55:42 GMT
Dear Axis users,

     I have an issue about creation ANSI C code from WSDL file with 
usage of WSDL2C.bat script on Windows machine.
     I have downloaded, unpacked and went through installation notes of:
axis2-1.4-bin.zip
axis2c-bin-1.4.0-win32.zip
distribution-SNAPSHOT-bin.zip
     Unfortunately I can not make it work, still.

     For command:

C:\axis2c-bin-1.4.0-win32\siri-1.0>java org.apache.axis2.wsdl.WSDL2C 
-uri <my_file>.wsdl -ss -sd -d none

     I got a response:

Exception in thread "main" java.lang.NoClassDefFoundError: 
org/apache/axis2/wsdl/WSDL2C
Caused by: java.lang.ClassNotFoundException: org.apache.axis2.wsdl.WSDL2C
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClassInternal(Unknown Source)

     And for command:

WSDL2C.bat -uri <my_file>.wsdl -ss -sd -d adb -u

     I got response:

C:\axis2c-bin-1.4.0-win32>echo off
Unrecognized option: -uri
Could not create the Java virtual machine.

     I did not find any helpful information on Internet.
     Any suggestions, please?

Best regards,
     Daniel Gorodowienko

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org


Mime
View raw message