XML Validation using TN Validate DataStructure Option

Hi,

I trying to submit a xml document to TN using wm.tn:receive.
Which then invokes a Processing Rule based on the Document type.
I have selected the Validate DataStructure Option in the Document Type.
I get the following error when i submit the document.

======================================================================
>>>BasicData:EntryTimestamp=2003-07-15 12:30:35.954,EntryType=0,EntryClass=Validation,BriefMessage=Validation Service Failed,FullMessage=The validation service for this XML document, pub.schema:validate, could not be successfully invoked. The original exception message is: [B2BSERV.0062.9024] Integration Server does not support this type of object in validation DOCUMENT System ID: null Public ID: null,RelatedDocID=6pok8600upjg6tv6000000ae,RelatedPartnerID=null,RelatedInstanceID=null,RelatedStepID=null,B2BUser=null<<<

======================================================================
Note: It is able to recognize the document, but is not able to perform the xml validation.

But when i validate the XML using pub.schema:validate using the same XML and DataStructure. Its get validated.

Let me know if i am missing any step or if there is any other way of handling inbound transacations.

Thanks,

Gamad