c# - Getting repeated timeout when calling stream-based web service -
calling stream-based web service keep getting timeout exception (system.web.net.exception
).
all advice i've been able find on net asks me set timeouts. here configuration:
<binding name="basichttpbinding_ientity" maxbuffersize="65536" maxreceivedmessagesize="2147483647" transfermode="streamedrequest" receivetimeout="00:10:00" sendtimeout="00:10:00" opentimeout="00:10:00" closetimeout="00:10:00" > <readerquotas maxarraylength="2147483647" maxstringcontentlength="2147483647" /> </binding>
i still getting timeouts , getting frustrating. web service (for logins) on same server @ similar url works fine. second web service not stream-based.
is there wrong way submitting web service? i've verified parameters submitting correct.
the problem basichttpbinding
communicating soap web services (soap 1.1 precise). client code linked consuming web service if restful service.
it possible use webclient
class consume wcf soap web service, wouldn't recommend it. if service soap web service, advise generating proxy via wsdl , using communicate service. if service wcf restful service, must webhttpbinding
, add webhttpbehavior
service endpoint.
Comments
Post a Comment