Call webservice connection timeout setting

webservice request time is 100 seconds by default the client when calling the data overload often Connection timed out

ProductWs ps = new ProductWs();
ps.Timeout = 10 * 60 * 1000; // The connection timeout to 10 minutes  

If you want to set up unlimited
ps.Timeout = Timeout.Infinite;
  • del.icio.us
  • StumbleUpon
  • Digg
  • TwitThis
  • Mixx
  • Technorati
  • Facebook
  • NewsVine
  • Reddit
  • Google
  • LinkedIn
  • YahooMyWeb

Related Posts of Call webservice connection timeout setting

  • How To - Control the connection timeout for TCP connections through the BlackBer

    This article describes how kind the timeout method to set Http Connection Last Updated: 9 September 2009 Article Number: DB-00526 Summary This article applies to the following: BlackBerry ® smartphones based on Java ® technology Procedure When making a Tr

  • HttpClient timeout difference

    HttpClient 4 set out httpclient sometimes httpclient timeout when the N to wait a long time, probably at this time you decide to give up or try again. To achieve very simple to add a parameter httpClient.getParams (). SetIntParameter ( "http.soc ...

  • Apache Mina learning applications (4)

    Continue above. The client and service side of the call are as follows: Client; package cn.com.unutrip.java.opensource.mina.sumup; import java.net.InetSocketAddress; import org.apache.mina.core.RuntimeIoException; import org.apache.mina.core.filterch ...

  • Hibernate configuration file hibernate.cfg.xml to configure the database connection

    If you are using hibernate developed, then a clear understanding of the hibernate configuration would be helpful. The following summary is to find the information and, if wrong, please let us point out, thank you ~ The following is on the JDBC connec ...

  • php efficient written

    0, with single quotes instead of double quotes to contain the string, this will faster. Because PHP will be surrounded by double quotation marks to search for a string variable, single quotes will not, pay attention: only the echo can do this, it is ...

  • Rails to monitor the process of memory leaks skills

    Rails applications easier to encounter two types of performance problems: Rails implementation of a class are very slow, CPU consumption too high; The other is the process of memory leaks Rails. To resolve these two types of questions are necessary before

  • Software Performance

    1.1 Software Performance In general, the performance is an indicator that the software system or component to its timeliness requirements in line with the level; followed by software performance, are an indicator can be used to measure time. Performa ...

  • hibernate using c3p0 connection pooling

    Private http://www.lifevv.com/tenyo/doc/20070605102040991.html c3p0 for open source's JDBC connection pool, with the release hibernate. This article describes how to use the hibernate configuration in c3p0. c3p0 connection pool configuration is v ...

  • JSTL configuration problem: According to TLD or attribute directive in tag file (change)

    Application deployment occur when running JSP exception occurs when using the JSTL database: According to TLD or attribute directive in tag file, attribute value does not accept any expressions, may be due to use of JSP2.0 version, while not using JS ...

  • Using jstl error According to TLD or attribute directive in tag file ...

    After easy to find, first, accounting for a pit Reprinted from: http://captain.javaeye.com Exception: According to TLD or attribute directive in tag file, attribute value does not accept any expression Application deployment occur when running JSP ex ...

blog comments powered by Disqus
Recent
Recent Entries
Tag Cloud
Random Entries