You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Deepal Jayasinghe <de...@opensource.lk> on 2005/11/06 16:41:48 UTC

Re: UnNecessary lines when generating wsdl file using AXIS2

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
>     <ma...@ws.apache.org>
>     >>For additional commands, e-mail: axis-user-help@ws.apache.org
>     <ma...@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