1. A computer implemented method for dynamic generation of WSDL documents based on database metadata, the method comprising: resolving database endpoint metadata by querying based on parameters about a request; collecting, from the database endpoint metadata, a list of entry points into the database that have been mapped; creating a first collection of unique XML schema namespaces, with one entry corresponding to each unique XML schema namespace for any arbitrary user-defined XML schema definitions required by a parameter to a database entry point; creating a second collection of unique XML schema namespaces, with one entry corresponding to each unique XML schema namespace for a database entry point; emitting wrapper elements for a WSDL document; emitting arbitrary user-defined XML Schema definitions required by parameters to the database entry points, wherein all duplicated user-defined types in a single XML schema namespace are represented by a single user-defined type; emitting, for each database entry point in the collection, the XML schema definition for the entry point; emitting WSDL document definitions for messages, port types, and bindings for each entry point; and emitting service entry definitions for the endpoint; wherein the completion of all emitting activities generates a WSDL document for said database entry points.