DECLARE CONTINUE HANDLER FOR SQLSTATE LIKE'%'
BEGIN
CREATE LASTCHILD OF envRef NAMESPACE ns1 NAME 'ENotificationResponseItem';
MOVE envRef LASTCHILD;
SET envRef.(XMLNSC.NamespaceDecl)xmlns = ns1;
CREATE LASTCHILD OF envRef NAMESPACE response NAME 'Status' VALUE 'Error';
MOVE envRef LASTCHILD;
SET envRef.(XMLNSC.NamespaceDecl)xmlns = response;
MOVE envRef PARENT;
CREATE LASTCHILD OF envRef NAMESPACE response NAME 'StatusDetail';
MOVE envRef LASTCHILD;
SET envRef.(XMLNSC.NamespaceDecl)xmlns = response;
CREATE LASTCHILD OF envRef NAMESPACE response NAME 'Detail';
MOVE envRef LASTCHILD;
CREATE LASTCHILD OF envRef NAMESPACE response NAME 'Code' VALUE '200';
CREATE LASTCHILD OF envRef NAMESPACE response NAME 'Message' VALUE 'Schema Validation Failure';
SET idxRequests = idxRequests + 1;
ITERATE Z;
END;
SET myBLOB = ASBITSTREAM(envRef2.CSTMR_REQUEST.XMLNSC Encoding inEncoding CCSID inCCSID OPTIONS Options SET 'eNotificationMessageSet' TYPE 'CSTMR' FORMAT 'XML1');
However, I want to enhance the Message element with details of the failure. Where can I obtain those details? An InputExeptionList does not appear to be generated.
Thanks.
Last edited by WMB_User on Mon Aug 01, 2011 6:01 pm; edited 1 time in total
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum