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.utils.errors | wm.b2b.cxml.utils.errors:setError
 
wm.b2b.cxml.utils.errors:setError
WmAribaSupplier. Sets an error record to hasErrors=true and sets the error fields.
Input Parameters
error
The error message.
Output Parameters
errorStatusCode
Optional. If set, the statusCode that should be returned in a cXML ErrorResponse. If not set, the code 500 will be returned.
serviceError
A record representing an error occurrence.