Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search


From: gchiu:compkarori at: 12-Jun-2001 10:59

Hope this formats okay :-) Grabs the current exchange rate for England/Japan, and taken from Oh, and I have no idea how SOAP works ! Rebol [] do soap-url: soap-request: {<SOAP-ENV:Envelope xmlns:SOAP-ENV="" xmlns:xsi="" xmlns:xsd=""> <SOAP-ENV:Body> <ns1:getRate xmlns:ns1="urn:xmethods-CurrencyExchange" SOAP-ENV:encodingStyle=""> <country1 xsi:type="xsd:string">England</country1> <country2 xsi:type="xsd:string">Japan</country2> </ns1:getRate> </SOAP-ENV:Body> </SOAP-ENV:Envelope>} replace/all soap-request newline "" tmp: http-tools/soap soap-url reduce [ "" soap-request ] parse tmp/content [ thru <Result xsi:type='xsd:float'> copy result to </Result> to end (print [ "England/Japan Exchange rate: " result] ) ] -- Graham Chiu