Estoy haciendo un webservice que comunica 2 hosts.La invocación la hago de la siguiente forma:
Código:
WebServicesProxy webService = new WebServicesProxy("https://servidorremotoUrl/services/myService.asmx"); string webServiceResponse = webService.Create(dataToSend);
El error obtenido es el siguiente:
Código:
System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary. at CreateAttendee..ctor() --- End of inner exception stack trace --- at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) at WebServicesProxy.Create(String parameters) at events_RadiografiaShopper2014.RegisterAttendee(String name, String email, Boolean acceptNotifications)