Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / December 2003

Tip: Looking for answers? Try searching our database.

Call to webservice doesn't wait to return

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
shailesh - 24 Dec 2003 10:10 GMT
Hi All,

I have created a ASP.NET web service with a web method.  This method
retrives data from SQL Server and returns it as an XML string.  Now I have
added a web reference to this web service in a VC++ 7.1 (unmanaged) project.
I call the web method in my VC++ code.  The problem I am facing is that the
line next to the line that calls the web method is executed even before the
call to the web method returns, causing inconsistencies in my code.  I would
like to know how I can make the execution wait till the call to the web
method returns?  Sample code will help a lot.

Regards.
Shailesh.
Daniel O'Connell - 27 Dec 2003 19:10 GMT
> Hi All,
>
[quoted text clipped - 6 lines]
> like to know how I can make the execution wait till the call to the web
> method returns?  Sample code will help a lot.

Have you insured it is actually executing, and not simply a problem with the
debugger?
> Regards.
> Shailesh.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.