asp + soap

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Lord Brett Sinclair (lbrettsinclair_at_hotmail.com)
Date: 03/11/04


Date: Thu, 11 Mar 2004 15:03:00 -0700

Hello everyone
With VB, on an aspx page, I need to access some webservices APIs.
I found some example in VB6 using MS XML library components :

Dim HttpReq As New MSXML2.XMLHTTP40
dim strRequestXML as string

strRequestXML= fill out the request xml document here

HttpReq.open("POST", "http://Somwehere/somepage.asp", False)
HttpReq.setRequestHeader = "Content-Type", "application/soap; charset bla
bla bla

HttpReq.send strRequestXML

MsgBox(HttpReq.responseText)

How can I accomplish the same in asp.net page using vb ?

Thank you