Forum Discussion
SmartBear_Suppo
Alumni
16 years agoHello,
If you want this to be namespace-agnostic, then just change the line:
to
As for why this isn't working when the Header isn't empty I can't really say. Could you please attach an example request where this does not work?
Regards,
Dain
eviware support
If you want this to be namespace-agnostic, then just change the line:
def price = Double.valueOf(holder.getNodeValue("//moc:price"))to
def price = Double.valueOf(holder.getNodeValue("//*:price"))As for why this isn't working when the Header isn't empty I can't really say. Could you please attach an example request where this does not work?
Regards,
Dain
eviware support