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 "gerhard presser (JIRA)" <ji...@apache.org> on 2010/04/20 11:36:00 UTC

[jira] Created: (AXIS2-4683) throws clause in genereted skeletons

throws clause in genereted skeletons
------------------------------------

                 Key: AXIS2-4683
                 URL: https://issues.apache.org/jira/browse/AXIS2-4683
             Project: Axis2
          Issue Type: Bug
          Components: codegen
    Affects Versions: 1.5.1
         Environment: axis2 1.5.1
            Reporter: gerhard presser
            Priority: Minor


hi all,
i'm using the axis2 code generation framework to generate the service skeletons. because I don't want to edit generated code, I package the generated classes and write my own service-implementation-class which extends the generated skeleton.
unfortunately, the generated methods don't specify a throws clause - therefore i'm not allowed to throw e.g. an AxisFault in my service implementation.

all generated methods should specify something like 'throws RemoteException'.
regards,
 gerhard

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


[jira] Resolved: (AXIS2-4683) throws clause in genereted skeletons

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

Amila Chinthaka Suriarachchi resolved AXIS2-4683.
-------------------------------------------------

    Resolution: Invalid

you should not throw AxisFaults from the skelton. But you need to throw the business logic exceptions.

in order to generate those exceptions you have to declare them as wsdl faults in the wsdl file. see here[1] as well.

[1] http://wso2.org/library/2935

> throws clause in genereted skeletons
> ------------------------------------
>
>                 Key: AXIS2-4683
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4683
>             Project: Axis2
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.5.1
>         Environment: axis2 1.5.1
>            Reporter: gerhard presser
>            Priority: Minor
>
> hi all,
> i'm using the axis2 code generation framework to generate the service skeletons. because I don't want to edit generated code, I package the generated classes and write my own service-implementation-class which extends the generated skeleton.
> unfortunately, the generated methods don't specify a throws clause - therefore i'm not allowed to throw e.g. an AxisFault in my service implementation.
> all generated methods should specify something like 'throws RemoteException'.
> regards,
>  gerhard

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


[jira] Resolved: (AXIS2-4683) throws clause in genereted skeletons

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

Amila Chinthaka Suriarachchi resolved AXIS2-4683.
-------------------------------------------------

    Resolution: Invalid

you should not throw AxisFaults from the skelton. But you need to throw the business logic exceptions.

in order to generate those exceptions you have to declare them as wsdl faults in the wsdl file. see here[1] as well.

[1] http://wso2.org/library/2935

> throws clause in genereted skeletons
> ------------------------------------
>
>                 Key: AXIS2-4683
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4683
>             Project: Axis2
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.5.1
>         Environment: axis2 1.5.1
>            Reporter: gerhard presser
>            Priority: Minor
>
> hi all,
> i'm using the axis2 code generation framework to generate the service skeletons. because I don't want to edit generated code, I package the generated classes and write my own service-implementation-class which extends the generated skeleton.
> unfortunately, the generated methods don't specify a throws clause - therefore i'm not allowed to throw e.g. an AxisFault in my service implementation.
> all generated methods should specify something like 'throws RemoteException'.
> regards,
>  gerhard

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


[jira] Resolved: (AXIS2-4683) throws clause in genereted skeletons

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

Amila Chinthaka Suriarachchi resolved AXIS2-4683.
-------------------------------------------------

    Resolution: Invalid

you should not throw AxisFaults from the skelton. But you need to throw the business logic exceptions.

in order to generate those exceptions you have to declare them as wsdl faults in the wsdl file. see here[1] as well.

[1] http://wso2.org/library/2935

> throws clause in genereted skeletons
> ------------------------------------
>
>                 Key: AXIS2-4683
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4683
>             Project: Axis2
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.5.1
>         Environment: axis2 1.5.1
>            Reporter: gerhard presser
>            Priority: Minor
>
> hi all,
> i'm using the axis2 code generation framework to generate the service skeletons. because I don't want to edit generated code, I package the generated classes and write my own service-implementation-class which extends the generated skeleton.
> unfortunately, the generated methods don't specify a throws clause - therefore i'm not allowed to throw e.g. an AxisFault in my service implementation.
> all generated methods should specify something like 'throws RemoteException'.
> regards,
>  gerhard

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


[jira] Resolved: (AXIS2-4683) throws clause in genereted skeletons

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

Amila Chinthaka Suriarachchi resolved AXIS2-4683.
-------------------------------------------------

    Resolution: Invalid

you should not throw AxisFaults from the skelton. But you need to throw the business logic exceptions.

in order to generate those exceptions you have to declare them as wsdl faults in the wsdl file. see here[1] as well.

[1] http://wso2.org/library/2935

> throws clause in genereted skeletons
> ------------------------------------
>
>                 Key: AXIS2-4683
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4683
>             Project: Axis2
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.5.1
>         Environment: axis2 1.5.1
>            Reporter: gerhard presser
>            Priority: Minor
>
> hi all,
> i'm using the axis2 code generation framework to generate the service skeletons. because I don't want to edit generated code, I package the generated classes and write my own service-implementation-class which extends the generated skeleton.
> unfortunately, the generated methods don't specify a throws clause - therefore i'm not allowed to throw e.g. an AxisFault in my service implementation.
> all generated methods should specify something like 'throws RemoteException'.
> regards,
>  gerhard

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


[jira] Resolved: (AXIS2-4683) throws clause in genereted skeletons

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

Amila Chinthaka Suriarachchi resolved AXIS2-4683.
-------------------------------------------------

    Resolution: Invalid

you should not throw AxisFaults from the skelton. But you need to throw the business logic exceptions.

in order to generate those exceptions you have to declare them as wsdl faults in the wsdl file. see here[1] as well.

[1] http://wso2.org/library/2935

> throws clause in genereted skeletons
> ------------------------------------
>
>                 Key: AXIS2-4683
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4683
>             Project: Axis2
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.5.1
>         Environment: axis2 1.5.1
>            Reporter: gerhard presser
>            Priority: Minor
>
> hi all,
> i'm using the axis2 code generation framework to generate the service skeletons. because I don't want to edit generated code, I package the generated classes and write my own service-implementation-class which extends the generated skeleton.
> unfortunately, the generated methods don't specify a throws clause - therefore i'm not allowed to throw e.g. an AxisFault in my service implementation.
> all generated methods should specify something like 'throws RemoteException'.
> regards,
>  gerhard

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