({{, (RefLink[InstallService, paclet:ref/InstallService])["url"] 
installs the web service operations in the WSDL description at the URL given.}, {, (RefLink[InstallService, paclet:ref/InstallService])["url", "context`"] 
installs web service operations, creating functions in the specified context.}})

OpenersNotesSection(Spacer1)Details and Options

(RefLink[InstallService, paclet:ref/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:

OpenersPrimaryExamplesSection(Spacer1)Examples  (3)

OpenersExampleSection0(Spacer1)Basic Examples  (3)

Install a web service into a default context:

InstallService["http://localhost:8080/webMathematica/Examples/WebServices/Hello.m?wsdl"]

Evaluate the web service:

HelloWorld[]

Install a web service into a custom context:

InstallService["http://localhost:8080/webMathematica/Examples/WebServices/Echo.m?wsdl", "EchoService`"]

Context[EchoString]

Evaluate the web service:

EchoString["Hello"]

Install a web service into a default context without placing the context on (RefLink[$ContextPath, paclet:ref/$ContextPath]):

InstallService["http://localhost:8080/webMathematica/Examples/WebServices/Plot.m?wsdl",AllowShortContext->False]

Evaluate the web service:

ImportString[FromCharacterCode[PlotServiceService`PlotServicePort`PlotString["Sin[x]",10][[1]]], "GIF"]

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[Import, paclet:ref/Import])  ▪  (RefLink[Install, paclet:ref/Install])  ▪  (PackageLink[LoadJavaClass, paclet:JLink/ref/LoadJavaClass, JLink Package Symbol])  ▪  (PackageLink[LoadNetType, paclet:NETLink/ref/LoadNETType, NETLink Package Symbol])}})}})

({{DocumentationFooterIconsRelatedTutorial.png, ({{Tutorials}, {▪(RefLinkPlain[Internet Connectivity, paclet:tutorial/InternetConnectivity])}, {▪(RefLinkPlain[Web Services Link User Guide, paclet:WebServices/tutorial/Overview])}})}})

({{DocumentationFooterIconsRelatedGuide.png, ({{Related Guides}, {▪(RefLinkPlain[Calling External Programs, paclet:guide/CallingExternalPrograms])}, {▪(RefLinkPlain[Web Operations, paclet:guide/WebOperations])}})}})