background preloader

HTTP request

Facebook Twitter

How to POST multiple xml to a WebService. Actually I have the code in c# to do an httpwebrequest with a POST method sending one XML and receiving an XML answer and saving it, here is the code: public static XmlDocument PostXMLTransaction(string v_strURL) { //Declare XMLResponse document XmlDocument XMLResponse = null; //Declare an HTTP-specific implementation of the WebRequest class.

How to POST multiple xml to a WebService

Xml - C# XmlDocument Nodes. View HTTP Request and Response Header. Working with HttpWebRequest and HttpWebResponse in ASP.NET. HttpWebRequest example with error handling (C#) HttpWebRequest example with error handling (C#) This C# example explains how to GET or POST a request to a web server using the .NET framework classes HttpWebRequest and HttpWebResponse.

HttpWebRequest example with error handling (C#)

The code is embedded in a command line example program, where a specified URL is requested using the HTTP method "GET", and the response is written to a specified file. To use the code for example on an aspx page, just cut out the WRequest() function and catch the return string. A VB.Net version of the function is also available. The WRequest() parameters are: URL, HTTP_method, POST_data.