By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,967 Members | 843 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,967 IT Pros & Developers. It's quick & easy.

Call async webservice using soap

P: n/a
Hi

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. 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
May 18 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.