Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-users] EclipseLink 2.4.1 (DBWS) - Redeploying a DBWS webservice on a PL/SQL package with a modified return data type

Hi Jan,

I did a quick search but couldn't find anything related to your issue.  There are a number of WebLogic forums on Oracle OTN - have you tried there?

--Dave


On 17/08/2012 5:03 AM, Jan Smets wrote:
Hi,

Has somebody any suggestions for this problem?

Kind regards,
Jan

2012/8/10 Jan Smets <jan.smets7@xxxxxxxxx>:
Hi,

I created a DBWS webservice based on a Oracle (10g) PL/SQL package, by
using DBWS builder. The PL/SQL function exposed as a webservice call
has a Object type return type.
As I understand it, EclipseLink-DBWS translates this Oracle object
type to an Java type when calling the PL/SQL function over JDBC and
translates the Java object to XML to be encapsulated in a SOAP
message.

The problem is that when changing the specification of the return type
of the Oracle PL/SQL function, regenerating the webservice (WAR-file)
with DBWS builder and redeploying it on WebLogic 10.3.6, calling the
webservice results in a java.lang.reflect.InvocationTargetException.

Restarting the WebLogic server (or the appropriate managed server)
resolves the problem, what shouldn't be a problem in a development
environment, but is not always possible in a production environment.

The problem seems to be that redeploying the webservice doesn't result
in the XR Operations/Queries being recreated and as a result the old
result type definition is used.

Has anybody a solution for this problem?

Kind regards,
Jan Smets



Back to the top