With the IBM® Database Add-Ins for Visual Studio, you can use the IBM Web Service Function Designer to create DB2® functions that can access Web services.
Before you can create Web service functions on a DB2 database, you must enable the database to use the SOAP requester functions. You need to do this only once on each database on which you create Web service functions.
To enable SOAP functions for Web service functions:
db2enable_soap_udf -n dbName
[-u userID] [-p password] [-force]
You can now create Web service functions on the databases for which you enabled the SOAP requestor functions.
Developing Web Service Functions | Creating Web Service Functions | Web Service Functions