Hitachi

uCosminexus Application Server Security Management Guide


19.2 Messages starting with KDCGF

This section describes the messages between KDCGF0001 and KDCGF9999, which are output by the Web service security functionality.

Messages starting with KDCGF are output in SOAPFault format. A SOAPFault format message has the following four components:

(FaultCode)

In FaultCode, a FaultCode is output. The FaultCode consists of a name space URI and a local part. To the name space URI part of the FaultCode of a message starting with KDCGF, {http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd} is output. To the local part, a character string indicating the cause of the error is output.

The value of FaultCode can be obtained in the following ways:

  • Server side

    For SOAP 1.1, FaultCode can be obtained from the faultcode element of a SOAP Fault message.

    For SOAP 1.2, FaultCode can be obtained from the soapenv12:Value element included in the soapenv12:Subcode element (which is a child element of the soapenv12:Code element) of a SOAP Fault message. The value of the soapenv12:Value element of the soapenv12:Code element is soapenv12:Sender.

  • Client side

    FaultCode can be obtained by using the C4Fault class provided by the SOAP Communication Infrastructure or the javax.xml.ws.soap.SOAPFaultException class provided by the JAX-WS functionality.

(FaultString)

In FaultString, a message ID or message text is output. For the meaning of message IDs, see 19.1 Message description format.

FaultString can be obtained in the following ways:

  • Server side

    For SOAP 1.1, FaultString can be obtained from the faultString element of a SOAP Fault message.

    For SOAP 1.2, FaultString can be obtained from the soapenv12:Text element of the soapenv12:Reason element of a SOAP Fault message.

  • Client side

    FaultString can be obtained by using the C4Fault class provided by the SOAP Communication Infrastructure or the javax.xml.ws.soap.SOAPFaultException class provided by the JAX-WS functionality.

(FaultActor)

In FaultActor, the actor that generated the Fault is output.

FaultActor can be obtained in the following ways:

  • Server side

    For SOAP 1.1, FaultActor can be obtained from the faultactor element of a SOAP Fault message.

    For SOAP 1.2, FaultActor can be obtained from the soapenv12:Role element of a SOAP Fault message.

  • Client side

    FaultActor can be obtained by use of the C4Fault class provided by the SOAP Communication Infrastructure or the javax.xml.ws.soap.SOAPFaultException class provided by the JAX-WS functionality.

(FaultDetails)

In FaultDetails, details of the Fault are output.

FaultDetails can be obtained in the following ways:

  • Server side

    For SOAP 1.1, FaultDetails can be obtained from the detail element of a SOAP Fault message.

    For SOAP 1.2, FaultDetails can be obtained from the soapenv12:Detail element of a SOAP Fault message.

  • Client side

    FaultDetails can be obtained by use of the C4Fault class provided by the SOAP Communication Infrastructure or the javax.xml.ws.soap.SOAPFaultException class provided by the JAX-WS functionality.