HostelsClub is one of the worlds larges search engine to search hotels, hostels, rooms and also provide booking of it. so if you want to integrate such a functionality in your website then you will have to take authentication from hostelclub and he will provide you Authentication id and password for Test (free of cost) and later you can upgrade to "Production" version (it will take some percentage in booking cost's profit).HostelsClub...
Tuesday, December 29, 2009
How to send/recive XML file through HTTP Post
If you want to send a XML file through HTTP using POST to any web service which may /may not build in .net. this example can help u: string targetUri = "http://www.targeUrl.com"; System.Xml.XmlDocument reqDoc = new System.Xml.XmlDocument(); reqDoc.Load(Server.MapPath("~\\myfile.xml"));//xml file which you want to send string formParameterName = "OTA_request";//request type string xmlData = reqDoc.InnerXml;...
Labels:
ASP.NET,
Web Service,
XML
Subscribe to:
Posts (Atom)