Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

PLS-00311: incomplete or malformed

ora_1978Mar 19 2014 — edited Mar 19 2014

What is wrong the below code.

SQL> CREATE or REPLACE FUNCTION taxResponse RETURN varchar2
  2  AS LANGUAGE JAVA
  3  NAME 'taxengine.taxResponse_main.taxResponse(TaxCalculationRequestType taxRequest) return java.
lang.String';
  4  /

Warning: Function created with compilation errors.

SQL> show errors;
Errors for FUNCTION TAXRESPONSE:

LINE/COL ERROR
-------- -----------------------------------------------------------------
0/0      PL/SQL: Compilation unit analysis terminated
3/1      PLS-00311: the declaration of
         "taxengine.taxResponse_main.taxResponse(TaxCalculationRequestType
         taxRequest) return java.lang.String" is incomplete or malformed

SQL>

Vinodh

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 16 2014
Added on Mar 19 2014
3 comments
2,200 views