setWebServiceLocation()

The serviceLib.setWebServiceLocation() system function sets the URL that provides access to a Web (SOAP) service.

If the service-client binding for the service is not specified as Web, EGL throws a ServiceBindingException. For information about service-client binding, see “Service access in EGL.”

Syntax

  serviceLib.setWebServiceLocation(variable Service | Interface in, 
  url, STRING in)
variable
A variable that your code uses to access the service. This is a service or interface variable.
url
The URL of the service, as in the following example:
  "http://www.ibm.com/myService"

Feedback