cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrei Shakirin (JIRA)" <>
Subject [jira] [Created] (CXF-5387) Relax SOAPAction check in SoapActionInInterceptor
Date Fri, 15 Nov 2013 10:05:22 GMT
Andrei Shakirin created CXF-5387:

             Summary: Relax SOAPAction check in SoapActionInInterceptor
                 Key: CXF-5387
             Project: CXF
          Issue Type: Improvement
          Components: JAX-WS Runtime
    Affects Versions: 2.7.7
            Reporter: Andrei Shakirin
            Assignee: Andrei Shakirin

I have a bit regression under 2.7.7 because of changes in SoapActionInInterceptor (

SoapActionInInterceptor requires that the SOAPAction exactly matches to the service operation.
The problem is that there are some scenarios where the proxies using Provider<> API
process requests from different clients with any SOAPAction.

There are two ways to fix the problem:
1. Introduce option "allowWrongSOAPAction" and tolerate wrong action only if a) action is
not specified in service model and b) flag is set
2. If action is not specified in ServiceModel, accept all SOAPAction (not only empty ones)

Personally I prefer option (2), because current behavior is not intuitive:
in case of using proxy implementing Provider<> API: even if SOAP action has reasonable
value created by SoapUI (wsdl target namespace/operation name),  CXF responses with error
"The given SOAPAction XXX does not match an operation", because OperationInfo has empty action
value, that doesn't match to request soap action

This message was sent by Atlassian JIRA

View raw message