[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to