InstallService

InstallService["url"]

installs the web service operations in the WSDL description at the URL given.

InstallService["url", "context`"]

installs web service operations, creating functions in the specified context.

Details and Options

  • InstallService defines Wolfram Language functions to call each of the operations in the WSDL description. The names of the Wolfram Language functions will usually be the same as the name specified for the operations.
  • Options that can be given include:
  • "UserName"username for the web service requested
    "Password"password for the web service requested
    "Timeout"number of seconds to wait during installation

Examples

Basic Examples  (3)

Install a web service into a default context:

In[1]:=
Click for copyable input
Out[1]=

Evaluate the web service:

In[2]:=
Click for copyable input
Out[2]=

Install a web service into a custom context:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

Evaluate the web service:

In[3]:=
Click for copyable input
Out[3]=

Install a web service into a default context without placing the context on $ContextPath:

In[1]:=
Click for copyable input
Out[1]=

Evaluate the web service:

In[2]:=
Click for copyable input
Out[2]=

See Also

Import  Install  LoadJavaClass  LoadNetType

Tutorials

Introduced in 2007
(6.0)