Calling business service from browser script hangs in SSO environment (Doc ID 1630157.1)

Last updated on MARCH 02, 2017

Applies to:

Siebel Tools - Version 8.1.1.9 [23016] and later
Information in this document applies to any platform.

Symptoms

The following browser code is implemented to display message if any required field has no value:

----------------------------------------------------------

Applet_PreInvokeMethod (name, inputPropSet)

{

  if (name == "WriteRecord") {

    var bs = theApplication().GetService("business service");

    var ip = theApplication().NewPropertySet();

    var op = theApplication().NewPropertySet();

    op = bs.InvokeMethod("method", ip);

    op = null;

    ip = null;

    bs = null;

    if (theApplication().GetProfileAttr("BS_RESULT") == "N") {

      alert("message");

      return ("CancelOperation");

    }

    return ("ContinueOperation");

  }

}

----------------------------------------------------------

If SSO is enabled on the siebel environment, the above code hangs up if it's repeated a couple of times.

Cause

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 hundreds of Community platforms