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:39:50 UTC

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

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.


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

Posted by "Alessio Soldano (JIRA)" <ji...@apache.org>.
    [ 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.


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

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
     [ 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.


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

Posted by "Alessio Soldano (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-2112?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alessio Soldano updated CXF-2112:
---------------------------------

    Attachment: CXF-2112.txt

> 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.