Stefan wrote:
Am 27.11.2006 um 19:10 schrieb Stefan:
which requests its dset by means of this request [swfload.php is my
loader]:
>>>
/laszlo/swfload.php?nsprefix=false&trimwhitespace=false&sendheaders=false&headers=undefined&reqtype=GET&timeout=30000&fpv=undefined&ccache=undefined&lzt=xmldata&url=http%3A%2F%2F127%2E0%2E0%2E1%3A8888%2Flaszlo%2Fgetemployees%2Ejsp&%5F%5Flzbc%5F%5F=1164649310629%2E49
<<<
Does anybody has a good pointer, which explains what each parameter
means and
what exactly is expected to come back from the server?
By reverse engireering the Java source, I found this format for XML -
likely to be
a very simple case, I suppose:
<resultset s="0"><root dset="xml">
<phonebook>
<employee>
<firstName>Aimee</firstName>
<lastName>Taylor</lastName>
<phone>415-435-6645</phone>
<email>[EMAIL PROTECTED]</email>
</employee>
</phonebook>
</root></resultset>
Still, I'm happy to get details regarding the LZX <-> LPS connection API
for
LZX datasets [SOAP, XML etc.].
Hi Stefan,
Having a version of the proxy server that doesn't require Java
(swfload.php) will be super-great. And it gave me a good excuse to put
up a wiki page documenting the LPS server protocol:
http://wiki.openlaszlo.org/LPS_server_API
As soon as we get 4.0 beta out the door we can write up more of the details.
It looks like you have enough to go on to proxy XML data requests. It
would be great to add support for media requests - let me know if you
need more documentation or have specific questions.
And of course, please update and comment on the wiki as you see fit.
Also, I can link to your work from the appropriate wiki page(s) if you'd
like. Thanks for the contribution!
--
Regards,
Max Carlson
OpenLaszlo.org