Re: [naviserver-devel] Running TCLWS on NaviServer

2017-01-02 Thread Wolfgang Winkler
Hi Claudio! I can confirm what Gustaf wrote below. We are using our own initialization routine, which is similar to the one provided by the tclws package. We have our own logging facilities, wo we don't need the log package: namespace eval ::WS::AOLserver { if {![info exists wsVersion]} {

Re: [naviserver-devel] Running TCLWS on NaviServer

2017-01-02 Thread Claudio Pasolini
Thanks Gustaf and Wolfgang. I modified the proc ::WS::AOLserver::Return as per Gustaf suggestion, but I have not yet succeeded executing the sample EchoWebService. To reduce the complexity I modified the call to the service so as to make a single call to the SimpleEcho method. Executing the scrip

Re: [naviserver-devel] Running TCLWS on NaviServer

2017-01-02 Thread Wolfgang Winkler
We have a different setup. A simple example, as we use tclws, would be: proc ::WS::AOLserver::call_op {when why} { # {{{ ::WS::AOLserver::Init ::WS::AOLserver::Return # return and stop all filters return -return_code return filter_break # }}} } proc ::WS::AOLserver::InitEchoSoa

Re: [naviserver-devel] Running TCLWS on NaviServer

2017-01-02 Thread Claudio Pasolini
Thank You very much Wolfgang, the redirect was killing me; now it works perfectly fine. Claudio 2017-01-02 16:54 GMT+01:00 Wolfgang Winkler < wolfgang.wink...@digital-concepts.com>: > We have a different setup. A simple example, as we use tclws, would be: > > > proc ::WS::AOLserver::call_op {wh