Hi, We are using .NET Google AdWords API client library and we sometimes get WebService exception when we try to comunicate with AdWords services (e.g. "System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send.").
Before we started to use used client library we had our custom service base class derived from SoapHttpClientProtocol where we changed implementation of Invoke method to retry operation few times if it failed with WebException. This workaround helped us to solve any short term problems with connections when comunicating over internet. I see that in Client library is custom service base class as well (com.google.api.adwords.lib.SoapServiceBase) so we can change source code and recompile library for us but that means we need to do it all the time new version of library is released. I think if would be usefull to add capability of resending request on communication error to Client library (as settings to configuration or to constructor). Or do you know some better way how to solve this problem without changing Client library source code? Cheers, Marian -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en
