473,396 Members | 1,892 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

How to HTTP POST an XML file from aspx?

les
I have to send xml data to a remote web address via http post.

How can I do this in an aspx page using vb.net?

Thanks
Leslie
Nov 18 '05 #1
4 2008
Simply insert the XML data into the value attribute of the input tag. Then
specify the method of the form as POST, and the action the web page you want
to post it to. I figure you are going to either use the hidden text in the
form, or a text box.

Keenan

<les> wrote in message news:60********************************@4ax.com...
I have to send xml data to a remote web address via http post.

How can I do this in an aspx page using vb.net?

Thanks
Leslie

Nov 18 '05 #2
les
Thanks Keenan, but I want to avoid using a form for this. The server
will send an xml page in response to the post and I want to be able to
handle this in my application rather than displaying raw xml to the
user.

Leslie

On Sun, 4 Apr 2004 12:44:39 -0500, "Keenan Newton"
<kn*****@the-kameleon.com> wrote:
Simply insert the XML data into the value attribute of the input tag. Then
specify the method of the form as POST, and the action the web page you want
to post it to. I figure you are going to either use the hidden text in the
form, or a text box.

Keenan

<les> wrote in message news:60********************************@4ax.com...
I have to send xml data to a remote web address via http post.

How can I do this in an aspx page using vb.net?

Thanks
Leslie


Nov 18 '05 #3
les wrote:
I have to send xml data to a remote web address via http post.

How can I do this in an aspx page using vb.net?


Use System.Net.WebRequest/WebResponse.

Cheers,

--
Joerg Jooss
jo*********@gmx.net
Nov 18 '05 #4
les wrote:
I have to send xml data to a remote web address via http post.

How can I do this in an aspx page using vb.net?


Use System.Net.WebRequest/WebResponse.

Cheers,

--
Joerg Jooss
jo*********@gmx.net
Nov 18 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Dan Corkum | last post by:
Good morning. I am working on an issue that is just baffling me. I have developed an .aspx page that receives an http form post that has a "file" attribute. When I do testing with a test post...
1
by: Paw Pedersen | last post by:
I would like to do the same in C# code as a simple html page does with this code: <form action="http://vej-w2k3-psp/sslmodtag/WebForm1.aspx" method="post" ENCTYPE="multipart/form-data"...
6
by: A.M-SG | last post by:
Hi, I have an aspx page at the web server that provides PDF documents for smart client applications. Here is the code in aspx page that defines content type: Response.ContentType =...
1
by: Keith | last post by:
All, I have been told this is an ASP.NET issue and not an IIS issue, so I am posting this here. I have a problem with ASP.NET returning an HTTP 500 error when trying to run ASPX pages on...
0
by: Dan Corkum | last post by:
Good morning. I am working on an issue that is just baffling me. I have developed an .aspx page that receives an http form post that has a "file" attribute. When I do testing with a test post...
0
by: WIWA | last post by:
Hi, I want to login to a password protected website and fetch the content of the page behind. I have based my code on http://weblogs.asp.net/jdennany/archive/2005/04/23/403971.aspx. When I use...
0
by: Wayne Deleersnyder | last post by:
Hi All, I'm hoping to try to solve this error. I'm currently putting together a little web app, but I need it to work under both IE6, IE7, Mozilla, etc... Although the formatting is off for...
6
by: Brybot | last post by:
I am trying to allow HTTP POST file uploads to my web service. Currently I have it working perfectly for a SOAP/XML request reading in a byte using MemoryStream/FileStream but I cannot figure out...
3
by: computer_guy | last post by:
Hi Everyone, I run into a problem. I am trying to write an aspx that can dynamically generate an image based on some input parameters. Things are very simple if the size of the parameters is...
6
by: CindyH | last post by:
Hi I'm not sure whether I should send this as a new message or use the one I've been using but... I'm using vb.net 2.0 - My problem is I need to send something like this: 'dim encodedstring =...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.