[prev in list] [next in list] [prev in thread] [next in thread] 

List:       axis-user
Subject:    Re: [axis2] Generate XML schema from java class for parameter objects
From:       "Davanum Srinivas" <davanum () gmail ! com>
Date:       2007-04-30 22:30:06
Message-ID: 19e0530f0704301530g291e44ecq95bd1a9e88033e30 () mail ! gmail ! com
[Download RAW message or body]

Axis1 has an option to pass in extra classes.

On 4/30/07, Bo Xie <mrboxie@gmail.com> wrote:
> AXIS2-2610 created.
>
> BTW, is there any quick workaround as of now? Or any one knows any tools
> that world do that?
>
> Thanks,
> -Bo
>
> On 4/28/07, Davanum Srinivas <davanum@gmail.com> wrote:
> > Bo,
> >
> > Please log an enhancement issue in JIRA for adding support to
> > Java2WSDL to specify additional classes for which schema needs to be
> > generated.
> >
> > thanks,
> > dims
> >
> > On 4/28/07, Anne Thomas Manes < atmanes@gmail.com> wrote:
> > > You might try JiBX or XMLBeans.
> > >
> > > On 4/27/07, Bo Xie <mrboxie@gmail.com> wrote:
> > > > Hi,
> > > >
> > > >   I need advice on how to use java2wsdl or other tools to generate XML
> > > > schema from java class for operation parameters. I understand using
> > > > java2wsdl, it will generate the schema for all the data type used as
> > > > parameter for the operation. But I could not find a way to generate
> schema
> > > > for any derived class types. For example, if I have a method
> doSomething(
> > > > BaseType type). The generated schema will include schema for BaseType
> only.
> > > > I need to handcraft the schema for devicedTypeA, devicedTypeB into the
> WSDL
> > > > schema definition in order to pass deviceTypeA, deviceTypeB instances
> in
> > > > doSomething operation at runtime.
> > > >
> > > > Thanks for your time.
> > > >
> > > > -Bo
> > > >
> > > >
> > > >
> > >
> > >
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail:
> axis-user-unsubscribe@ws.apache.org
> > > For additional commands, e-mail: axis-user-help@ws.apache.org
> > >
> > >
> >
> >
> > --
> > Davanum Srinivas :: http://davanum.wordpress.com
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> axis-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-user-help@ws.apache.org
> >
> >
>
>


-- 
Davanum Srinivas :: http://davanum.wordpress.com

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic