Error “TOMTreeGenerator.GetElementAbsoluteType: Object reference not set to an instance of an object”.How to resolve this Error while performing UnitTesting for Schemas ?

This error occurs because of the schema testing limitation for the Schemas containing any imported schema/schemas.

This can be overcome by creating custom method, (instead of using the ValidateSchema method created by the BizTalk) and writing manual code to test the Input XML against the Schema.

(For eg: using XmlReaderSettings methods or any other possible methods whatever you think will get the logic done.)

BizTalk Server

Over 500+ customers across
30+ countries depend on BizTalk360

Learn More

Manage and monitor serverless
components effortlessly

Learn More
Business Users

Monitor your Business Activity in iPaaS
or Hybrid integration solutions

Learn More

Back to Top