getWebEndPoint()

The ServiceLib function getWebEndPoint returns the URL that provides access to a Web service.

  ServiceLib.getWebEndPoint(variable ServiceOrInterface in)
  returns (URL String)
variable
A variable that your code uses to access the service. The variable may be of type Service or Interface. In the latter case, the interface type must be BasicInterface.
URL
The returned URL. The format is equivalent to that of the field endpoint in the complex property @WebBinding, as used for Service parts. Here is an example:
  http://www.ibm.com/myService

An exception of type ServiceBindingException occurs if the service has a different kind of binding than is required by the function.

Related concepts
EGL interfaces
EGL services and Web services

Related tasks
Creating an EGL Interface part
Creating an EGL Service part
Creating an Interface part from a Service part

Related reference
EGL library ServiceLib
EGL system exceptions
setWebEndPoint()

Feedback
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.