AnsweredAssumed Answered

Add/Remove XML element assertion

Question asked by YGeerts on Sep 16, 2015
Latest reply on Sep 30, 2016 by Carl_Lum

Hi,

 

Is it possible to get an example policy for the xml add/remove element assertion, because the documentation for it is very unclear for me. For example, I created a policy like this:

 

addremovexml.PNG

What I expect from this policy is that it adds the <d></d> element under <c></c>, but instead the gateway is giving an error stating  "Unable to insert element because no existing element was found". In the return template response I print out the responseXpath.element and it is as I expect it to be, namely <c></c>


Thanks in advance

Outcomes