Enumeration: Unhandled exception in generated code
--------------------------------------------------

                 Key: AXIS2-1055
                 URL: http://issues.apache.org/jira/browse/AXIS2-1055
             Project: Apache Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: wsdl
            Reporter: Fabian Christ
         Attachments: test-service.zip

Hi,

when you have an enumeration the code generator creates variables 
value1...valueN and tries to set those variables by calling the proper 
convertToXXX method from ConverterUtil. Some of those convertToXXX method throw 
exceptions which aren“t caught in this case. Either none of the convertToXXX 
methods may throw an exception or in some cases you have to catch one.

Attached a small sample which shows the problem by using an enumeration of 
anyURIs.

- Fabian


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.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