Ariba Supplier OnRamp 7.1 | webMethods Ariba Supplier OnRamp Documentation | webMethods Ariba Supplier OnRamp Installation and User’s Documentation | The wm.b2b.cxml Folder in the WmAribaSupplier Package | wm.b2b.cxml.messages | wm.b2b.cxml.messages:sendErrorResponse
 
wm.b2b.cxml.messages:sendErrorResponse
WmAribaSupplier. Creates a cXML response with the status code set to an error status code and sends the response to the Ariba Buyer in an HTTP reply.
Input Parameters
statusCode
Optional. Default: 500.
statusMessage
Optional. The error message to send to the buyer. If not set the default status message for the statusCode specified is returned, as per cXML1.1 specification.
language
Optional. The language used for the ErrorResponse.
localizeMessage
Optional. If true Ariba Supplier OnRamp will try to localize the statusMessage with the language specified, using the current resource bundles installed.
messageArgs
If set, and if localizeMessage is true, the string fields that the localization utility will use to insert template string fields in the response message.
Output Parameters
ErrorResponse
The error response in record format.