axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "chillon_m (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AXIS2-5450) Annotation is not work,always is"return" !
Date Tue, 06 Nov 2012 02:40:12 GMT

     [ https://issues.apache.org/jira/browse/AXIS2-5450?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

chillon_m updated AXIS2-5450:
-----------------------------

    Description: 
org.apache.axis2.description.java2wsdl.DocLitBareSchemaGenerator
protected Method[] processMethods(Method[] declaredMethods) throws Exception {

line 192  WebResultAnnotation returnAnnon = JSR181Helper.INSTANCE.getWebResultAnnotation(jMethod);
                    String returnName = "return";
                    if (returnAnnon != null) {
                        returnName = returnAnnon.getName();
                        if (returnName != null && !"".equals(returnName)) {
                            returnName = "return";
                        }
                    }

  was:
  WebResultAnnotation returnAnnon = JSR181Helper.INSTANCE.getWebResultAnnotation(jMethod);
                    String returnName = "return";
                    if (returnAnnon != null) {
                        returnName = returnAnnon.getName();
                        if (returnName != null && !"".equals(returnName)) {
                            returnName = "return";
                        }
                    }

    
> Annotation is not work,always is"return" !
> ------------------------------------------
>
>                 Key: AXIS2-5450
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5450
>             Project: Axis2
>          Issue Type: Bug
>          Components: kernel
>    Affects Versions: 1.6.2
>            Reporter: chillon_m
>
> org.apache.axis2.description.java2wsdl.DocLitBareSchemaGenerator
> protected Method[] processMethods(Method[] declaredMethods) throws Exception {
> line 192  WebResultAnnotation returnAnnon = JSR181Helper.INSTANCE.getWebResultAnnotation(jMethod);
>                     String returnName = "return";
>                     if (returnAnnon != null) {
>                         returnName = returnAnnon.getName();
>                         if (returnName != null && !"".equals(returnName)) {
>                             returnName = "return";
>                         }
>                     }

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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