The database driver class you listed (com.wm.dd.jdbc.oracle.OracleDriver) is one that can only be used by WM apps such as IS to connect to its internal data stores for such things as process logging, error logging, trading networks, etc.
You need to use one of the classes from the correct Oracle JDBC archive file (zip or jar).
The JDBC Adapter User’s Guide provides documentation and DBMS-vendor specific examples.
Mark
#Integration-Server-and-ESB#webMethods#Adapters-and-E-Standards