calling DCOM from within a web service

A

ariella

I have an COM+ object on machine A. I can call it from a Windows Form
app on machine B using the Activator class. However, when I try doing
it from a wev service I get a System._ComObject instead of my intf. I
tried to call
Intf = (Intf) Marshal.CreateWrapperOfType(o, typeof(intf));

This fails.

I will appreciate any advice.

ariella
 
K

Keenan Newton

Web Services only support simple types. What you would want to do is
use a web service as a facade for the COM+ component. Web services are
meant to pass the message (data) as opposed to the implementation.
However it can only pass certain implmenentations. see the following
Microsoft support link.
http://support.microsoft.com/default.aspx?kbid=326791
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,228
Members
46,818
Latest member
SapanaCarpetStudio

Latest Threads

Top