HOWTO: Use a [WebMethod] from .NET Remoting?
Question
I have class implementing a [WebMethod], and I want to communicate with this class through Remoting (I have a WinForms clients). I tried to generate proxy by soapsuds.exe, but this tool failed.
What I need to do with my WebService class in order to call its WebMethods through Remoting?
Answer
SoapSuds.exe expects a RPC style WSDL/Web Service but ASP. NET Web Services are Document style per default. These different styles imply different XML message encoding.
Apply an attribute to your ASP.NET Web Service class to achieve 'compatibility': [SoapRpcService()]