A
Abdul Mukit
Guest
Currently, the Web Service Adapter, when generating a SOAP fault from a customised AppError object, will only return the standard AppError ReturnValue field. It would be useful for the fields in a serializable custom class based on the AppError class, to be returned in the SOAP fault, e.g. so that application specific error codes and messages could be returned in separate fields. See below for an example custom error class and webservice. /* CustomError.cls */ USING Progress.Lang.*. CLASS CustomErrors.CustomError INHERITS AppError SERIALIZABLE: DEFINE PUBLIC PROPERTY ErrorCode AS CHARACTER NO-UNDO GET. SET. END CLASS.
Continue reading...
Continue reading...