Re: [axis2] Generate XML schema from java class for parameter objects

2007-04-30 Thread Davanum Srinivas

Axis1 has an option to pass in extra classes.

On 4/30/07, Bo Xie <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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 < [EMAIL PROTECTED]> wrote:
> > You might try JiBX or XMLBeans.
> >
> > On 4/27/07, Bo Xie <[EMAIL PROTECTED]> 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:
[EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> --
> Davanum Srinivas :: http://davanum.wordpress.com
>
>
-
> To unsubscribe, e-mail:
[EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>





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

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



Re: [axis2] Generate XML schema from java class for parameter objects

2007-04-30 Thread Bo Xie

*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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> wrote:
> You might try JiBX or XMLBeans.
>
> On 4/27/07, Bo Xie <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


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

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




Re: [axis2] Generate XML schema from java class for parameter objects

2007-04-28 Thread Davanum Srinivas

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 <[EMAIL PROTECTED]> wrote:

You might try JiBX or XMLBeans.

On 4/27/07, Bo Xie <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





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

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



Re: [axis2] Generate XML schema from java class for parameter objects

2007-04-28 Thread Anne Thomas Manes

You might try JiBX or XMLBeans.

On 4/27/07, Bo Xie <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]