| || |
|Enable DB2 for Web service user defined functions||Page 1 of 3|
To use Web services consumer user defined functions, you first have to create helper functions
on your database that are required for this functionality.
Follow the steps below.
- Enable DB2 for XML Extender.
To enable the sample database for XML Extender, run the following command from a DB2 command prompt:
dxxadm enable_db sample
Replace sample with the appropriate name if you choose to work with another database.
- Enable DB2 for Web service user defined functions.
To enable the sample database for Web service user defined functions, run the following command from a DB2 command prompt:
db2enable_soap_udf -n sample -u db2admin -p db2admin.
Replace sample, username, and password with an appropriate database name, your DB2 username and password.