Invoking a WebService Using UTL_DBWS from RDBMS 11.2 Results in "ORA-29532: Java call terminated by uncaught Java exception:java.lang.IllegalAccessException: java.lang.NoClassDefFoundError"

(Doc ID 1274080.1)

Last updated on FEBRUARY 10, 2017

Applies to:

Web Services - Version 11.1.1.2.0 and later
Information in this document applies to any platform.
*** Checked for relevance on 05-Oct-2012***

Symptoms

After installing the UTL_DBWS PL/SQL package in a database user defined schema for Oracle database 11.2.0.x and invoking a web service from inside the database with following code:

( service_ := sys.utl_dbws.create_service(HTTPURITYPE('http://www.dataaccess.com/webservicesserver/numberconversion.wso?wsdl'), service_qname);)


the following error occurs:

ERROR at line 1:
ORA-29532: Java call terminated by uncaught Java exception:
java.lang.IllegalAccessException: java.lang.NoClassDefFoundError
ORA-06512: at "SYS.UTL_DBWS", line 193
ORA-06512: at "SYS.UTL_DBWS", line 190
ORA-06512: at line 22

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms