Hi Adrian,

use the -u option in addition to the ones u've used. -uw is for
unwrapping while -u is for unpacking. So wsdl2java -or -uw -o -u may
be what your looking for.

Thanks,
Keith.

On Jan 15, 2008 9:23 PM, Adrian Herscu <[EMAIL PROTECTED]> wrote:
> Hi Keith,
>
> thanks for the reply.
> I am using wsdl2java -or -uw -o to generate the code and as said service
> classes are generated inside the stub class.
>
> Regards,
> Adrian.
>
> keith chapman wrote:
> > Hi adrian,
> >
> > If you genarate code using the -u option it will Unpack the databinding
> > classes. By default they are genarated as inner classes.
> >
> > Thanks,
> > Keith.
> >
> > On Jan 15, 2008 5:50 PM, Adrian Herscu < [EMAIL PROTECTED]
> > <mailto:[EMAIL PROTECTED]>> wrote:
> >
> >     Hi all,
> >
> >     I wonder why stub classes are generated as inner classes instead of
> >     top-level classes.
> >
> >     Any insights?
> >
> >     TIA,
> >     Adrian.
> >
> >
> >     ---------------------------------------------------------------------
> >     To unsubscribe, e-mail: [EMAIL PROTECTED]
> >     <mailto:[EMAIL PROTECTED]>
> >     For additional commands, e-mail: [EMAIL PROTECTED]
> >     <mailto:[EMAIL PROTECTED]>
>
> >
> >
> >
> >
> > --
> > Keith Chapman
> > Software Engineer
> > WSO2 Inc.
> > Oxygenating the Web Service Platform.
> > http://wso2.org/
> >
> > blog: http://www.keith-chapman.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-- 
Keith Chapman
Software Engineer
WSO2 Inc.
Oxygenating the Web Service Platform.
http://wso2.org/

blog: http://www.keith-chapman.org

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to