hi, ADB help mode is an obsolete feature. Please use the normal mode.
thanks, Amila. On Thu, Nov 13, 2008 at 4:23 PM, <[EMAIL PROTECTED]> wrote: > I'm trying to use helpmode for code generation with adb using the -Eh > switch (AXIS2 1.4.1): > > java -Djava.ext.dirs="C:\apache\axis2-1.4.1\lib" > org.apache.axis2.wsdl.WSDL2Java -uri > http://localhost:8085/test/Simple.wsdl -p com.tom.test -d adb -s -ss -sd > -o C:\workspace\SimpleWS -uw -u -Eh > > I have attached the WSDL and the referenced XSD to this message. The > problem is > that the generator does not produce a usable helper for any class. For the > class 'Attachment' for example, which is part of my XSD, two files are > generated (in the same package): > > Attachment.java > AttachmentHelper.java > > Yet the content is the same (I've deleted the comments): > > /** > * Attachment.java > * > * This file was auto-generated from WSDL > * by the Apache Axis2 version: 1.4.1 Built on : Aug 13, 2008 (05:03:41 > LKT) > */ > > package com.tom.test; > > public class Attachment { > > private java.lang.String localName; > > public java.lang.String getName() { > return localName; > } > > public void setName(java.lang.String param) { > > this.localName = param; > } > > private javax.activation.DataHandler localContent; > > public javax.activation.DataHandler getContent() { > return localContent; > } > > public void setContent(javax.activation.DataHandler param) { > > this.localContent = param; > } > } > > Obviously this creates a name clash as there are now two classes with the > same name, > and the class name is diffrent from the file name for the helper. > My guess is that the template for generation ADB code 'ADBBeanTemplate.xsl' > is wrong, > or that i'm missing some other adb switch perhaps. > Can anybody give me a hint where to start looking ? > > Thanks in advance, > > tom > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > -- Amila Suriarachchi WSO2 Inc. blog: http://amilachinthaka.blogspot.com/
