Forum OpenACS Q&A: Re: SOAP Gateway Package ready

Collapse
Posted by Ola Hansson on
In soap-gateway-create.sql I had to change "timestamp" to "timestamptz" in the param declaration for sg_namespace__new() and sg_method__new() to be able to import the "interop" and "workspace" services in my PG 7.3.1 installation of OpenACS 4.7.

This might break support for PG 7.2*, though, but I don't know for sure.

I also get:

'Request Error

can't read "diffdata": no such variable'

...when I follow the "Create new namespace" link.

The code says something about "debug"...

/Ola

Collapse
Posted by William Byrne on
Ola, thanks for the early input. I made corrections for the issues you described. Timestamptz took without problems. For now, I removed the link to create a service namespace. Since each WSDL/service/namespace relies heavily on a tcl source code, it was virtually useless to expose the feature at this point.

If you wish to create your own service, take a look at the supplied services 'Workspace', 'Interop', and 'Demo' to see what you need to do. You can park your tcl source files anywhere the server can source files. You simply need to use a namespace like ::sg::myservice and declare your methods with -public access.