Forum Discussion
See if this page helps
https://www.soapui.org/jdbc/reference/the-jdbc-request-window.html
In the "Parameters Table", you provide ${DataSource#IDNumber} as parameter value and use name in the query as shown in documentaion like ':parameterName'
- cstott19 years agoOccasional Contributor
Hi Nmrao
Thanks for the feedback, I have tried putting a property transfer step in before the JDBC step to bring the field i want to use from the SOAP response into the parameter
when I run it the value is passed into parameters table however when I try to use it in my SQL it does not recognise it - below message is displayed
- 2016-02-24 11:44:55 - Error getting response; java.lang.IllegalArgumentException: Parameter 'Tracking' was not found in the SQL Query.
the parameter is called Tracking and my sql is below - is the way i'm referring the parameter incorrect?
Select *
From opscontrol.piece
Where opscontrol.piece.TrackingNumber = 'Tracking'(note in my initial request ID is the same as tracking - i called it ID for ease of reference)
i've added some screen shots - any help would be greatly appreciated
- cstott19 years agoOccasional Contributor
Just found it needs to be - then it works.... :-)
Select *
From opscontrol.piece
Where opscontrol.piece.TrackingNumber = :Tracking- nmrao9 years agoChampion Level 3Actually it seems to be some problem in displaying a colon and then p (in my last reply). Any ways, glad to know.
Related Content
Recent Discussions
- 5 days ago
- 10 days ago