I have written a web serivce that has a custom class (Message) as parameter in it's method.
When I try to call this method through a client, I'm getting the following exception:
The message has errored:
org.xml.sax.SAXException: Deserializing parameter 'in2': could not find deserializer for type {http://message.xxxxxx.com}Hello at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream) at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) at DOTNETWebSampleVB.satish.HelloLocalService.send(String in0, Int32 in1, Message in2) in C:\Inetpub\wwwroot\DOTNETWebSampleVB\Web References\satish\Reference.vb:line 42 at DOTNETWebSampleVB.varma.Button1_Click(Object sender, EventArgs e) in C:\Inetpub\wwwroot\DOTNETWebSampleVB\varma.aspx.vb:line 69
How to solve this problem?