Web service examples return errors [CR 610258]

The Sybase IQ documentation refers to web service examples in the section “Creating web service client functions and procedures” in Adaptive Server Anywhere Database Administration Guide. When run with Sybase IQ, some of the code in these examples returns errors.

On page 255, the sample code to run with Sybase IQ should be:

CREATE FUNCTION get_webservices ()
RETURNS LONG VARCHAR
URL ’HTTP://localhost:81/get_webservices’
TYPE ’SOAP’

On page 256, the sample code to run with Sybase IQ should be:

SELECT *
FROM OPENXML( get_webservice(), ’//row’ )
WITH (Name char(128) ’service_name’,
Secure char(1) ’secure_required’ )