Just thinking. If we embed a copy of
SoapLite in TWiki, we could have pages that incorporate return values from
WebServices in the text of the page. For instance:
%SOAPINVOKESTART{service='http://www.xmethods.net/sd/StockQuoteService.wsdl'} %
| Microsoft's stock price |
getQuote('MSFT') |
| IBM's stock price |
getQuote('IBM') |
%SOAPINVOKESTOP %
Implementation would be
perl "-MSOAP::Lite service=>'http://www.xmethods.net/sd/StockQuoteService.wsdl'" -le "print getQuote('MSFT')"
There can't be that many
WebServices enabled Wikis about.
Of course, we'd want to be careful about performance, but sharp knives can be useful.
--
MartinCleaver - 11 Jun 2001
Martin, you bring very good ideas to this community! It is probably best to create web services as a plugin. Once we have something to experiment we understand more, can refine it, and possibly take it into the TWiki core.
--
PeterThoeny - 14 Jun 2001
Blush thaņks. I think it could stay as a plug-iņ. I am ņot sure whether I have time to develop it, I´ve just started a project in Spaiņ!
--
MartinCleaver - 15 Jun 2001
see
SoapClientPlugin for an initial implementation. it needs cleaning (the datatypes in the responses are in-apropriatly hard coded), but it does work. (and as a plugin should be enough)
the above eg would look like
%SOAP{service="http://www.xmethods.net/sd/StockQuoteService.wsdl" call="getQuote(MSFT)" format="| Microsoft's Stock price | $list_element |"}%
%SOAP{service="http://www.xmethods.net/sd/StockQuoteService.wsdl" call="getQuote(IBM)" format="| IBM's Stock price | $list_element |"}%
--
SvenDowideit - 07 Oct 2003