all groups > dotnet web services > november 2007 >
You're in the

dotnet web services

group:

Passing XML from .Net 2.0 WebService to COM on another Server


Passing XML from .Net 2.0 WebService to COM on another Server Häussler Rainer
11/5/2007 7:54:15 AM
dotnet web services:
Hi to All!

I'm complete new to .Net and I have the following problem:
I have to write a .Net WebService in C# which has to pass a XML to a
Com-component to another Server. The WebService
runs on a Windows2003 Server and the COM-component runs on a Windows2000
Server.

How can I connect with this COM?

Can someone help me, please???

greets,
Rainer

Re: Passing XML from .Net 2.0 WebService to COM on another Server John Saunders [MVP]
11/7/2007 8:44:37 AM
[quoted text, click to view]

You would connect to the COM component with a web service the same way you'd
connect to it from any other application.

And, if you don't know how to do that, then you should probably start with
http://msdn2.microsoft.com/en-us/library/aa139672.aspx.

Once you've learned how to do what you need using a "normal" application,
there's one last little thing to realize: web services handle each request
on a different thread. Your COM component may not be written to handle this.
If it doesn't, you'll need to use one of several methods to get around this
restriction.
--
--------------------------------------------------------------------------------
John Saunders | MVP - Windows Server System - Connected System Developer

AddThis Social Bookmark Button