FailedAuthentication Error For XML Request in a Cluster Configuration

(Doc ID 1306248.1)

Last updated on OCTOBER 18, 2016

Applies to:

Oracle Utilities Framework - Version: 2.2.0 and later   [Release: 2.2 and later ]
Information in this document applies to any platform.


The XAI inbound service works on a default installation on Weblogic. When the cm.*.templates are used to convert a default install to a "cluster" configuration (ie: separate Admin Server and Managed Server and define a Weblogic cluster on custom ports), then the XAI Inbound Service no longer works. Accessing one XAI Inbound Service in SOAP UI via managed server will result in SOAP response fault wsse:FailedAuthentication although the user has been created and granted right access rights.

The following error shows in the logs:
- 2011-02-22 16:50:54,538 [[ACTIVE] ExecuteThread: '2' for queue:
'weblogic.kernel.Default (self-tuning)'] ERROR (xai.servlet.XAIWSServlet) Invalid user name or password
java.lang.Exception: Invalid user name or password
at com.splwg.xai.servlet.XAIWSServlet.doPost(
at javax.servlet.http.HttpServlet.service(
at javax.servlet.http.HttpServlet.service(

Setting XAI Option "Enforce SOAP Authentication = N" in a cluster configuration allows the XML request to succeed, however, this is not the desired approach to be used.

The WSDL for all the services is visible by accessing the URL in a browser. However, it is noticed that the namespace in the WSDL uses the server URL.

Replication Steps:
Admin server and managed server are separated.
Create a user and grant correct access rights.
The WDSL can be accessed.
Testing via SOAP fails with the following error:
<soap:Envelope xmlns:soap=""
<faultstring>The security token could not be authenticated or


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