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