axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sagara Gunathunga (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AXIS2-5276) Exception class created using WSDL2Java with unpackclasses does not extend java.lang.Exception
Date Fri, 23 Mar 2012 07:12:22 GMT

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

Sagara Gunathunga  commented on AXIS2-5276:
-------------------------------------------

I could see following class signature when I was use following command with given WSDL file.


axis2-1.6.1/bin/wsdl2java.sh -uri test.wsdl -u


/**
 * AdminServiceException.java
 *
 * This file was auto-generated from WSDL
 * by the Apache Axis2 version: 1.6.1  Built on : Aug 31, 2011 (12:22:40 CEST)
 */

package com.rsa.csd.ws.admin;

public class AdminServiceException extends java.lang.Exception{
}
                
> Exception class created using WSDL2Java with unpackclasses does not extend java.lang.Exception
> ----------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-5276
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5276
>             Project: Axis2
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.6.1, nightly
>            Reporter: Jose L Martinez-Avial
>            Assignee: Sagara Gunathunga 
>         Attachments: test.wsdl
>
>
> The attached WSDL includes a customized Exception(AdminServiceException). When the client
code is generated for that WSDL using WSDL2Java, using the option to unpack the classes, the
class AdminServiceException does not extend from java.lang.Exception, so the methods on the
Service and Stub, which throws that exception, can't be compiled.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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