Last modified by Pascal Robert on 2009/03/17 14:18

From version 5.1
edited by Ramsey Gurley
on 2009/03/17 14:18
Change comment: There is no comment for this version
To version 7.1
edited by Ramsey Gurley
on 2009/03/17 14:18
Change comment: Migrated to Confluence 5.3

Summary

Details

Page properties
Parent
... ... @@ -1,0 +1,1 @@
1 +Web Services
Content
... ... @@ -1,12 +1,12 @@
1 1  == WOWebServiceClient constructor hanging ==
2 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
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 4  
5 5  {{code}}
6 6  -Djava.net.connectiontimeout=30
7 7  {{/code}}
8 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.
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 10  
11 11  == SSL WebServices Problems ==
12 12  
... ... @@ -13,7 +13,7 @@
13 13  ~1. WOWebServiceClient class can't access to a secure HTTP Web service provider (WO 5.2.2):
14 14  
15 15  Problem:
16 -The com.webobjects.webservices.client.WOWebServiceClient class just throws exception like this one when it tries to read the WSDL from a secure HTTP Web service provider:
16 + The com.webobjects.webservices.client.WOWebServiceClient class just throws exception like this one when it tries to read the WSDL from a secure HTTP Web service provider:
17 17  
18 18  {{code}}
19 19  
... ... @@ -53,8 +53,8 @@
53 53  
54 54  The problem is that the initializeFromURL() method of the com.webobjects.webservices.client.WOWebServiceClient class doesn't wrap and forward the catched exceptions, it only throws IllegalArgumentException with a simple " Unable to open url" or " Unable to create service from url" message, without any details.
55 55  
56 -To avoid such problem, just relax the Java security manager using code like one described here: [[How to Trust Any SSL Certificate>>Web Services-How to Trust Any SSL Certificate]].
56 +To avoid such problem, just relax the Java security manager using code like one described here: [[How to Trust Any SSL Certificate>>doc:Web Services-How to Trust Any SSL Certificate]].
57 57  
58 58  === to Apple Documentation ===
59 59  
60 -[[http://developer.apple.com/documentation/WebObjects/Web_Services/Web_Services/chapter_4_section_3.html]]
60 +[[http:~~/~~/developer.apple.com/documentation/WebObjects/Web_Services/Web_Services/chapter_4_section_3.html>>url:http://developer.apple.com/documentation/WebObjects/Web_Services/Web_Services/chapter_4_section_3.html||shape="rect"]]