cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Akitoshi Yoshida (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-5738) given soap action does not match any operation
Date Wed, 03 Dec 2014 17:39:12 GMT

    [ https://issues.apache.org/jira/browse/CXF-5738?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14233224#comment-14233224
] 

Akitoshi Yoshida commented on CXF-5738:
---------------------------------------

You mean the wsdl that you see at your cxf's endpoint at "http://host:port/path?wsdl" ?

I think there is something wrong with your set up because the generated wsdl contains some
inconsistent and wrong entries.

Please take a look at the generated service interface. If the original wsdl has the soapaction
set, this value appears in the service interface's  WebMethod annotation.


> given soap action does not match any operation
> ----------------------------------------------
>
>                 Key: CXF-5738
>                 URL: https://issues.apache.org/jira/browse/CXF-5738
>             Project: CXF
>          Issue Type: Bug
>          Components: Soap Binding
>    Affects Versions: 2.7.11
>            Reporter: Nicola
>
> I'm generating a service from an existing wsdl (http://195.250.34.59/temp/original.wsdl),
after creating the service the cxf generated wsdl has some small difference from the original
one (http://195.250.34.59/temp/cxf_generated.wsdl), if I create client methods, using for
example soapui, from the cxf generated wsdl all is fine but if I use the original wsdl the
requests fail with the error:
> "the given soapaction does not match an operation"
> the problem is the SOAPAction http header:
> cxf expects no SOAPAction header or an empty one, if you look at the wsdl generated by
cxf you can see a section not present in the original wsdl that define an empty soap action:
> <soap:operation soapAction="" style="document"/>
> after this section there is also the original one that define:
> <soap:operation soapAction="http://test.example.com//updateList"/>
> I defined an interceptor that remove the SOAPAction http header if present and this workaround
the problem
> cxf should not modify the original wsdl or however should accept calls generated using
the provided wsdl



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message