Forum Discussion
nmrao
12 years agoChampion Level 3
This is how i tested your xml earlier and this was not namespace aware.
Since you are using it in groovy, please add namespaces prefixes in the xpath.
like
//multiRef[contains(@type,'ns7:RemoteUser')]/name/text() - if each response contains ns7 as ns prefix for RemoteUser.
Please see below link if namespace prefix is changing in the each response
viewtopic.php?t=4213
Since you are using it in groovy, please add namespaces prefixes in the xpath.
like
//multiRef[contains(@type,'ns7:RemoteUser')]/name/text() - if each response contains ns7 as ns prefix for RemoteUser.
Please see below link if namespace prefix is changing in the each response
viewtopic.php?t=4213
Related Content
Recent Discussions
- 22 days ago