0
Answer

Set XML Schema resolver to Schema set

Ask a question
chinni nani

chinni nani

11y
1.3k
1
Hi Team,

I have a problem while reading XML file.

XML file is the WSDL file. I have used ServiceDescription class to read that WSDL file.

When we have schema in other file and is referred in import schema like below,

<xsd:import namespace="http://samplenamespace.com/" schemaLocation="../sample.xsd"></xsd:import>


In that cases, we need to set custom resolver to retrieve the schema information recursively.

Please provide any solutions to resolve this problem.

Regards,
Chinni