How can I send an xml file to a gateway in vb.net?

I

irene

Hi,

from a vb.net program, I would like to post an existing .xml file and
post it to some site using http://...... How can I do this. when I
send
it I am getting a send status code of 200 which is success. But the
other people are not getting it. It looks to me I am not sending
anything, eventhough it looks to me that it did. I guess I am only
connecting.
Thanks for the help in advance.


Irene
 
J

Joe H

it is kind of difficult to provide comment without at least an indication of
what it is that you are doing that is not working.

suppose you were in VB6 and you wanted to do the same thing...

you could use the XMLHTTP object in MSXML

and do a simple POST of the XMLDocument to the target URL

however, they have to be prepared to received text/xml encoding on the other
side...

you can do the same in vb.net except its a little more convoluted...
 

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

Members online

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,818
Latest member
Brigette36

Latest Threads

Top