|
| Hi
Sorry for cross posting but vb.net did not answer my question.
In vb6 I downloaded multiple pages from a website asynchronously by
instantiating a dll 3 times that used an inet control with a doevents on the
getchunk method when finished I simply raised the event through the dll. This
method allowed control back to the application but more importantly to
download more pages not waiting for the page before to finish.
It was sloppy but it achieved the purpose with little overhead.
Within VB.NET how do I asynchronously download a response from a webservice
using soap. I cant seem to figure this out without it hanging. When I
search, I keep ending
up at AsyncCallback but cant find an example with this using soap on a
webservice.
When I invoke the send method...(msg contains soap info which returns
response)
Private http As New MSXML2.XMLHTTP30
http.open("POST", ServiceURL, False)
http.setRequestHeader("SOAPAction", """http://xxx.com/MeetingSummary""")
http.setRequestHeader("Content-Type", "text/xml")
http.send(Msg)
It still hangs on the send method even when I thread this class out.
Can you please help???
Regards
Chad
|
|