When Object Type has a Member Method, Toplink Database Web Service Is Not Generated Correctly (Doc ID 1992551.1)

Last updated on AUGUST 16, 2016

Applies to:

Oracle TopLink - Version 12.1.2.0.0 and later
Information in this document applies to any platform.

Symptoms

A Web Service is generated with JDeveloper (Studio Edition Version 12.1.2.0.0) with <Patch 18359977> applied.
It is generated using Toplink DB Web Service Provider generation in JDeveloper following these steps :

1/ Create an object type (my_type) that contains constructors and member methods
and a function returning this type under a database server schema :

1.1 Here is the function returning my_type  :

2/ In JDeveloper, create Custom Application (File / Applications) with default values
3/ Under Project / Business Tier/ WebServices / Toplink DB Web Service Provider
4/ Choose Generate PL/Sql web service provider and click Next
5/ Select DB connection and accept the defaults and click Next
6/ Select the program unit "get_rec" and Finish

After deploying the WebService into WLS (12.1.2 ), the problem is that when consuming this WebService by using the Test WebService : no response is obtained.

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