--- title: "genRequest SOAP Response Structure" slug: "oas-fullsdk-pg-genrequest-soap-response-structure-3-28" updated: 2025-07-04T10:05:16Z published: 2025-07-07T15:34:14Z canonical: "docs.onespan.com/oas-fullsdk-pg-genrequest-soap-response-structure-3-28" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.onespan.com/llms.txt > Use this file to discover all available pages before exploring further. # genRequest SOAP Response Structure A genRequest SOAP response typically uses the following format: ```markup xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> RET_SUCCESS STAT_SUCCESS 0 0 SIGNFLD_USERID [userID] SIGNFLD_DOMAIN [UserDomain] SIGNFLD_SERIAL_NO [SerialNumberOfApplicableDIGIPASS] SIGNFLD_REQUEST_KEY 1964160839 SIGNFLD_REQUEST_MESSAGE 00C1C3E40F42B83CF9148F387513B695... ``` The SOAP body element must only contain a single genRequestResponse element. This element always contains a single result element, which in turn contains the following sub-elements: - resultCodes (required). This element contains the following sub-elements: - returnCode. The operation return code indicating the overall result of the request processing. - statusCode. The operation status code indicating the reason for failure of any returnCode different from success (0). - returnCodeEnum. The identifier corresponding to the returnCode. - statusCodeEnum. The identifier corresponding to the statusCode. - resultAttribute (required). This element contains zero or more attributes elements. - errorStack (required). Contains zero or more errors elements. - errors. Each errors element contains the following sub-elements: - errorCode. The error code integer. - errorDesc. A string representation of the error code. For a complete list of possible error codes, see [Error codes and messages](/sec/docs/oas-aref-error-messages-3-28). > For this SOAP response, the resultAttribute element refers to signature attribute elements.