[jbossws-issues] [JBoss JIRA] (JBWS-2843) wsprovide tool does not check the annotation and method signature

Jim Ma (JIRA) jira-events at lists.jboss.org
Wed Feb 29 05:32:37 EST 2012


     [ https://issues.jboss.org/browse/JBWS-2843?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jim Ma updated JBWS-2843:
-------------------------

        Fix Version/s: jbossws-cxf-4.0.2
                           (was: jbossws-native-4.0.2)
          Description: 
wsprovide tool will generate wrong wsdl for this wrong jaxws annotated add method:

@SOAPBinding(parameterStyle = ParameterStyle.BARE)
public class Test {
@WebMethod
public int add(int a, int b)
{
return(a + b);
}


  was:
wsprovide tool will generate wrong wsdl for this wrong jaxws annotated add method (the parameter style should be wrapped:

@SOAPBinding(parameterStyle = ParameterStyle.BARE)
public class Test {
@WebMethod
public int add(int a, int b)
{
return(a + b);
}

We should validate this method and it's annotation before generate wsdl . 

    Affects Version/s: jbossws-cxf-4.0.1
          Component/s: jbossws-cxf
                           (was: jbossws-native)

    
> wsprovide tool does not check the annotation and method signature
> -----------------------------------------------------------------
>
>                 Key: JBWS-2843
>                 URL: https://issues.jboss.org/browse/JBWS-2843
>             Project: JBoss Web Services
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: jbossws-cxf
>    Affects Versions: jbossws-cxf-4.0.1
>            Reporter: Jim Ma
>            Assignee: Jim Ma
>             Fix For: jbossws-cxf-4.0.2
>
>
> wsprovide tool will generate wrong wsdl for this wrong jaxws annotated add method:
> @SOAPBinding(parameterStyle = ParameterStyle.BARE)
> public class Test {
> @WebMethod
> public int add(int a, int b)
> {
> return(a + b);
> }

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

        


More information about the jbossws-issues mailing list