[
https://issues.apache.org/jira/browse/AXIS2-3412?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12578437#action_12578437
]
Pär Malmqvist commented on AXIS2-3412:
--------------------------------------
I have made a comment but I dont know how to reopen the issue.
/Pär> Date: Tue, 11 Mar 2008 21:26:46 -0700> From: [EMAIL PROTECTED]> To:
[EMAIL PROTECTED]> Subject: [jira] Resolved: (AXIS2-3412) Custom exception
handling issue with pojos> > > [
https://issues.apache.org/jira/browse/AXIS2-3412?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]> > Deepal Jayasinghe resolved AXIS2-3412.>
--------------------------------------> > Resolution: Fixed> > Please reopen
the issue , if you still have that> > Thank you!> Deepal> > > Custom exception
handling issue with pojos> > ------------------------------------------> >> >
Key: AXIS2-3412> > URL: https://issues.apache.org/jira/browse/AXIS2-3412> >
Project: Axis 2.0 (Axis2)> > Issue Type: Bug> > Affects Versions: nightly> >
Environment: winxp, jdk15> > Reporter: Charitha Kankanamge> > Assignee: Deepal
Jayasinghe> > Priority: Critical> > Fix For: 1.4> >> > Attachments:
CustomexceptionService.aar, CustomExceptionService.wsdl> >> >> > 'Duplicate
nested type CustomException' Compile error can be seen in the generated stub if
a service is deployed using a pojo which throws a custom exception. > > A
similar issue has been reported by par Malmqvist in the Axis2 user list. See
http://marc.info/?l=axis-user&m=119805625224409&w=2 for more information.> >
Steps to reproduce:> > ===============> > 1. Create service impl class and
custom exception class as follows> > public class CustomexceptionService {> > >
> public int addOneToPositiveValue(int value) throws CustomException {> >
if(value < 1) {> > throw(new CustomException());> > }> > > > return(value +
1);> > }> > }> > public class CustomException extends Exception{> > > > private
static final long serialVersionUID = 999999999;> > public CustomException() {>
> super();> > }> > public String toString() {> > return(super.toString() +
"org.test.CustomException");> > }> > }> > 2. Create a service archive and
deploy the service> > 3. Generate client stub using the ?wsdl of the service> >
wsdl2java.bat -uri
http://10.100.1.118:9762/services/CustomExceptionService?wsdl -o
C:\wsas\wsas-2.2\qa-build2\wso2wsas-SNAPSHOT\bin\out -p org.mytest> > 4. Check
the generated stub> > -- > This message is automatically generated by JIRA.> ->
You can reply to this email to add a comment to the issue online.>
> Custom exception handling issue with pojos
> ------------------------------------------
>
> Key: AXIS2-3412
> URL: https://issues.apache.org/jira/browse/AXIS2-3412
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Affects Versions: nightly
> Environment: winxp, jdk15
> Reporter: Charitha Kankanamge
> Assignee: Deepal Jayasinghe
> Priority: Critical
> Fix For: 1.4
>
> Attachments: CustomexceptionService.aar, CustomExceptionService.wsdl
>
>
> 'Duplicate nested type CustomException' Compile error can be seen in the
> generated stub if a service is deployed using a pojo which throws a custom
> exception.
> A similar issue has been reported by par Malmqvist in the Axis2 user list.
> See http://marc.info/?l=axis-user&m=119805625224409&w=2 for more information.
> Steps to reproduce:
> ===============
> 1. Create service impl class and custom exception class as follows
> public class CustomexceptionService {
>
> public int addOneToPositiveValue(int value) throws CustomException {
> if(value < 1) {
> throw(new CustomException());
> }
>
> return(value + 1);
> }
> }
> public class CustomException extends Exception{
>
> private static final long serialVersionUID = 999999999;
> public CustomException() {
> super();
> }
> public String toString() {
> return(super.toString() + "org.test.CustomException");
> }
> }
> 2. Create a service archive and deploy the service
> 3. Generate client stub using the ?wsdl of the service
> wsdl2java.bat -uri
> http://10.100.1.118:9762/services/CustomExceptionService?wsdl -o
> C:\wsas\wsas-2.2\qa-build2\wso2wsas-SNAPSHOT\bin\out -p org.mytest
> 4. Check the generated stub
--
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]