Skip to content

Commit

Permalink
chore: add comments to springIbisTestToolCustom.xml [skip ci] (#96)
Browse files Browse the repository at this point in the history
Co-authored-by: Martijn Dirkse <[email protected]>
  • Loading branch information
mhdirkse and Martijn Dirkse authored May 17, 2023
1 parent d774da1 commit 252b7b5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main/resources/springIbisTestToolCustom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,14 @@
<bean class="nl.nn.testtool.metadata.XpathMetadataFieldExtractor">
<property name="label" value="Status" />
<property name="extractFrom" value="last" />
<!-- This XPath should yield a non-blank result if there is an error.
See CreateFo03Response.xslt -->
<property name="xpath" value="/*//*[local-name()='body']/*[local-name()='omschrijving']" />
<property name="delegate">
<bean class="nl.nn.testtool.metadata.XpathMetadataFieldExtractor">
<!-- Fallback if we do not have a value from tag "omschrijving" that should have been filled for an error.
If there is an error, this typically yields "SOAP-ENV:Server".
If we still get an empty string from this, we can assume success -->
<property name="label" value="Status" />
<property name="defaultValue" value="Success" />
<property name="extractFrom" value="last" />
Expand Down

0 comments on commit 252b7b5

Please sign in to comment.