Prev: Safe interpreters lose ::tcl::mathfunc::min, ::tcl::mathfunc::max
Next: writing a tWSDL/TWiST or TSOAP based client?
From: Doug du Boulay on 20 Jan 2010 19:56 Hi, I need to add a Web Service client to an existing project that uses an embedded Tcl-8.4 interpreter. This project already has a dependency on tDOM. There is no likelihood to upgrade Tcl to 8.5 where, as I understand it, the "dict" type was introduced (and made heavy use of in tclws). The server endpoint itself is actually a JDeveloper/Oracle based service that will be evolving. What I was hoping was that there would be a way to take the server's WSDL file and generate client side Tcl stubs that I could then use in the project I will be working with. Because of the existing tDOM dependence, I'm guessing my best option for creating a client is either tSOAP or tWSDL. But tWSDL seems to be oriented towards running web services in an AOLserver and I have no need for that. Maybe its possible to generate Tcl stubs from the WSDL using a more recent Tcl and use those in the older interpreter? I could really use some advice at this point! Thanks in advance Doug
From: Gerald W. Lester on 21 Jan 2010 01:29
Doug du Boulay wrote: > Hi, > > I need to add a Web Service client to an existing project that uses an > embedded Tcl-8.4 interpreter. This project already has a dependency > on tDOM. > There is no likelihood to upgrade Tcl to 8.5 where, as I understand > it, the > "dict" type was introduced (and made heavy use of in tclws). > The server endpoint itself is actually a JDeveloper/Oracle based > service > that will be evolving. > > What I was hoping was that there would be a way to take the server's > WSDL > file and generate client side Tcl stubs that I could then use in the > project > I will be working with. Because of the existing tDOM dependence, I'm > guessing my best option for creating a client is either tSOAP or > tWSDL. > But tWSDL seems to be oriented towards running web services in an > AOLserver > and I have no need for that. > > Maybe its possible to generate Tcl stubs from the WSDL using a more > recent Tcl and use those in the older interpreter? > I could really use some advice at this point! > Thanks in advance > Doug > Doug, You might be looking for Web Services for Tcl (http://code.google.com/p/tclws/). -- +------------------------------------------------------------------------+ | Gerald W. Lester | |"The man who fights for his ideals is the man who is alive." - Cervantes| +------------------------------------------------------------------------+ |