S
SushiSean
Hello. I have problem when I call web service.
Code looks like this
try
{
PayCaptureResponse resp = cc.requestServiceRequest(pc);
}
catch (Exception ex)
{
Response.Write("Exception " + ex.Message);
return;
}
Sometimes it works but sometimes I get excaption
"Exception The underlying connection was closed: A connection that was
expected to be kept alive was closed by the server."
What I should do here? Run this request again? What the most smart way
handle this?
Code looks like this
try
{
PayCaptureResponse resp = cc.requestServiceRequest(pc);
}
catch (Exception ex)
{
Response.Write("Exception " + ex.Message);
return;
}
Sometimes it works but sometimes I get excaption
"Exception The underlying connection was closed: A connection that was
expected to be kept alive was closed by the server."
What I should do here? Run this request again? What the most smart way
handle this?