[RDF] Simple Object Access Protocol, anyone?
Stefan Andersson
stefan@c64.org
Tue, 15 Aug 2000 23:17:32 +0200
On popular demand:
Jonas, how difficult would it be to do the following in the fanatically
flexible 'Practical Extraction and Reporting Language'?
a) Wrapping STDOUT and the return-value of a process initiated thru CGI
in a bit more STDOUT on the form:
<result>
<value>
{return-value}
</value>
<output>
{STDOUT output}
</output>
</result>
b) Chaining a function call to an URL, so all the calls to
funktion(param1, param2)
results in:
- an POST access to the chained URL:en with the following content:
<request>
<parameter>
{param1}
</parameter>
<parameter>
{param2}
</parameter>
</request>
and taking the result as of a) above, returning it as the function
result.
c) Making an function in a CGI-script compatible with a) and b)
Everything of course seamless, preferrably defining a function with
something like 'sub funktion REMOTE (url)', to chain it to the URL, and
'USE Wraf::Remote' in the CGI-Script.
Optionally - an packet#function - construct to collect multiple
functions in a simgle file.
Catch my drift?
/Stefan