Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.1.4
-
None
-
None
Description
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)
}
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.