Re: WebServicesForTcl
- From: zacky.azoulay@xxxxxxx
- Date: Thu, 30 Aug 2007 05:47:01 -0700
On Aug 30, 3:04 pm, Mike Labedz <BMWM3...@xxxxxxxxx> wrote:
On Wed, 29 Aug 2007 09:54:13 -0700, zacky.azou...@xxxxxxx wrote:
Hi,
I try WebServicesForTcl and tclhttpd3.5.1 from cmd I succeed to get
the result.
With the browser I can see the services using the /service/index.tml.
Is there an example how to get Web Services result from the browser
and html or tml file?
Thank Zacky
I recommend looking athttp://members.cox.net/~gerald.lester/WebServicesForTcl.html
This is an amazingly simple implementation as long as your
organization isn't so back arsewards as to use TCL 8.3
There is good examples as well.
At least I get to use the serverside for my app...just wish I had
Client Side as well.
Mike
Hi,
I already see those example, I success to run the service from tml but
it is tricky (in run on the server).
In httpdthread.tcl I add the lines:
package require WS::Client
package require WS::Utils
In the end I add
::WS::Client::GetAndParseWsdl http://localhost:2080/service/wsEchoExample/wsdl
Add the file time1.tml to htdocs\service
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<hr>
<title>Test Http_Refresh</title>
<meta http-equiv="refresh" content="3">
</head>
<body>
<h1>This page uses Service [::WS::Client::DoRawCall wsEchoExample
ComplexEcho [list TestString ""]]</h1>
<p> Refresh 3 seconds.</p>
<hr>
</body>
</html>
It work but with 2 http request and the process run on the server
side.
Is there any option to run this request from the browser and the
process will run on the client side?
Regards zacky
.
- Follow-Ups:
- Re: WebServicesForTcl
- From: Gerald W. Lester
- Re: WebServicesForTcl
- References:
- WebServicesForTcl
- From: zacky . azoulay
- Re: WebServicesForTcl
- From: Mike Labedz
- WebServicesForTcl
- Prev by Date: Re: "Scale": additional limits for variable values?
- Next by Date: Debugging hang
- Previous by thread: Re: WebServicesForTcl
- Next by thread: Re: WebServicesForTcl
- Index(es):
Relevant Pages
|