Hi chaiavi ; Seems you have forgotten to attach the zip file.
Thanks Deepal >Just now I found that i can upload a file. > >Ok attaching a zip containing: >- Original source code. >- Compiled class files from this source code. >- Generated wsdl file (with double code lines inside). >- Fixed wsdl file. >- Generated java stubs generated from the good wsdl file using wsdl2java ant >task. > >Thanks for every help. > >Chaiavi. > > >http://www.nabble.com/file/3981/Thanks4Help.zip Thanks4Help.zip > >Deepal Jayasinghe wrote: > > >>Hi Chaiavi ; >> >>Can you please attach your java class or pls help me to regenerate the >>issue. >>As I remember correct we had this problem in Axis2 1.0 release and we >>have fixed that in current code base. >> >>Thanks >>Deepal >> >> >> >>>Hi, >>> >>>I created the WSDL file using java2wsdl ant task - And it does a great >>> >>> >work > > >>>and gives me my wsdl file. >>> >>>BUT >>> >>>It doubles the code in the wsdl file! >>> >>>I'll bring an example - Here: >>><xs:complexType name="SpitConfiguration"> >>><xs:sequence> >>><xs:element name="invites_per_interval" type="xs:int" /> >>><xs:element name="interval_in_seconds" type="xs:int" /> >>></xs:sequence> >>></xs:complexType> >>> >>>These lines define one object/function or something - I have 5 different >>> >>> >XML > > >>>objects like this one, but when I create the wsdl file with this task - it >>>gives me these 5 Objects TWICE (10 Objects where 5 are similar to the >>> >>> >other > > >>>five). >>> >>>So when I delete the five unnecessary Objects the webService works, but if >>> >>> >I > > >>>don't touch it, it corrupts the webservice. >>> >>>Please help me, How can I automatically generate this WSDL in the right >>>format - without doubling the code inside... >>> >>> >>> >>> >>-- >>Thanks, >>Deepal >>................................................................ >>"The highest tower is built one brick at a time" >> >> >> >>--------------------------------------------------------------------- >>To unsubscribe, e-mail: [EMAIL PROTECTED] >>For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> >> >> > > > -- Thanks, Deepal ................................................................ "The highest tower is built one brick at a time" --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
