IBM Database Add-Ins for Visual Studio  

Enabling SOAP Functions for Web Service Functions  (DB2)

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:

  1. Quit Visual Studio if it is running.
  2. Open an MS-DOS window. On your desktop, click Start > Programs > Accessories > Command Prompt.
  3. At the DOS prompt, enter the following command for each DB2 database on which you want to create Web service functions:

       db2enable_soap_udf -n dbName [-u userID] [-p password] [-force]

  4. Close the MS-DOS window.
  5. Start Visual Studio.

You can now create Web service functions on the databases for which you enabled the SOAP requestor functions.

See Also

Developing Web Service Functions | Creating Web Service Functions | Web Service Functions


.NET Development Forum   DB2 FAQs

© Copyright IBM Corporation 2002, 2019. All Rights Reserved.