By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,804 Members | 1,526 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,804 IT Pros & Developers. It's quick & easy.

http xml post

P: n/a
Hi

What would be the best way to post and receive http xml post using vb.net?

Thanks,
CindyH
Jun 27 '08 #1
Share this Question
Share on Google+
2 Replies


P: n/a
CindyH wrote:
What would be the best way to post and receive http xml post using vb.net?
The most flexible is WebRequest/HttpWebRequest and
WebResponse/HttpWebResponse but WebClient might suffice depending on
what exactly you want to do.
--

Martin Honnen --- MVP XML
http://JavaScript.FAQTs.com/
Jun 27 '08 #2

P: n/a
Hi Martin:

You seem to be the only one that knows anything about this.

I'm trying to use webrequest - webresponse.
I have set up a simple test with one aspx form holding the post code and
trying to get another aspx form to receive the post on local server right
now.
Can you explain to me the possible reasons why a 'GetResponse' - to send the
data to a server might not be working for a simple text file with one line.

test.text - contains: this is a test.

Using streamwriter to wrap the text in string and send as stream.

so it looks like this "this is test".

Either the 'Getresponse' to send to server or the 'reader as streamreader =
new streamreader(page.request.inputstream)' is not working.

From everything I have read and heard this should work.

Thanks, CindyH

"Martin Honnen" <ma*******@yahoo.dewrote in message
news:Ov**************@TK2MSFTNGP06.phx.gbl...
CindyH wrote:
>What would be the best way to post and receive http xml post using
vb.net?

The most flexible is WebRequest/HttpWebRequest and
WebResponse/HttpWebResponse but WebClient might suffice depending on what
exactly you want to do.
--

Martin Honnen --- MVP XML
http://JavaScript.FAQTs.com/

Jun 27 '08 #3

This discussion thread is closed

Replies have been disabled for this discussion.