Return-Path: X-Original-To: apmail-cxf-issues-archive@www.apache.org Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0BFB118A4C for ; Tue, 1 Dec 2015 17:19:26 +0000 (UTC) Received: (qmail 9185 invoked by uid 500); 1 Dec 2015 17:19:11 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 8936 invoked by uid 500); 1 Dec 2015 17:19:11 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 8402 invoked by uid 99); 1 Dec 2015 17:19:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Dec 2015 17:19:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 56FC42C1F6C for ; Tue, 1 Dec 2015 17:19:11 +0000 (UTC) Date: Tue, 1 Dec 2015 17:19:11 +0000 (UTC) From: "Akitoshi Yoshida (JIRA)" To: issues@cxf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CXF-5738) given soap action does not match any operation MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CXF-5738?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15034106#comment-15034106 ] Akitoshi Yoshida commented on CXF-5738: --------------------------------------- as far as I remember, this stricter check was added in cxf to prevent certain attacks. you can also disable this check by activating property allowNonMatchingToDefaultSoapAction at the endpoint (see CXF-5738) this ticket was not attended for a long time and i don't know if there is some issue left to address. please let me know if we can close this ticket. regards, aki > 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: > > after this section there is also the original one that define: > > 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)