
Questions: 23,753 //
Answers: 52,357 //
Contributing Members: 18,023
Here i am uploading the Source XML file and XSD schema files. Please help me out guys
Dec 20, 2016 at 12:56 PM, veejay answered with:
Hi, You can use schema validation component in mule. Create your XSD. mention the file path in validation component. place the incoming xml infront of schema validator.
Dec 20, 2016 at 08:21 PM, bhu answered with:
i also have the same issue, the xmls is reject and moved to different flow when the schema is not correct but this does not give the actual schema error info. that is why i am trying to modify the class but it is not picking up in anypoint.
here is the simple flow.. which just reject errors
<file:inbound-endpoint path="E:\Data\Biztalk\In" responseTimeout="10000" doc:name="File"/>
<mulexml:schema-validation-filter schemaLocations="E:\Data\Biztalk\sTest1.xsd" returnResult="true" doc:name="Schema Validation"/>
<logger message="Test" level="INFO" doc:name="Logger"/>
</flow>
-bhu