PLS-00306: Wrong Number or Types of Arguments When Using UTL_DBWS (Doc ID 557176.1)

Last updated on MARCH 20, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 10.1.0.5 and later
Web Services - Version 10.1.3.1.0 and later
Information in this document applies to any platform.
***Checked for relevance on 26-Jun-2013***
Oracle Database 10.1.0.5


Symptoms

When trying to run UTL_DBWS web service in an Oracle 10.1.0.5 database, the following error message is received:

show error;
Errors for FUNCTION GET_JOKE:

LINE/COL ERROR
-------- -----------------------------------------------------------------
12/1 PL/SQL: Statement ignored
12/13 PLS-00306: wrong number or types of arguments in call to
'CREATE_SERVICE'

13/1 PL/SQL: Statement ignored
13/10 PLS-00306: wrong number or types of arguments in call to
'CREATE_CALL'

14/1 PL/SQL: Statement ignored
14/14 PLS-00302: component 'SET_TARGET_ENDPOINT_ADDRESS' must be
declared

LINE/COL ERROR
-------- -----------------------------------------------------------------

30/1 PL/SQL: Statement ignored
30/12 PLS-00306: wrong number or types of arguments in call to 'INVOKE'


Changes

Using dbws-callout-utility-10131.zip downloaded from
http://download.oracle.com/technology/sample_code/tech/java/jsp/dbws-callout-utility-10131.zip

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