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 / ASP.NET / Web Services / September 2003

Tip: Looking for answers? Try searching our database.

Async Webmethods - Accessing from VC++ (Unmanaged)

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
shailesh - 20 Sep 2003 11:32 GMT
Hi All,

I have created a web service with a web method in C#.  Now I would like to
access this method asynchronously from VC++ (unmanaged) code.

I know that using wsdl.exe I can create a proxy class for the web service,
which provides asynchronous methods to access the web method (begin...,
end... methods).  But wsdl.exe gives the proxy in only CS, VB, JS and VJS.
I want a proxy in VC++ (unmanaged).  How can I get this ?

I can add a reference to the web service directly in a VC++ (unmanaged)
project in which case VS.NET generates a c++ template class to access the
service (in a header file).  But this class gives just the method and not
the asynchronous methods.

Is there any other way to access a web method developed in C# asynchronoulsy
from a VC++ project (unmanaged).

The whole idea behind what I am trying to do is that there will be a web
service (developed in C#) on a server which should be accessible from an
activeX control on a client machine (VC++ unmanaged).

Any and all ideas appreciated.

Regards.

Shailesh.
shailesh - 20 Sep 2003 11:48 GMT
One addition, the activeX control on the client should be able to call the

web method asynchronously..

Thanks.

> Hi All,
>
[quoted text clipped - 23 lines]
>
> Shailesh.
richlm - 20 Sep 2003 22:11 GMT
Following links might help:

http://msdn.microsoft.com/library/default.asp?
url=/library/en-us/dnbda/html/cominterop.asp

http://msdn.microsoft.com/library/default.asp?
url=/library/en-us/dnvssamp/html/vb_vbsamplesintermig.asp

>-----Original Message-----
>Hi All,
[quoted text clipped - 26 lines]
>
>.

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.