To access or define a Web service, you must have the WSDL description created by the
service provider. You can use the WSDL description to determine the operations of the Web Service to
use in your BDL program, the required parameters, and the return values.
-
Right-click an Application, folder or library node in Project Manager and
select Add Web Service.
The Web Services Wizard displays.
-
Choose between:
-
Client Consuming WSDL - to retrieve the WSDL information and generate a . 4gl file
containing the BDL functions for the operations in the WSDL, which can be called by a
GWS client
application.
-
Server Implementing WSDL - to retrieve the WSDL information and generate a 4gl file
(GWS Server
Application) containing the BDL functions to create and publish a Web Service which can be accessed
over the web.
The Web Services
Wizard guides you through the steps to add the necessary service information to your
application.