Changes for page Web Services-Web Service Consumer
Last modified by Pascal Robert on 2009/03/17 14:18
From version 4.1
edited by Pascal Robert
on 2007/09/03 19:42
on 2007/09/03 19:42
Change comment:
There is no comment for this version
To version 5.1
edited by Ramsey Gurley
on 2009/03/17 14:18
on 2009/03/17 14:18
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. probert1 +XWiki.ramsey - Content
-
... ... @@ -1,3 +1,13 @@ 1 +== WOWebServiceClient constructor hanging == 2 + 3 +It is possible to hang your WO app instance with the WOWebServiceClient constructor unless you set a connection timeout to something other than the java default. To do this, you need to set the command line flag 4 + 5 +{{code}} 6 +-Djava.net.connectiontimeout=30 7 +{{/code}} 8 + 9 +By default, the timeout is infinite. In this instance, you would be setting the timeout to 30 seconds. If you do not set a fixed time for the timeout, a refused connection attempt (caused by a non responsive web services server, for instance) will hang your application instance. 10 + 1 1 == SSL WebServices Problems == 2 2 3 3 ~1. WOWebServiceClient class can't access to a secure HTTP Web service provider (WO 5.2.2):