Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Critical
-
Resolution: Duplicate
-
Affects Version/s: 3.2.1
-
Fix Version/s: 3.3.0
-
Labels:None
-
User impact:Medium
-
Affects Docs:Yes
-
Similar Issues:None
Description
I found that basic authentication only works if the cxf:jaxws-service is outside the inbound-endpoint in the flow.
For clarity, this flow does not allow basic auth to work correctly:
<flow name="test_service"> <http:inbound-endpoint address="http://localhost:8091/services/TestService" exchange-pattern="request-response"> <mule-ss:http-security-filter realm="mule-realm" /> <cxf:jaxws-service serviceClass="some.test.service.ServicePortImpl" /> </http:inbound-endpoint> <log-component /> </flow>
but this works:
<flow name="test_service"> <http:inbound-endpoint address="http://localhost:8091/services/TestService" exchange-pattern="request-response"> <mule-ss:http-security-filter realm="mule-realm" /> </http:inbound-endpoint> <cxf:jaxws-service serviceClass="some.test.service.ServicePortImpl" /> <log-component /> </flow>
Also, for reference, this is the documentation that shows putting it inside the http inbound endpoint (which doesn't work):
http://www.mulesoft.org/documentation/display/MULE3USER/Building+Web+Services+with+CXF
Issue Links
- duplicates
-
MULE-6160
CXF Message processors configuration inconsistence
-
Eva,
Is this a documentation issue or a bug do you think?