Hi,
I have developed a NT Service that calls upon a web service outside the corporate firewall and passes data to it, and receives data in return. Now the data that is sent to the web service can be quite large and so can the return data. I am calling the web method asynchronously.
When I call the method with more than 3500 records (converted to the custom class that the web method requires), the beginInvoke method seems to go through fine, but when I get a response back from the server, my code fails at the point where I call the endInvoke of the method with a 400: Bad Request error. If I call the method with less than 3500 records, it seems to work fine. I have set the proxy settings in the app.config.
Can anyone help, please ? I need help urgently and any help would be greatly appreciated.
The error trace shows me the below :
at System.Web.Services.Protocols.SoapHttpClientProtoc ol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)\r\n at System.Web.Services.Protocols.SoapHttpClientProtoc ol.EndInvoke(IAsyncResult asyncResult)\r\n at XDSDataExchangeAgent.XDSWebServices.VantiveService .EndSetClearances(IAsyncResult asyncResult) in c:\\work related\\xdigital systems\\fe\\source\\xdsdataexchangeagent\\web references\\xdswebservices\\reference.cs:line 89\r\n at XDSDataExchangeAgent.XDSDataExngService.SendCleara nceSetCallBack(IAsyncResult ar) in c:\\work related\\xdigital systems\\fe\\source\\xdsdataexchangeagent\\xdsdata exngservice.cs:line 774