Sunday 15 May 2011

How to set a timeout on a SOAP call in MS .Net 4.5 using C# -



How to set a timeout on a SOAP call in MS .Net 4.5 using C# -

i need business relationship extremely slow responses soap server. have added service in c# language using visual studio 2012 , able set timeout value on service object , handle suitably named exception when response not received within time frame.

how can implement this?

it's in documentation: http://msdn.microsoft.com/en-us/library/microsoft.web.services2.soapwebrequest.timeout.aspx .

in short, utilize soapwebrequest's timeout property.

c# soap timeout

No comments:

Post a Comment