Hi Neha,
Back in 2004, we created a generic Web service called DBXL to solve this issue. Mapping XML to SQL to handle repeating data is the #1 issue with InfoPath and SharePoint.
As a result, we don't provide free coding help for this. Just download the free trial from Qdabra's Web site and you can be up and running in <1 hour.
We're here to help. The cost of a license starts from just $595 - i.e. much cheaper than it will take you to create a Web service with the same set of functionality (Query, Submit, Active Directory, etc.)
Let me know if you'd like a quick demo.
P