Re: I have a tclsoap server. Can I generate a WSDL file?



Georgios Petasis wrote:
Dear Gerald,

Please forget my previous post. I am not interested anymore on why tclsoap does not work. I have tried your package, and works just fine with gsoap. I defined my webservice in Tcl, I used the generated wsdl from your package to build the gsoap client/server, and the gsoap client simply works with the tcl server.

The only problem I got with your package, it was to understand that I have to "name" the return value as "method-name"Result. I was using the name of my custom defined structure, which failed without an error...

Actually, you returned a null -- which is legal.

Also, I want to ask a question: is Soap 1.2 supported, or only 1.1?

I've only worked with 1.1 at this point. Donal (aka dkf) is working on a 2.0 version of the package which will be OO using his new TclOO extension to Core. Maybe we can get 1.2 support (and other stuff) into the 2.0 version -- particularly if you care to help.

I wish this package was also in ActiveTcl :-)

Tell ActiveState you'd like to see it there -- or at least in the TeaPot.

--
+--------------------------------+---------------------------------------+
| Gerald W. Lester |
|"The man who fights for his ideals is the man who is alive." - Cervantes|
+------------------------------------------------------------------------+
.



Relevant Pages

  • Re: I have a tclsoap server. Can I generate a WSDL file?
    ... I defined my webservice in Tcl, I used the generated wsdl from your package to build the gsoap client/server, and the gsoap client simply works with the tcl server. ...
    (comp.lang.tcl)
  • Re: I have a tclsoap server. Can I generate a WSDL file?
    ... I defined my webservice in Tcl, I used the generated wsdl from your package to build the gsoap client/server, and the gsoap client simply works with the tcl server. ... I am using tclsoap from ActiveTcl, to implement 2 simple functions as a web service. ...
    (comp.lang.tcl)
  • Re: TclSOAP & eBay
    ... and the eBay API's way more complex than that. ... My current effort with TclSOAP 1.6.7 is obviously broken, ... package require SOAP ... SOAP::create GeteBayOfficialTime \ ...
    (comp.lang.tcl)
  • Re: SOAP request with repeated "sub record"
    ... I'm using the TclSOAP package for an automated test of a service and ... figured TclSOAP would be the way to go. ... So the long and short is if you are using a web service that provides a WSDL file, it may be easier to use the Web Service package. ... createElement tagName ?objVar? ...
    (comp.lang.tcl)
  • Re: SOAP request with repeated "sub record"
    ... I'm using the TclSOAP package for an automated test of a service and ... figured TclSOAP would be the way to go. ... So the long and short is if you are using a web service that provides a WSDL ... createElement tagName ?objVar? ...
    (comp.lang.tcl)