Basics of an ABL client to consume Web services
- Last Updated: January 13, 2026
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
You have obtained, by one of the methods described in Distributing your WSDL file, the WSDL file for the Web service that your ABL client will consume. You run the WSDL Analyzer on the file and get pages of sample ABL code. The samples cover all the necessary steps to consume the Web service.
As shown in Sample of consuming a SOAP Web service, an ABL client does the following to consume a Web service:
- Connects an ABL server object to the Web service using the
CONNECT( )method, specifying the location of the WSDL file for run-time access and the name of a port type on the server. - Creates a procedure object and associates it with the Web service using the
RUN...SETsyntax. - Invokes a Web service operation using the
RUN...INsyntax, passing in any necessary parameters. - Handles any errors or return values.
- Deletes the procedure object using
DELETE PROCEDUREwhen it is no longer needed. - Unbinds the Web service from the ABL server object using the
DISCONNECT( )method when all processing is complete. - Deletes the ABL server object using
DELETE OBJECTwhen it is no longer needed.
See the OpenEdge Development: ABL Reference guide for more information on the methods and statements listed above.
You can find sample code to cover this process in the WSDL Analyzer's output. The connection details Figure 2 and operation details Figure 3 sections of the Port type page provide most of these code samples.