ws-sandesha-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amila Chinthaka Suriarachchi (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (AXIS2-4683) throws clause in genereted skeletons
Date Sun, 02 May 2010 09:49:59 GMT

     [ 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


Mime
View raw message