I cannot find the "tests" within the SOAP directory, but did find a XUL
test file in the XML-RPC directory. I'll have a look at that.
One recurring problem that I'm having with any of this (XPCOM, that is),
is that I'm unable to create any components. For instance, if, from
within a Javascript, I do something like:
var cbObject = Components.classes["@mozilla.org/widget/clipboard;1"];
Nothing happens. If I wrap some testing/examination code around this
thing, I invariably get an error that states something to the effect of
"Permission denied to get property UnknownClass.classes"
This suggests to me that I'm missing something fundamental here. I've
downloaded the latest Mozilla. I have also tried adding the form:
netscape.security.PriviledgeManager.enablePriviledge("UniversalXPConnect");
in the preamble of my functions, but to no avail. In fact, examining
the error returned by this form suggests that no such "property" is
foundon the PriviledgeManager.
So, unless or until I can create a component, I cannot hope to succeed
with any of this.
I am hoping that you will see the obvious "problem" here and point me in
the right direction.
Thanks,
TomR
Rick Parrish wrote:
> Tom,
>
> Look at the XML-RPC and SOAP components.
> There is working sample JavaScript in the
> test directies of these two components.
>
> Also, for a "no/low code" solution, consider
> creating a XUL app where your host is just
> a plain old HTTP style web server.
>
> Regards,
> Rick