From: Byron W. <by...@ly...> - 2004-08-31 01:15:10
|
I am working on WSDL generation within TCLSoap. Has anyone done soothing similar to this already? I want to release this code to the tclsoap project if it is deemed worthwhile. Please comment! Here's the plan: 1) Maintain a list of functions to export, along with their return types & = input parameters in some data structure. 2) Iterate thru the functions and create a unique TCL namespace for each one = (so Foo becomes the TCL command TestService::Foo). 3) Expose the WSDL parameters/return types AND 3b) Expose the functions with SOAP::export. I have code that does this already. 1) I now need to integrate the rcpvar:* types =20 2) Modify the rpcvar::typdef function to return the list of user defined = types. 3) Iterate thru the list of user defined types 4) create a complexType for each type defined by rcpvar::typedef 5) build the <schema><complexType>... portion of the WSDL with this info. |