I tried the same and got this error
 
java org.apache.axis2.wsdl.WSDL2Java -uri file:///AXIS/Axis-2_1/samples/transfer2/transfer2.wsdl
Exception in thread "main" java.lang.NoClassDefFoundError: javax/wsdl/extensions
/schema/Schema
        at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.copyExtensibl
eElements(WSDL11ToAxisServiceBuilder.java:1433)
        at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.processBindin
g(WSDL11ToAxisServiceBuilder.java:315)
        at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateServi
ce(WSDL11ToAxisServiceBuilder.java:207)
        at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerat
ionEngine.java:114)
        at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
        at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)
 
Anyone know where the javax.wsdl.extensions.schema.* library is located?

M-
*********************************************************************
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed.  If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.
 

 
----- Original Message -----
Sent: Tuesday, July 25, 2006 11:05 AM
Subject: [AXIS2 ]WSDL generation error

Hi,
I'm using the latest nightly version of Axis2 (23/07/06). Actually, I have generated java code from a wsdl file but there is an error in the generated code.
The method in cause is the method toEnvelope in the stub code (client side). Actually, the server code is allright.
Do you know what coud be the cause? Is my wsdl file which in cause or is it a bug of Axis2?
 
Regards
Fabien
This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to