Wednesday, 13 February 2013

BizTalk : Validate incoming XML Request Messages with Schema in Pipeline


Validate incoming XML Request Messages with Schema in Pipeline 

To validate your input XML message with Schema defined in BizTalk project, Please follow the following simple points.

Make the following change in your XML pipeline properties, Need to set following highlighted properties in your BizTalk Admin console






Change it to following values:
ValidateDocument : True;
DocumentSpecNames :  BizTalk_Server_Project1.Schema1, BizTalk Server Project1, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b64a0508dbe93103

You will get this value from Schema Propery , it will be  [ Name, Assembly]

After this your input schema will be validated with specified schema.





No comments:

Post a Comment