You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "chillon_m (JIRA)" <ji...@apache.org> on 2012/11/06 03:36:12 UTC

[jira] [Created] (AXIS2-5450) Annotation is not work,always is"return" !

chillon_m created AXIS2-5450:
--------------------------------

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


  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


[jira] [Updated] (AXIS2-5450) Annotation is not work,always is"return" !

Posted by "chillon_m (JIRA)" <ji...@apache.org>.
     [ 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