You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Alex Kravin (JIRA)" <ji...@apache.org> on 2009/05/22 09:47:45 UTC

[jira] Created: (CXF-2233) CXF doesn't support WSDL overloaded operation.

CXF doesn't support WSDL overloaded operation.
----------------------------------------------

                 Key: CXF-2233
                 URL: https://issues.apache.org/jira/browse/CXF-2233
             Project: CXF
          Issue Type: Bug
    Affects Versions: 2.2.1, 2.1.5, 2.2
         Environment: Windows XP, java 1.6.0_12
            Reporter: Alex Kravin
            Priority: Critical


When CXF tryes to parse the gotten WSDL I get the following exception:

Caused by: java.lang.IllegalArgumentException: An operation with name [{http://server/_common/services/EvalService}getChildren] already exists in this service
            at org.apache.cxf.service.model.InterfaceInfo.addOperation(InterfaceInfo.java:71)
            at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildInterfaceOperation(WSDLServiceBuilder.java:538)
            at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildInterface(WSDLServiceBuilder.java:532)
            at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildServices(WSDLServiceBuilder.java:303)
            at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildServices(WSDLServiceBuilder.java:175)
            at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildServices(WSDLServiceBuilder.java:151)
            at org.apache.cxf.wsdl11.WSDLServiceFactory.create(WSDLServiceFactory.java:97)
            at org.apache.cxf.endpoint.ClientImpl.<init>(ClientImpl.java:145)
            at org.apache.cxf.endpoint.dynamic.DynamicClientFactory.createClient(DynamicClientFactory.java:253)
            at org.apache.cxf.endpoint.dynamic.DynamicClientFactory.createClient(DynamicClientFactory.java:196)
            at org.apache.cxf.endpoint.dynamic.DynamicClientFactory.createClient(DynamicClientFactory.java:189)
            at org.apache.cxf.endpoint.dynamic.DynamicClientFactory.createClient(DynamicClientFactory.java:144)
            ... 



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


[jira] Commented: (CXF-2233) CXF doesn't support WSDL overloaded operation.

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-2233?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12712097#action_12712097 ] 

Daniel Kulp commented on CXF-2233:
----------------------------------


I'm tempted to mark this "no intention to fix".   WSDL's with overloaded methods are specifically NOT allowed by the WSI-Basic Profile and the JAX-WS specification.    

> CXF doesn't support WSDL overloaded operation.
> ----------------------------------------------
>
>                 Key: CXF-2233
>                 URL: https://issues.apache.org/jira/browse/CXF-2233
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.2, 2.1.5, 2.2.1
>         Environment: Windows XP, java 1.6.0_12
>            Reporter: Alex Kravin
>            Priority: Critical
>
> When CXF tryes to parse the gotten WSDL I get the following exception:
> Caused by: java.lang.IllegalArgumentException: An operation with name [{http://server/_common/services/EvalService}getChildren] already exists in this service
>             at org.apache.cxf.service.model.InterfaceInfo.addOperation(InterfaceInfo.java:71)
>             at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildInterfaceOperation(WSDLServiceBuilder.java:538)
>             at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildInterface(WSDLServiceBuilder.java:532)
>             at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildServices(WSDLServiceBuilder.java:303)
>             at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildServices(WSDLServiceBuilder.java:175)
>             at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildServices(WSDLServiceBuilder.java:151)
>             at org.apache.cxf.wsdl11.WSDLServiceFactory.create(WSDLServiceFactory.java:97)
>             at org.apache.cxf.endpoint.ClientImpl.<init>(ClientImpl.java:145)
>             at org.apache.cxf.endpoint.dynamic.DynamicClientFactory.createClient(DynamicClientFactory.java:253)
>             at org.apache.cxf.endpoint.dynamic.DynamicClientFactory.createClient(DynamicClientFactory.java:196)
>             at org.apache.cxf.endpoint.dynamic.DynamicClientFactory.createClient(DynamicClientFactory.java:189)
>             at org.apache.cxf.endpoint.dynamic.DynamicClientFactory.createClient(DynamicClientFactory.java:144)
>             ... 

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


[jira] Resolved: (CXF-2233) CXF doesn't support WSDL overloaded operation.

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

Daniel Kulp resolved CXF-2233.
------------------------------

       Resolution: Won't Fix
    Fix Version/s: Invalid

> CXF doesn't support WSDL overloaded operation.
> ----------------------------------------------
>
>                 Key: CXF-2233
>                 URL: https://issues.apache.org/jira/browse/CXF-2233
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.2, 2.1.5, 2.2.1
>         Environment: Windows XP, java 1.6.0_12
>            Reporter: Alex Kravin
>            Priority: Critical
>             Fix For: Invalid
>
>
> When CXF tryes to parse the gotten WSDL I get the following exception:
> Caused by: java.lang.IllegalArgumentException: An operation with name [{http://server/_common/services/EvalService}getChildren] already exists in this service
>             at org.apache.cxf.service.model.InterfaceInfo.addOperation(InterfaceInfo.java:71)
>             at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildInterfaceOperation(WSDLServiceBuilder.java:538)
>             at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildInterface(WSDLServiceBuilder.java:532)
>             at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildServices(WSDLServiceBuilder.java:303)
>             at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildServices(WSDLServiceBuilder.java:175)
>             at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildServices(WSDLServiceBuilder.java:151)
>             at org.apache.cxf.wsdl11.WSDLServiceFactory.create(WSDLServiceFactory.java:97)
>             at org.apache.cxf.endpoint.ClientImpl.<init>(ClientImpl.java:145)
>             at org.apache.cxf.endpoint.dynamic.DynamicClientFactory.createClient(DynamicClientFactory.java:253)
>             at org.apache.cxf.endpoint.dynamic.DynamicClientFactory.createClient(DynamicClientFactory.java:196)
>             at org.apache.cxf.endpoint.dynamic.DynamicClientFactory.createClient(DynamicClientFactory.java:189)
>             at org.apache.cxf.endpoint.dynamic.DynamicClientFactory.createClient(DynamicClientFactory.java:144)
>             ... 

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