View Full Version : xml-rpc example?
whisperstorm
11-05-2003, 01:34 PM
Is there an example somewhere of using laszlo with xml-rpc? for example something like this:
http://www.xmethods.net/ve2/ViewListing.po?key=uuid:C62AB323-CC0C-ADDF-9373-9655C18B9275
antun
11-06-2003, 08:58 AM
I don't think there's an example, but if you can point me to the HTML page that returns the XML maybe I could help you.
How exactly do you query an XML-RPC web service?
-Antun
whisperstorm
11-06-2003, 10:12 AM
Here's a link to the spec:
http://www.xmlrpc.com/spec
In short:
An XML-RPC message is an HTTP-POST request. The body of the request is in XML. A procedure executes on the server and the value it returns is also formatted in XML.
Can laszlo send specific information via post?
antun
11-06-2003, 12:44 PM
By the sounds of it, you need to be able to send unparamaterized content in the body of the HTTP POST request for this to work.
i.e. What's missing in Laszlo is some sort of setPostData() API to the dataset. I have filed a feature request for this.
Unfortunately you can't do this right now (1.0.x). However remember that you can always write a script on your server that will handle your request and forward it onto the RPC server, then forward the response to your Laszlo app.
-Antun
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.