Browser Javascript cannot to read HTTP Response Status and Text (using either XMLHttpRequest or Ajax Callback)
(Doc ID 1995727.1)
Last updated on AUGUST 11, 2024
Applies to:
Siebel CRM - Version 8.1.1 [21112] and laterInformation 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! |