Hi,
We need to overwrite the output message from Rest driver. We tried strip xpath expression to remove the text in set Xml attribute and append Xml element. Strip worked but not others.
Here is the example. We need to replace the message "Code(-9010) An exception occurred: novell.jclient.JCException: createEntry -609 ERR_MISSING_MANDATORY" with custom message.
<nds dtdversion="4.0" ndsversion="8.x">
<source>
<product edition="Advanced" version="4.8.7.0000">DirXML</product>
<contact>NetIQ Corporation</contact>
</source>
<output>
<status event-id="PLUMS##12478174712##0" level="error">Code(-9010) An exception occurred: novell.jclient.JCException: createEntry -609 ERR_MISSING_MANDATORY<operation-data callbackurl="true" lvPayLoad='{ "cdsid": "P-"}' lvURL="">se-qa-api.BBCbars.net:443/.../>
<application>DirXML</application>
<module>PLUMS</module>
<object-dn>BFC\Meta\Identities\Active\External\P-</object-dn>
<component>Publisher</component>
</status>
<status event-id="PLUMS##12478174712##0" level="error">Code(-9010) An exception occurred: novell.jclient.JCException: nameToID -601 ERR_NO_SUCH_ENTRY<operation-data callbackurl="true" lvPayLoad='{ "cdsid": "P-"}' lvURL="">se-qa-api.BBCbars.net:443/.../>
<application>DirXML</application>
<module>PLUMS</module>
<object-dn>BFC\Meta\Identities\Active\External\P-</object-dn>
<component>Publisher</component>
</status>
</output>
</nds>