With the IBM® Database Add-Ins for Visual Studio, you can use the IBM Data Web Service Designer to create IBM data Web services that expose database operations (SQL SELECT and DML statements, XQuery expressions, or calls to procedures and functions) to client applications.
Web services accept XML messages or URL-encoded parameter strings as requests for database operations. (In the rest of this documentation, XML messages and URL-encoded parameter strings are both referred to as "messages," except where a distinction between the two is necessary.) Web services return results and result sets in XML messages. For operations that perform SQL inserts, updates, and deletes, Web services return a count of the number of new, changed, or deleted rows.
A Web service performs the following actions when it receives a message that contains a request:
XML messages that request an operation and XML messages that return the results of an operation are tagged according to a default XML schema for each operation. This default schema performs the following functions:
After you create a Web service and save it, the designer automatically deploys the Web service to a local Web server. Web services are deployed as Java™ Platform, Enterprise Edition (Java EE) Web Archive (WAR) files.
Developing and Deploying IBM Data Web Services | Supported Web Servers, SOAP Engines, and Databases | Supported Message Protocols | Support for DB2 XML Data Type in IBM Data Web Service Operations | Mapping of SQL and JDBC Data Types to XML Data Types