Details
-
Type:
Patch submission
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.1.3
-
Fix Version/s: 3.1.0
-
Component/s: Modules: CXF
-
Labels:
-
Environment:
Standalone
-
Includes test case?:no
-
User impact:Medium
-
Affects Docs:Yes
-
Similar Issues:None
Description
CXF allows incoming messages to be automatically validated using the wsdl/xsd. Mule CXF Transport should allow to set this cxf feature using out of the box tags. The code for the cxf feature to allow validation is attached. Currently you can use the attached code and the following config on <inbound- endpoint:>
<cxf:inbound-endpoint address="http://localhost:8082/services/Foo"
serviceClass="org.mule.Foo"
>
<cxf:features>
<spring:bean id="SchemaValidationFeature" class="org.mule.transport.cxf.support.SchemaValidationFeature"/>
</cxf:features>
stretch task for iteration 22