In order to create a Web Service call in Sybase SQL, a function that is more or less similar to this Query is required:
CREATE FUNCTION "DBA"."uf_SendMessage"
IN "name" varchar(30),
IN "password" varchar(30),
IN originator varchar(15),
IN "text" varchar(500),
IN recipient varchar(12)
The function name can be named whatever is most practical, as can be chosen by the creator of the function.
The parameters for the function are the same as what would be required for the Web Service call. In this case, the username, password, originator, message text and the recipient are required in order to use the "SendMessage" web method.
The actual body of the function specifies the URL of the Web Service, what the type is (SOAP), what the function name is (SendMessage) and also specifies the namespace (http://services.dynmark.com/).