Forum Discussion
richie
Community Hero
Hey AngieD18,
Have you progressed with this at all yet?
Im not best placed to answer this one as im not a groovy whizz (perhaps nmrao or ChrisAdams can help), but as no one else has responded i'll answer as best i can.
I dont really see how your ws security issue would cause a problem with xmlHolder. I had a look at the xmlHolder class details and the entrySet() method does relate to xmlHolder.
Theres no obvious issues with your groovy syntax as far as i can tell. At work im waiting to be given access to repo that holds all our SOAP ReadyAPI projects, hopefully this is on Monday or Tuesday at latest.
I know the SOAP projects use the embedded functionality, but i'll plug the groovy together and try and replicate. Im using v3.20.0 so it wont be a like for like replication attempt, but it's the best i got right now.
Cheers,
Rich
Have you progressed with this at all yet?
Im not best placed to answer this one as im not a groovy whizz (perhaps nmrao or ChrisAdams can help), but as no one else has responded i'll answer as best i can.
I dont really see how your ws security issue would cause a problem with xmlHolder. I had a look at the xmlHolder class details and the entrySet() method does relate to xmlHolder.
Theres no obvious issues with your groovy syntax as far as i can tell. At work im waiting to be given access to repo that holds all our SOAP ReadyAPI projects, hopefully this is on Monday or Tuesday at latest.
I know the SOAP projects use the embedded functionality, but i'll plug the groovy together and try and replicate. Im using v3.20.0 so it wont be a like for like replication attempt, but it's the best i got right now.
Cheers,
Rich
ChrisAdams
3 years agoChampion Level 3
Hi,
The stack trace mentions the WS-security error and you have the xml issue to.
My first suggestion would be to disable the Groovy script step and check the service call.
Once the service call is properly working, then move onto the assertion.