cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alessio Soldano (JIRA)" <j...@apache.org>
Subject [jira] Created: (CXF-2112) Missing element in generated WSDL definition
Date Fri, 13 Mar 2009 13:39:50 GMT
Missing element in generated WSDL definition
--------------------------------------------

                 Key: CXF-2112
                 URL: https://issues.apache.org/jira/browse/CXF-2112
             Project: CXF
          Issue Type: Sub-task
    Affects Versions: 2.1.4
            Reporter: Alessio Soldano
            Assignee: Alessio Soldano


This is related to https://jira.jboss.org/jira/browse/JBWS-2529 .

Running CXF java2wsdl tool on a service implementation like this

@WebService
@SOAPBinding(style=SOAPBinding.Style.DOCUMENT, use=SOAPBinding.Use.LITERAL, parameterStyle=SOAPBinding.ParameterStyle.BARE)
public class webParamWebService {
...
  @WebMethod(operationName="helloString8", action="urn:HelloString8")
  @SOAPBinding(style=SOAPBinding.Style.DOCUMENT, use=SOAPBinding.Use.LITERAL, parameterStyle=SOAPBinding
.ParameterStyle.WRAPPED)
  public String hello8(@WebParam (name="string8") String name, Address address) {
    return "hello8 : " + address.getCity() + " to Web Service";
  }
}

causes the tool to fail in generating the element referenced by the wrapped style hello8 operation
as the ReflectionServiceFactoryBean does not take into consideration a single operation being
WRAPPED inside a BARE annotated endpoint.
The generated wsdl is thus invalid.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message