Receiving Responses
This section provides examples of response types.
This is one example of the error response. The messages vary depending on the type of error.
<?xml version="1.0" encoding="UTF-8" ?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<USER_PROFILE>
<Error-Warning>
<Message>
<Type>Error</Type>
<MessageSetNumber>91</MessageSetNumber>
<MessageNumber>49</MessageNumber>
<MessageText>Row already exists with the specified keys.
{USER_PROFILE} (91,49)</MessageText>
<ExplainText>A rows already exists in the database with the specifiedkeys.
</ExplainText>
</Message>
</Error-Warning>
<Key_information>
<UserID>PTDMO10</UserID>
</Key_information>
</USER_PROFILE>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
The following XML code gets an SDK_BUS_EXP component interface row for an employee with an employee ID of 8052:
<?xml version="1.0"?>
<SDK_BUS_EXP action="GET">
<SDK_EMPLID key="Y">8052</SDK_EMPLID>
</SDK_BUS_EXP>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
The XML response for this employee is:
<?xml version="1.0" encoding="UTF-8" ?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<SDK_BUS_EXP>
<SDK_BUS_EXP_PER>
<SDK_EMPLID>8052</SDK_EMPLID>
<SDK_EXP_PER_DT>2000-11-09</SDK_EXP_PER_DT>
<SDK_BUS_EXP_DTL>
<SDK_EMPLID>8052</SDK_EMPLID>
<SDK_EXP_PER_DT>2000-11-09</SDK_EXP_PER_DT>
<SDK_CHARGE_DT />
<SDK_EXPENSE_CD />
<SDK_EXPENSE_AMT>0</SDK_EXPENSE_AMT>
<SDK_CURRENCY_CD>USD</SDK_CURRENCY_CD>
<SDK_BUS_PURPOSE />
<SDK_DEPTID />
</SDK_BUS_EXP_DTL>
</SDK_BUS_EXP_PER>
</SDK_BUS_EXP>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>