[CR #435162] When you attempt to create a Web Service element using the GoogleSearch WSDL and try to generate a new XSL template for displaying the returned result, the result does not display in the preview as expected, such as in the following example:
On the Web Service Element Definition page, enter http://api.google.com/GoogleSearch.wsdl
as
the WSDL URL and click Get Methods. The methods defined in the WSDL
file are populated in the Methods drop-down list.
Select GoogleSearchPort:doGoogleSearch, and click Create to create a new XSL template to display the returned content.
Click Input, and enter the following information for the parameters:
* key: g3LNRSlQFHKM7CbPpZHxMvHAKSfpOOLI * q: Sybase * start: 0 * maxResults: 3 * filter: true * restrict: countryus * safeSearch: true * lr: lang_en * ie: utf-8 * oe: utf-8
Click Next.
At this point, you should see the results of doGoogleSearch(), with the search parameter values in the preview area. This does not happen, however, and you see no results.
Although the search does in fact return a result from your query, you cannot see them because of a limitation with the XSLT generation wizard, which prevents it from processing all queries correctly.
Workaround: Customize the generated XSLT so that you can view the results correctly.