You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Daniel Kulp (JIRA)" <ji...@apache.org> on 2009/03/13 19:35:57 UTC

[jira] Resolved: (CXF-2112) Missing element in generated WSDL definition

     [ https://issues.apache.org/jira/browse/CXF-2112?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp resolved CXF-2112.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1.5

> 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
>             Fix For: 2.1.5
>
>         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.