POST xml and read response

  • Thread starter Thread starter ats@jbex
  • Start date Start date
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
 
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.
 
Back
Top