axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lefrancois, Carl" <>
Subject RE : [AXIS2C] [WSDL2C] Tool usage problem.
Date Mon, 16 Jun 2008 15:01:02 GMT

I believe that exception means that the CLASSPATH environment variable
needs fixing.  It should include a reference to the Axis2 directory that
contains the jar files for WSDL2C.

I had the same problems when beginning to use WSDL2C.  Keep at it, it
works well eventually!


-----Message d'origine-----
De : Daniel Gorodowienko [] 
Envoyé : lundi, juin 16, 2008 10:56
À :
Objet : [AXIS2C] [WSDL2C] Tool usage problem.

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:
     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: 
Caused by: java.lang.ClassNotFoundException:
         at$ Source)
         at Method)
         at 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:
For additional commands, e-mail:

"Ce message est confidentiel, à l'usage exclusif du destinataire
ci-dessus et son contenu ne représente en aucun cas un engagement de la
part de AXA, sauf en cas de stipulation expresse et par écrit de la part
de AXA. Toute publication, utilisation ou diffusion, même partielle,
doit être autorisée préalablement. Si vous n'êtes pas destinataire de ce
message, merci d'en avertir immédiatement l'expéditeur."

"This e-mail message is confidential, for the exclusive use of the
addressee and its contents shall not constitute a commitment by AXA,
except as otherwise specifically provided in writing by AXA. Any
unauthorized disclosure, use or dissemination, either whole or partial,
is prohibited. If you are not the intended recipient of the message,
please notify the sender immediately."

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message