Hi,
Did you add the GuidAttribute to your class? Did you set the project
option "auto generate COM interop assemblies" and then register the type
libs as well?
Regards
Dan Rogers
Microsoft Corporation
--------------------
From:
sm*******@yahoo.com (Smugsboy)
Newsgroups: microsoft.public.dotnet.framework.webservices
Subject: PROBLEM: .NET webservice proxy class as COM
Date: 28 Nov 2004 05:02:23 -0800
Organization:
http://groups.google.com
Lines: 20
Message-ID: <ac**************************@posting.google.com >
NNTP-Posting-Host: 192.198.152.97
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1101646943 9783 127.0.0.1 (28 Nov 2004 13:02:23
GMT)
X-Complaints-To:
gr**********@google.com
NNTP-Posting-Date: Sun, 28 Nov 2004 13:02:23 +0000 (UTC)
Path:
cpmsftngxa10.phx.gbl!TK2MSFTNGXA03.phx.gbl!TK2MSFT NGP08.phx.gbl!newsfeed00.s
ul.t-online.de!t-online.de!news.glorb.com!postnews.google.com!not-for-mail
Xref: cpmsftngxa10.phx.gbl
microsoft.public.dotnet.framework.webservices:7666
X-Tomcat-NG: microsoft.public.dotnet.framework.webservices
Hi,
I have a problem with a web service proxy written in .NET and used
from VS6's C++ as COM object.
This proxy works great when used from a .NET application.
It does not seem to work when used as COM object for C++ application.
What happens is this: I've created a class with the following
attribute [ClassInterface(ClassInterfaceType.AutoDual)] that inherites
from this proxy class.
This class is regisered using regasm.exe and installed using
gacutil.exe.
Afterwards, I tried to use it from C++ application using the #import
macro.
Methods that access the web service fail with a timeout exception,
methods that do not access the webservice work great.
Any ideas ?
Thanks,