My Oracle Support Banner

Browser Javascript cannot to read HTTP Response Status and Text (using either XMLHttpRequest or Ajax Callback) (Doc ID 1995727.1)

Last updated on APRIL 30, 2018

Applies to:

Siebel CRM - Version 8.1.1 [21112] and later
Information in this document applies to any platform.

Symptoms

FUNCTIONALITY:
------------------------
Using browser side javascript code of Siebel UI Client to invoke external web service using AJAX javascript API and the "XMLHttpRequest" object.

Code examples:

  
* * *


ERROR:
-------------
The javascript does not return HTTP status code of the HTTP request (such as "200" for successfully completion) but just the "0"

 Also text of the response was not available - was returned as "" - empty string.

However network traces confirmed receipt of succesfull HTTP 200 response with correct HTTP Response body (payload).

EXPECTED:
-----------------
The HTTP response code and response text can be obtained in javascript running within Siebel Client page.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.