[ 
https://issues.apache.org/jira/browse/AXIS2-2610?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12507471
 ] 

Davanum Srinivas commented on AXIS2-2610:
-----------------------------------------

Java2WSDL has the following option

-xc <extra class> : Extra class for which schematype must be generated.

Please use that, you can use several "-xc" 's if you have many classes.

Please use latest nightly build.

thanks,
dims

> wsdl2java tool to allow additional java classes to be added for schema 
> generation
> ---------------------------------------------------------------------------------
>
>                 Key: AXIS2-2610
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2610
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Improvement
>          Components: Tools
>            Reporter: Bo Xie
>            Assignee: Deepal Jayasinghe
>
> 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
> > >
> > > 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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

Reply via email to