Siebel Analytics Web Services Guide > Description of Siebel Analytics Web SOAP API Methods > HtmlViewService Service >

About HtmlViewService Bridging and Callback URLs


To embed a report with active drilldown links, the HtmlViewService service allows the Web browser to issue callback requests from embedded reports to the Siebel Analytics Web server. Although it is possible to route requests directly to the Siebel Analytics Web server, in many cases it is preferable to route requests through the Web server that originally serviced the third-party page. Also, in situations where Siebel Analytics Web and the third-party Web server do not belong to the same Domain Name Service (DNS) domain, users may get JavaScript errors related to browser security constraints for cross-domain scripting.

To avoid these issues, use the setBridge() method to modify callback URLs to point to the third-party Web server. Be aware that a Web component executed by the third-party Web server to reroute requests to Siebel Analytics Web is not provided. This function would need to be fulfilled by the third-party application. For more information about the setBridge() method, read setBridge() Method.

Table 27 shows the supported methods for the HtmlViewService.

Table 27. HtmlViewService Methods
Method Name
Description

addReportToPage() Method

Adds results to an HTML page.

endPage() Method

Destroys a server page object and all data associated with it.

getCommonBodyHTML() Method

Gets HTML to include in the <BODY> section.

getHeadersHTML() Method

Gets HTML to include in the <HEAD> section.

getHTMLForReport() Method

Gets HTML to display a particular set of results.

setBridge() Method

Specifies a bridge URL to receive communications. Can be useful when the Siebel Analytics Web server and the user's Web server reside on different machines or when you want to modify the results in your application development environment.

startPage() Method

Creates a new page object and returns its ID.

Siebel Analytics Web Services Guide