Hi there (again),
It took me a while to figure out that it seems to need id and/or name
for it to actually run.. When I try to reach my python https server
providing add(x,y)
it tells me in debug that only http services is supported?! Is this
true. is there then any javascript way to use http. And how is the
certificate issue dealt with?!
I tried all the OpenLazlo official XML-RPC examples, but I cannot get
any to work. It tells me in debug that it is not going for the data,
then it hangs..
Is my remotecall for xml-rpc (Not soap!) correct, I could not find
anything to read.?! It tells me that invoke is unknown object attribute
( I guess I took that from
the freshmeat example..) Still without it, it does not work either..
How would a request an HelloWorld response function?
And then if actually data comes, how do I update a textfield with it?!
textfieldID.setattribute("text", ???);
> <xmlrpc id="s2" name="s2" service="http://127.0.0.1:81" secure="false"
> autoload="true" secureport="443">
>
> <handler name="onload">
> Debug.debug('s2 service loaded');
> Debug.debug('now proxy:');
> Debug.inspect(this.proxy);
> </handler>
>
> <handler name="ondata" args="data">
> Debug.debug('got data: %w', data);
> </handler>
>
> <handler name="onerror" args="error">
> Debug.debug('onerror: %w', error);
> </handler>
>
> <remotecall name="f2" funcname="add" />
>
> </xmlrpc>
>
> <button text="s2" x="20" y="20">
> <handler name="onclick">
> Debug.debug('getting stuff...');
> s2.f2.invoke();
> </handler>
> </button>
THX!
Founder
PS: is it also correct that in html5 I cannot use play mp3?! Any
crossplattform solution in Javascript for it?!
--
Sent from Ubuntu