axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deepal Jayasinghe <dee...@opensource.lk>
Subject Re: UnNecessary lines when generating wsdl file using AXIS2
Date Sun, 06 Nov 2005 15:41:48 GMT
Hi Chaiavi;

I carefully run java2wsdl for your java class and it generate a valid
wsdl. As I remember correct we had the problem you have encounter but we
have fixed that in the current SVN or rather in RC2 release. Can you
please try to generate your wsdl file with either nightly builds or
Axis2 1.1 RC2.

Thanks
Deepal

>
>     >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: axis-user-unsubscribe@ws.apache.org
>     <mailto:axis-user-unsubscribe@ws.apache.org>
>     >>For additional commands, e-mail: axis-user-help@ws.apache.org
>     <mailto:axis-user-help@ws.apache.org>
>     >>
>     >>
>     >>
>     >>
>     >>
>     >Quoted from:
>     >
>     http://www.nabble.com/UnNecessary-lines-when-generating-wsdl-file-using-AXIS2-tf2577381.html#a7193260
>     >
>     >
>     >
>     >
>     >
>
>     --
>     Thanks,
>     Deepal
>     ................................................................
>     "The highest tower is built one brick at a time"
>
>
>

-- 
Thanks,
Deepal
................................................................
"The highest tower is built one brick at a time"




---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message