Forum Discussion
okcjosh
12 years agoOccasional Contributor
Rao,
I believe what he may be asking is how to capture those values, then pass them to the next webservice call.
For instance, in your code example using xpaths you stated:
"Use xpaths like below to get the right values
//ns:idSection[ns:referenceQualifier='UCI']/ns:primeId/text()
//ns:idSection[ns:referenceQualifier='DID']/ns:primeId/text()"
In your example the values of 'UCI' and 'DID' are hardcoded. How would he code that xpath to capture the value of those fields, assuming they are different values with each call?
I believe what he may be asking is how to capture those values, then pass them to the next webservice call.
For instance, in your code example using xpaths you stated:
"Use xpaths like below to get the right values
//ns:idSection[ns:referenceQualifier='UCI']/ns:primeId/text()
//ns:idSection[ns:referenceQualifier='DID']/ns:primeId/text()"
In your example the values of 'UCI' and 'DID' are hardcoded. How would he code that xpath to capture the value of those fields, assuming they are different values with each call?