Hi,
Thanks for responding.
Adding a web reference is not what I'm looking to do actually.
My application is essentially a server side application that is part of a larger windows forms application. The server (in my application) needs to receive one-way messages from a client on a different computer. The trouble I'm having is what to do if I want my webmethod/webservice to be self contained in the application (instead of residing in .asmx files). Furthermore, I need to have all the form objects accessible from the webmethod itself (I.E. if my webmethod takes an array of strings as input, then I'd want to be able to display the text strings in a text box in the forms application). If I try to do something like : "Form1.Textbox4.AppendText()" inside of a .asmx file, it doesn't work. This leads me to believe that my webmethod needs to be compiled as part of my main server/WinForms application.
The only reason I mentioned IHttpHandler is because I thought installing a custom handler might be a way to do this.
Do I need to deserialize the soap message myself in order to do this?
I also have client side code in my application that was generated from wsdl.exe, when I invoke remote webmethods from my client side code, I get back data that is easily displayed in text boxes and I can treat it the same way I treat other variables that are declared exclusively in the forms application.
So my application is acting as both a server and a client (and the remote computer it will be talking to also acts as both a server and a client)
Thanks!