Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Web Service call from tcl

Status
Not open for further replies.

Pramila15

Programmer
Mar 16, 2015
1
CA
Here is the code, I am trying to call webservice to add i, j values, but it returns zero result (failed to send parameters i and j)

package require WS::Client

::WS::Client::GetAndParseWsdl "set i 5
set j 2
set inputs [list i $i j $j]
set result [ ::WS::Client::DoCall CalculatorWS add $inputs]
set res [dict get $result return]
puts "result is :$res"

can you please help me how to send this i and j parameters to webservice method?
Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top