web service call to application call
I am a beginner and I am lost.
What is the best way to have a web service method call an ocx (or another method in a .Net application)?
I tried to create a static class (in the web service) which instantiates the ocx. It works with the MSCalendar but not with my ocx.
Is it because the service is stateless and the ocx must run in its own thread? If so what should I do?
Can someone give me a few tips or is there a book / article that could help me?
Thanks in advance.
Michel.
Re: web service to application
mmetzger, thank you very much for your reply.
Can you give me more details?
Let me be more specific. Say:
(S) is a .Net asp web service project and [s] one of its public methods,
(A) is .Net application project and [a] one of its public methods.
I want [a] to be called when [s] is called. ( [a] will then access a COM dll )
In other words I want something to happen in an application if a function of a web service is called.
It is very easy to access the service from an application by adding a reference to (S) in (A), but what about the opposite?
How do I go from [s] to [a]?
Thanks again for your help.
Michel.