Wolfram ResearchProductsPurchasingServices & ResourcesAbout UsOur Sites
What is New in Mathematica 5.1 Products
-----
 /
Mathematica
*String Manipulation
*DatabaseLink
*Binary Data I/O
*Additional Import/Export Formats
<Web Services
*Large-Scale Graph Layout
*Array Plotting
*Enhanced Linear Algebra Performance
*Piecewise
*Integration over Regions
*Event Handling
*Symbolic Differential Equations
*Cluster Analysis
*EquationTrekker
*MathematicaMark2004
*GUIKit
*Summary of Features
*Ask about this page
PreviousNext

Integrated Web Services Support

See What's New in Wolfram Mathematica 6

Mathematica can now automatically interact with the increasing number of websites that provide web services, with web service functions appearing and operating just like built-in Mathematica functions.

The standard SOAP protocol is fully supported, as well as automatic discovery and installation of web service functionality through WSDL.




More
Details

 Get complete example
Example: Currency Rate Function

In[1]:=
InstallService["http://www.xmethods.net/sd/2001/CurrencyExchangeService.wsdl"]

Installing an external web service gives Mathematica a function getRate that looks up current exchange rates:

In[1]:=getRate["Finland", "Japan"]

Out[2]:= 23.2462

A few minutes later, the rate has changed slightly:

Out[3]:= 22.9165



 Get complete example
Example: Searching Amazon

Using Amazon.com's web services interface, searches can be made from within Mathematica.

For example, evaluating AuthorSearch["Stephen Wolfram", 1], Mathematica reports the results in an appropriately grouped notebook.



 Get complete example
Example: TerraServer Explorer

TerraServer offers satellite maps of the U.S. through a web service that is called up in the following example, in which Mathematica uses an interface constructed with GUIKit.

TerraServer Explorer



Related Links
Documentation  Documentation
Web Services Package
  
Additional Information Additional Information
Web Services Package Connection Technologies
Technical Presentation: Web Services Package: Integrating Mathematica with the Web

Back to Top PreviousNext



 © 2008 Wolfram Research, Inc.  Terms of Use  Privacy Policy | [ja]