Hi all ,
I use the following web method to give xml file
- public XmlDocument CustomertList()
- {
-
- conn = ConfigurationManager.AppSettings["ConnectionString"];
-
- SqlXmlCommand cmd = new SqlXmlCommand(conn);
- cmd.CommandType = SqlXmlCommandType.Sql;
-
- cmd.CommandText = "select name_english,ID from customers FOR XML AUTO,ELEMENTS XSINIL,ROOT('patients')";
- XmlReader xr = cmd.ExecuteXmlReader();
-
-
- XmlDocument myXmlDocument = new XmlDocument();
- myXmlDocument.Load(xr);
-
- return myXmlDocument;
- }
|
I want to get the XmlDocument by type the url (for example ) http://localhost:8088/IOSService.asmx?op=CustomertList
I need to have rss xml file , I mean I want to give the user url that give him / her the resulted xml
any suggestion please
Ali MahmoudPosted Feb 8, 2011, 2:01 PM
Suthish NairPosted Feb 8, 2011, 1:36 PM