What I want to do is this :
I am getting an xml as incoming. That has as "id" element.  Now in a .net class library , I want to check that an entity with this id already exists in my db or not. If it already exists, the call is invalid. 
How can I achieve this usin Biztalk Rule engine?
 
     
    