POST xml and read response

A

ats@jbex

I have a web page that ccreates an xml document. I now need to POST this to
a payment service and read a response from them. I have a URL and a
username and password that I also need to include. Can anybody poiint me in
teh direction I need to look for a way of doing this please. I am using VS
2005 and VB.

TIA

--
ats@jbex

I'm not gonna be taken in
They said if I don't join I just can't win
I've heard that story many times before
And every time I threw it out the door

SLF - Wasted Life
 
M

Martin Honnen

ats@jbex said:
I have a web page that ccreates an xml document. I now need to POST this to
a payment service and read a response from them. I have a URL and a
username and password that I also need to include. Can anybody poiint me in
teh direction I need to look for a way of doing this please. I am using VS
2005 and VB.

Either use System.Net.WebClient and its UploadFile method
http://msdn.microsoft.com/en-us/library/system.net.webclient.uploadfile.aspx
or use the lower level (Http)WebRequest/Response classes.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Hyperlinks in .aspx.vb 3
Display folders & files 3
List directory contents 2
Forms 3
XML and POST 4
Calendars 8
Form to XML 2
XML 5

Top