Data exchange between Web Service & Win Forms application

  • Thread starter Thread starter Albertas
  • Start date Start date
A

Albertas

Hello,

I have a Web Service that needs to send and receive data from running
windows forms application every time when WS methods are called. My
question is: What is the best way to do that? I'm thinking to create a
separate .dll and add it to WS as reference. And .dll would be somehow
connected to Win forms application. Although I don't know how to do
that yet?

Thank You
 
Albertas,

I think that you should set up a remoting server in your windows forms
app, and then access the server from the web service.

You might also want to check out the beta of .NET 3.0 with Windows
Commiunications Foundation in it. With it, you could host the web service
right in the windows forms app.

Hope this helps.
 
Back
Top