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 "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org> on 2007/09/18 08:01:43 UTC

[jira] Commented: (AXIS2-3123) Axis 1.3 exception class doesn't inherit from java.lang.exception ( broken)

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

Amila Chinthaka Suriarachchi commented on AXIS2-3123:
-----------------------------------------------------

Can you try with the Axis2 1.3 release or with an SNAPSHOT?
I could generate code correctly for this. Here you should not get any problems since your messages and schema elements in two different namespaces.

> Axis 1.3 exception class  doesn't inherit from java.lang.exception  ( broken)
> -----------------------------------------------------------------------------
>
>                 Key: AXIS2-3123
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3123
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>    Affects Versions: 1.3
>            Reporter: Haneef Ali
>            Priority: Blocker
>         Attachments: Test.wsdl
>
>
> In my WSDL I have a faultType say "MyFault". In Axis2_1.2 there used to be a class called MyFaultException which inherited from java.lang.Exception
> In Axis2_1.3 there is no such class, but the generated class "MyFault"
> doesn't inherit from java.lang.Exception. Generated stub/skeleton looks like
> 	class MyStub{
> 		public class MyResponse myMethod (myRequest pRequest) throws MyFault
> 	} 
> Which obviously won't compile, since MyFault is not inherited from java.lang.Exception.

-- 
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