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 "Bo Xie (JIRA)" <ji...@apache.org> on 2007/04/30 23:11:15 UTC

[jira] Created: (AXIS2-2610) wsdl2java tool to allow additional java classes to be added for schema generation

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


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 <at...@gmail.com> wrote:
> You might try JiBX or XMLBeans.
>
> On 4/27/07, Bo Xie <mr...@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
> >
> > 

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


[jira] Assigned: (AXIS2-2610) wsdl2java tool to allow additional java classes to be added for schema generation

Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2610?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Deepal Jayasinghe reassigned AXIS2-2610:
----------------------------------------

    Assignee: Chatra Nakkawita

> 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
>         Assigned To: Chatra Nakkawita
>
> 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 <at...@gmail.com> wrote:
> > You might try JiBX or XMLBeans.
> >
> > On 4/27/07, Bo Xie <mr...@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
> > >
> > > 

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


[jira] Assigned: (AXIS2-2610) wsdl2java tool to allow additional java classes to be added for schema generation

Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2610?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amila Chinthaka Suriarachchi reassigned AXIS2-2610:
---------------------------------------------------

    Assignee: Deepal Jayasinghe  (was: Amila Chinthaka Suriarachchi)

> 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
>         Assigned To: 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 <at...@gmail.com> wrote:
> > You might try JiBX or XMLBeans.
> >
> > On 4/27/07, Bo Xie <mr...@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
> > >
> > > 

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


[jira] Commented: (AXIS2-2610) wsdl2java tool to allow additional java classes to be added for schema generation

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
    [ 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 <at...@gmail.com> wrote:
> > You might try JiBX or XMLBeans.
> >
> > On 4/27/07, Bo Xie <mr...@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
> > >
> > > 

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


[jira] Resolved: (AXIS2-2610) wsdl2java tool to allow additional java classes to be added for schema generation

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2610?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Davanum Srinivas resolved AXIS2-2610.
-------------------------------------

    Resolution: Fixed

> 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 <at...@gmail.com> wrote:
> > You might try JiBX or XMLBeans.
> >
> > On 4/27/07, Bo Xie <mr...@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
> > >
> > > 

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


[jira] Assigned: (AXIS2-2610) wsdl2java tool to allow additional java classes to be added for schema generation

Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2610?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Deepal Jayasinghe reassigned AXIS2-2610:
----------------------------------------

    Assignee: Amila Chinthaka Suriarachchi  (was: Chatra Nakkawita)

> 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
>         Assigned To: Amila Chinthaka Suriarachchi
>
> 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 <at...@gmail.com> wrote:
> > You might try JiBX or XMLBeans.
> >
> > On 4/27/07, Bo Xie <mr...@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
> > >
> > > 

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


[jira] Commented: (AXIS2-2610) wsdl2java tool to allow additional java classes to be added for schema generation

Posted by "Bo Xie (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-2610?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12507446 ] 

Bo Xie commented on AXIS2-2610:
-------------------------------

Hi Dims,

  Thanks for the good news. How do I get the fix? Any doc on the new command
options?

Thanks,
-Bo



> 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 <at...@gmail.com> wrote:
> > You might try JiBX or XMLBeans.
> >
> > On 4/27/07, Bo Xie <mr...@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
> > >
> > > 

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


[jira] Commented: (AXIS2-2610) wsdl2java tool to allow additional java classes to be added for schema generation

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-2610?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12507429 ] 

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

Already fixed.

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 <at...@gmail.com> wrote:
> > You might try JiBX or XMLBeans.
> >
> > On 4/27/07, Bo Xie <mr...@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
> > >
> > > 

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