On Nov 12, 2007 4:24 PM, ROBINSON JULIEN <[EMAIL PROTECTED]> wrote: > > > > For the moment, I was doing this way: > > > java2wsdl: org.apache.ws.java2wsdl.Java2WSDL > > > wsdl2java: org.apache.axis2.tool.ant.AntCodegenTask > > > > Are you using axis1.x or axis2? I have used axis2. > > I am using Axis2. > > > try to do this, > > dowonload an axis2-SNAPSHOT > > then extract it and set the AXIS2_HOME correctly > > then use the wsdl2java tool with the above options. > interop_server-SNAPSHOT > I'm sure that if I use the same tool as you on the same files, I will > get the same result. > interop_server-SNAPSHOT > What class does the wsdl2java tool call? > Is it reachable by an Ant task? > > In fact my question is simple: Please tell me what I should write in my > Ant file to do a proper WSDL 2 Java operation. > Shouldn't I use codegen?
what you have done is correct. check by swith off backworkd compatibility. i.e backwardcompatible="false" - this is the only thing I can assume. if you do what I have asked you to do then we can find the place where you have made the mistake. thanks, Amila. > > I'm a bit lost in Axis2 because for each operation, wsdl2java and > java2wsdl, there seems to be at least 2 solutions... > > Julien Robinson > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Amila Suriarachchi, WSO2 Inc. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
