QueueMetrics > Scripting QueueMetrics
Constructing a raw HTML request
jit:
I'm looking to communicate with the XML-RPC from an environment other than the ones with demo code, a non-web one. I'm more familiar with making SOAP calls, but my understanding of what's happening here is that we're simply building an XML request, sending it to QM, and then parsing the XML response.
Is there any documentation anywhere as to what a raw HTML request to the XML-RPC service would look like?
QueueMetrics:
You would better be using one of the many libraries around that do the wrapping just for you.... no sense in reinventing the wheel. Which language are you using?
jit:
Using 4D. I got it working with the Python code, so I can see what you mean. The parsing is a little complicated.
Thanks for the support. :)
QueueMetrics:
What is 4D? it is strange that there is no XML-RPC library for it.....
QueueMetrics:
If you want to write it from scratch, see http://www.scottandrew.com/xml-rpc/ - there is quite a bit of material.
QM uses a very simple tabular model for XML-RPC response data, so parsing the return data should be quite easy as long as you have support for XML.
Navigation
[0] Message Index
[#] Next page
Go to full version