Community
Participate
Working Groups
When someFunc is overloaded (i.e. appears multiple time in a package with different arguments): PACKAGE pkg_with_overloaded_methods IS FUNCTION someFunc(A VARCHAR2) RETURN VARCHAR2; FUNCTION someFunc(A VARCHAR2, B VARCHAR2 := 'BBB') RETURN VARCHAR2; FUNCTION someFunc(A VARCHAR2, B VARCHAR2 := 'BBB', C VARCHAR2 := 'CCC') RETURN VARCHAR2; ... There is a problem representing this in WSDL - it does not support overloading. It may be possible to do some sort of 'name mangling' (add overlay number to operation); however, this is likely to require changes to the work planned for bug 290156
Created attachment 191159 [details] Proposed fix.
Created attachment 191160 [details] Supporting test(s).
Created attachment 191216 [details] Proposed fix v2 - reverted a number of formatting changes to make diff less complex
Created attachment 191548 [details] Proposed fix v3
Created attachment 191549 [details] Supporting test v2
Created attachment 191927 [details] Proposed fix v4
Created attachment 191928 [details] Supporting tests
Reviewed by: michael.norman@oracle.com Tests: all unit tests pass as expected; dbws\testing\visit\OverloadedPLSQLStoredProcedureTestSuite; dbws\testing\visit\OverloadedPLSQLStoredProcedureSimpleArgsTestSuite Revision: 9185
Note that for two PL/SQL procs, GetEmp(FOO IN VARCHAR2) GetEmp(FOO IN VARCHAR2, BAR IN VARCHAR2) the corresponding .wsdl entries will be in the format 'GetEmp1xxx' and 'GetEmp2xxx'
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink