NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: osquiabro on March 14, 2013, 05:55:43 AM
-
NetSimple Object only work in a windows?? i try to use in a source procedure with netwebclient.
My intention is call a webservice via source procedure, is possible??
-
all TCP/IP communications is event driven.
So it needs an ACCEPT command, which in turn needs a window.
But of course you can Hide the window.
cheers
Bruce
-
do you have example?? i have a search window with a values, i need to call a webservice and then display the result in a browse, how i can call a window, i try in a button in a search form:
p_web.Script(p_web.WindowOpen('WebServiceClient'))
but received The page cannot be found.. my windows is hide 0{prop:hide}=True
-
i found a good example Mapping and Geocode Part 2...
thanks..
-
you wouldn't call it like this;
p_web.Script(p_web.WindowOpen('WebServiceClient'))
because that's an instruction for the browser to do something - and you are communicating with the service from the _server_ not the browser.
On the server side you can just call the procedure
WebServiceClient()
it's a normal Clarion procedure, so you call it in the normal way.
Cheers
Bruce
-
thanks, I read the web service successfully, but is very importat the POST(EVENT:CloseWindow)...