ws-sandesha-dev mailing list archives

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


Amila Chinthaka Suriarachchi resolved AXIS2-4683.

    Resolution: Invalid

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

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


> throws clause in genereted skeletons
> ------------------------------------
>                 Key: AXIS2-4683
>                 URL:
>             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:
For additional commands, e-mail:

View raw message