Internal Server Error when using XML DCC (Legacy_Onyx KB Id: 215936)
search cancel

Internal Server Error when using XML DCC (Legacy_Onyx KB Id: 215936)

book

Article ID: 54550

calendar_today

Updated On:

Products

CA Single Sign On Secure Proxy Server (SiteMinder) CA Single Sign On SOA Security Manager (SiteMinder) CA Single Sign-On

Issue/Introduction

Description:

We are getting an internal server error when trying to access a web service protected by TxMinder. Here is the error message as found in the log file.

[2220/2232][Sat Jul 30 2005 16:54:02][CSmAdminManager.cpp:210][INFO] ADMIN: Administration Manager initialized.
[2220/2232][Sat Jul 30 2005 16:54:02][CSmHighLevelAgent.cpp:157][INFO] HLA: Initialization complete.
[2220/2232][Sat Jul 30 2005 16:54:47][CSmHighLevelAgent.cpp:460][ERROR] HLA: Challenge Manager unable to determine appropriate challenge; exiting with error.
[2220/2508][Sat Jul 30 2005 17:00:49][CSmHighLevelAgent.cpp:174][INFO] HLA: Stopping.
[1224/1544][Sat Jul 30 2005 17:00:49][LLAWorkerProcess.cpp:1256][INFO] LLAWP: Stopping.[2220/2232][Sat Jul 30 2005 16:54:02][CSmAdminManager.cpp:210][INFO] ADMIN: Administration Manager initialized.
[2220/2232][Sat Jul 30 2005 16:54:02][CSmHighLevelAgent.cpp:157][INFO] HLA: Initialization complete.
[2220/2232][Sat Jul 30 2005 16:54:47][CSmHighLevelAgent.cpp:460][ERROR] HLA: Challenge Manager unable to determine appropriate challenge; exiting with error.
[2220/2508][Sat Jul 30 2005 17:00:49][CSmHighLevelAgent.cpp:174][INFO] HLA: Stopping.
[1224/1544][Sat Jul 30 2005 17:00:49][LLAWorkerProcess.cpp:1256][INFO] LLAWP: Stopping.

We have defined a xml dcc and tied configured the realm to use it.

The log files will be uploaded shortly.


Solution:

Deb,

Engineering has said that according to the XML spec, the XML declaration is part of the prolog, which must be the first element in the XML document ( see http://www.w3.org/TR/REC-xml/). I was getting an error because it was not. See http://www.w3.org/TR/REC-xml/ for this info.

Regards,
SandyCustomer was able to get this to work by using the following XPath query:

User:
substring-before(substring-after(//*[local-name()='sayHello' and namespace-uri()='http://www.bea.com/examples/Trader']/text(),'&ltusername>'),'</username>')

Password:
substring-before(substring-after(//*[local-name()='sayHello' and namespace-uri()='http://www.bea.com/examples/Trader']/text(),'&ltpassword>'),'</password>')

Environment

Release:
Component: TXMFNC