TMN
2006-03-16 03:28:29 UTC
I have an appplication that uses Enterprise Services components built with
C#. The core app works fine, the components work as expected in COM+, etc.
However, I now need to have one of the components call out to a Web Service.
I've added a Web Reference to the component (which I think is part of the
problem - the reference is added to a newly created app.config file which I
don't think COM+ components use) After adding the reference and trying to
compile the component, I get the error message:
The type or namespace name '<Web Service Reference Name Here>' could not be
found (are you missing a using directive or an assembly reference?)
What is the proper means of calling a Web Service from within a COM+
component? We're using C# and .Net 2.0 in VS2005 as the basis for both the
COM+ components and the Web Services.
C#. The core app works fine, the components work as expected in COM+, etc.
However, I now need to have one of the components call out to a Web Service.
I've added a Web Reference to the component (which I think is part of the
problem - the reference is added to a newly created app.config file which I
don't think COM+ components use) After adding the reference and trying to
compile the component, I get the error message:
The type or namespace name '<Web Service Reference Name Here>' could not be
found (are you missing a using directive or an assembly reference?)
What is the proper means of calling a Web Service from within a COM+
component? We're using C# and .Net 2.0 in VS2005 as the basis for both the
COM+ components and the Web Services.