Forum OpenACS Q&A: Re: Status of SOAP Support

Collapse
4: Re: Status of SOAP Support (response to 3)
Posted by Nick Carroll on
A tarball will be made available (temporarily) on my website untill I can commit it to CVS.

Cheers,
Nick

Collapse
5: Re: Status of SOAP Support (response to 4)
Posted by Orzenil Silva Junior on
HI Nick,

Thanks for made soap-gateway available now. I am very curious about implementing services using soap to access existing instructional resources from digital libraries (as you said in your vision statement).

Your tarball installs fine in my dotlrn-2-1a2 (with pgsql 7.3.5 and aolserver4) but I had error when trying to import unpublished services - interop and workspace - under maintenance section ( soap/admin ).

I think they are only typo errors but could prevent us to appreciate the package. Because there is no soap-gateway in bug-tracker could you evaluate this changes i made? Thank you.

--- /tmp/soap-gateway/tcl/soap-server-lib-procs.tcl    Thu Sep 30 00:40:00 2004
+++ soap-gateway/tcl/soap-server-lib-procs.tcl  Thu Oct 14 10:54:33 2004
@@ -615,10 +615,10 @@
            }
        } elseif { $force } {
            # update
-          error "[soap::server::lib::method_update $mid $method $idl $idl_style $proc $note"]
+          error "[soap::server::lib::method_update $mid $method $idl $idl_style $proc $note]"
        }
    }

    # return namespace id
    return $nid
-}
\ No newline at end of file
+}
--- /tmp/soap-gateway/sql/postgresql/soap-gateway-create.sql    Thu Sep 30 00:41:40 2004
+++ soap-gateway/sql/postgresql/soap-gateway-create.sql Thu Oct 14 11:11:45 2004
@@ -322,9 +322,9 @@
        v_method_id = null;

        -- get namespace count for id
-      select into v_method_id method_id
+      select namespace_id into v_method_id
        from sg_namespaces
-      where namespace_id = p_namespace_id and lower(method) = lower(p_method);
+      where namespace_id = p_namespace_id and lower(service) = lower(p_method);

        -- fix up
        if v_method_id is null then

Collapse
7: Re: Status of SOAP Support (response to 5)
Posted by Nick Carroll on
Thanks for that Orzenil, I will apply those fixes now.  I'm still waiting on a CVS account.  Might have to ask somebody else, as Don must be busy.
Collapse
8: Re: Status of SOAP Support (response to 7)
Posted by Nick Carroll on
Orzenil, I have already made those fixes in my own cvs repository.  The tarball you downloaded must contain an older version.  I will check out a more recent version and make that tarball available.