You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Michael <mt...@optonline.net> on 2009/02/24 03:10:05 UTC
Axis2 Code Generator Problem
I'm developing a bottom up web service and now that I have got it working using the code I developed and the client stub generated when I created the web service from Eclipse I now want to create a WSDL file.
When I launch the Axis2 Code Generator (v1.3.0) Wizard, enter the fully qualified class name and the location of the class file and then select the button to test loading the class I keep getting a java.lang.ClassNotFoundException.
Is this a bug or am I doing something wrong?
Re: Axis2 Code Generator Problem
Posted by Michael <mt...@optonline.net>.
I followed these instructions and I still get the error I reported in my original email below when I try to generate a WSDL file from my Java code.
Any other suggestions?
Thanks.
----- Original Message -----
From: Richard Hu
To: axis-user@ws.apache.org
Sent: Monday, February 23, 2009 10:52 PM
Subject: RE: Axis2 Code Generator Problem
This is a known bug. Here is the solution with explanation: http://blogiterox.wordpress.com/2008/10/24/exploring-apache-axis2-and-eclipse-plug-in-development/
Solution: Copy the jar for stax and for backport to the plug-in directory (<Eclipse>\plug-ins\<Axis2 code generator>\lib) and then add the backport jar to the plugin.xml file.
------------------------------------------------------------------------------
From: Michael [mailto:mtarullo463@optonline.net]
Sent: Monday, February 23, 2009 9:10 PM
To: axis-user@ws.apache.org
Subject: Axis2 Code Generator Problem
I'm developing a bottom up web service and now that I have got it working using the code I developed and the client stub generated when I created the web service from Eclipse I now want to create a WSDL file.
When I launch the Axis2 Code Generator (v1.3.0) Wizard, enter the fully qualified class name and the location of the class file and then select the button to test loading the class I keep getting a java.lang.ClassNotFoundException.
Is this a bug or am I doing something wrong?
------------------------------------------------------------------------------
No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.0.237 / Virus Database: 270.11.3/1970 - Release Date: 02/24/09 13:35:00
RE: Axis2 Code Generator Problem
Posted by Richard Hu <Ri...@jda.com>.
This is a known bug. Here is the solution with explanation:
http://blogiterox.wordpress.com/2008/10/24/exploring-apache-axis2-and-ec
lipse-plug-in-development/
Solution: Copy the jar for stax and for backport to the plug-in
directory (<Eclipse>\plug-ins\<Axis2 code generator>\lib) and then add
the backport jar to the plugin.xml file.
________________________________
From: Michael [mailto:mtarullo463@optonline.net]
Sent: Monday, February 23, 2009 9:10 PM
To: axis-user@ws.apache.org
Subject: Axis2 Code Generator Problem
I'm developing a bottom up web service and now that I have got it
working using the code I developed and the client stub generated when I
created the web service from Eclipse I now want to create a WSDL file.
When I launch the Axis2 Code Generator (v1.3.0) Wizard, enter the fully
qualified class name and the location of the class file and then select
the button to test loading the class I keep getting a
java.lang.ClassNotFoundException.
Is this a bug or am I doing something wrong?