Author: luckyforu2006 | Posted on: 4/17/2010 12:41:45 AM | Views : 275

I am creating a web service which accept xml data as a parameter. xml data can be
<Sales Details></Sales Details>
<Payment Details></Payment Details>
<Customer Details></Customer Details>
There will be rule defined in the database r1 r2.....etc
i need to validate xml data with the rule specified in the database. what will be the best approach. it has to be dynamic (if i add a rule it should automatically applied without change in code)
eg. Rule : checking mobileno and emailid
i need to obtain mobileno and emailid from customerdetails node and look into the customer details table in sql whether it exists or not. 
 I thought of getting the xml data in 3 different dataset(dsSales,dsPayment,dsCustomerDetails)
and get all the rules specified in the database and then start validating 




Please Help....
...

Go to the complete details ...