You must first evaluate the format of the web service invoked by the HTTP web server to customize your web pages. For example, web pages are formatted in HTML when the web service specifies the HTML type. For more information on supported web service types, see Choosing a web service type.
The RAW web service type provides the most customization because it requires that web service procedures and functions explicitly require coding to provide the required markup such as HTML or XML. The following tasks must be performed to customize web pages when using the RAW type:
Set the HTTP Content-Type header field to the appropriate MIME type, such as text/html, in the called stored procedure.
Apply appropriate markup for the MIME type when generating web page output from the called stored procedure.
Discuss this page in DocCommentXchange.
|Copyright © 2010, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.0|