I started to learn how to invoke JAX-WS webservice via TCL client with use of tclws api. I have a simple calculate webservice deployed on glassfish server (written using java/jaxws/netbeans) which is successfully invoked by my tcl webservice client. The soap messages exchange look just fine. However, on client side after calling glassfish webservice, I receive extra header which I'm not sure how it is returned and what to do with this and why it is displayed on my screen
set xns [dict get [::WS::Utils::GetServiceTypeDef Client CalculatorWS tns1:add] xns] definition {param1 {type xs:int comment {}} param2 {type xs:int comment {}}} xns tns1 result is :7
here is my sample tcl ws client code:
package require WS::Client
::WS::Client::GetAndParseWsdl http://xxxx.xx.xx.com:8099/CalculatorWS/CalculatorWS?wsdl
set param1 5
set param2 2
set inputs [list param1 $param1 param2 $param2]
set result [ ::WS::Client::DoCall CalculatorWS add $inputs]
set res [dict get $result return]
puts "result is :$res"
Can anyone please help me how to prevent this header to be printed/displayed? Am I missing something?