Dan, Axis2 M2 does not support Data Binding. Please refer the release notes. We ll probably ship this in the M3, which I believe will follow soon.
Chathura > -----Original Message----- > From: Kador, Daniel [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 09, 2005 8:11 PM > To: [email protected] > Subject: RE: [Axis2] WSDL2Code/Java not working > > Hi Ajith (and everyone else who responded), > > You'll all be happy to know that I am, indeed, a clumsy typer. Turns > out adding wsdl4k.jar is not a valid solution. Heh. > > I'm able to use the command line emitter now, although I'm still a > little confused at what it spits out. It doesn't seem to have all the > code that was generated by 1.2 (the big absence is the lack of generated > classes for the data types defined in my schema, but it seems like Axis > 2 uses generic object types for all objects?). I'm going to chalk this > up to me not completely understanding things at the moment though, > rather than blame Axis. > > I'm using Eclipse 3.1. I'm able to navigate through the wizard with no > problems, but when I hit the "Finish" button nothing happens. The > relevant error in the log is "java.lang.NoClassDefFoundError: > org/apache/crimson/tree/XmlDocument", which is pretty obviously a > classpath error, but it's confusing to me because the relevant jar > (rt.jar, as far as I know) is certainly in my classpath. This is > probably just a configuration error on my end. I'll examine it further > and let you all know. > > Thanks, > Dan > > -----Original Message----- > From: Ajith Ranabahu [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 08, 2005 11:22 PM > To: [email protected] > Subject: Re: [Axis2] WSDL2Code/Java not working > > > Hi Daniel, > Yes It seems the problem is with the wsdl4j.jar (we use it to give the > WSDL 1.1 support). BTW you can use the bat (or the shell script) to run > the tool wich searches for the classpath and puts all the necessary > classes in the classpath. > > What seems to be the problem with the Eclipse plugin ? (hope you have > Eclipse 3.0 or higher! This works only for Eclipse 3.0 or higher) > > On 6/9/05, Sanjiva Weerawarana <[EMAIL PROTECTED]> wrote: > > Looks like you don't have WSDL4J on the classpath - did you add > > wsdl4j.jar to your classpath? > > > > What problem are you having with the Eclipse plugin? > > > > BTW please prefix Axis2 mail with [Axis2] .. not [Axis2M2]. > > > > Thanks, > > > > Sanjiva. > > > > On Wed, 2005-06-08 at 15:09 -0400, Kador, Daniel wrote: > > > Hi, > > > > > > I just downloaded the M2 release of Axis 2, and I'm trying to test > > > it out with a web servicce that works properly with Axis 1.2. I'd > > > like to use the code emitter, since I want to test out the > > > asynchronous capabilities of Axis 2. Unfortunately, it's not > > > proceeding as smoothly as I had hoped. I'm just trying to use the > > > command line tool. I believe I'm using the correct classpath, but > > > the error I get when I specify my WSLD is > > > > > > Exception in thread "main" java.lang.NoClassDefFoundError: > > > javax/wsdl/WSDLExcept ion at > > > org.apache.axis.wsdl.WSDL2Code.main(WSDL2Code.java:28) > > > > > > So it can't find a class it wants (I believe it's not finding > > > CodeGenerationEngine), but that doesn't make sense because that > > > should all be in axis2-M2.jar. If I can run > > > org.apache.axis.wsdl.WSDL2Java, then I should also be able to see > > > the rest of the classes in axis2-M2.jar (I think). > > > > > > Note that I've also tried using the Eclipse plugin, and that's not > > > working for me either. > > > > > > Any suggestions? > > > > > > Thanks, > > > Dan > > > > > > > > > > -- > Ajith Ranabahu
