You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Alessio Soldano (JIRA)" <ji...@apache.org> on 2009/03/13 14:57:50 UTC
[jira] Commented: (CXF-2112) Missing element in generated WSDL
definition
[ https://issues.apache.org/jira/browse/CXF-2112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12681722#action_12681722 ]
Alessio Soldano commented on CXF-2112:
--------------------------------------
Patch attached, source distribution's testsuite passing at 100%
> 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
> Attachments: CXF-2112.txt
>
>
> 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.