000022175 - Error: '500 Internal Server Error: Subject of a Request must be a User or a Token' in RSA ClearTrust

Document created by RSA Customer Support Employee on Jun 16, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000022175
Applies ToRSA ClearTrust Runtime Web Services API
Microsoft Windows 2000 Server SP4
Apache Tomcat 5.0.x
IssueError: "500 Internal Server Error: Subject of a Request must be a User or a Token" in RSA ClearTrust
Installed RSA ClearTrust web services. When accessing the web service through browser or through WebMethod, the following error appears:

500 Internal Server Error:
sirrus.runtime.InvalidArgumentException: Subject of a Request must be a User or a Token
CT_AuthService.log does not show any error.
CauseThe sample web service definition used has an invalid argument. RSA ClearTrust Developer's Guide also samples incorrect WSDL file. Element subject only accepts type "impl:CTUser" or "impl:CTToken".
Resolution
TTo correct this issue, modify the following entry from your WSDL:

<complexType name="CTRequest">
      - <sequence>
         <element name="id"minOccurs="0"type="xsd:int" />
        <element name="subject"minOccurs="0"type="impl:CTSubject" />
              <element/>.... 
  </sequence>
      </complexType>

to

<complexType name="CTRequest">
      -     <sequence>
            <element name="id"minOccurs="0"type="xsd:int" />
           <element name="subject"minOccurs="0"type="impl:CTUser" />
                 <element/>.... 
    </sequence>
       </complexType>

or

<complexType name="CTRequest">
      -     <sequence>
            <element name="id"minOccurs="0"type="xsd:int" />
           <element name="subject"minOccurs="0"type="impl:CTToken" />
          <element/>.... 
    </sequence>
    </complexType>
 
Legacy Article IDa28680

Attachments

    Outcomes