Tags:
create new tag
view all tags
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

Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2003-10-07 - SvenDowideit
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.