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,

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



-- 
Vriendelijke groeten,

Jan Smets
Doolstraat 18
2275 Gierle
Tel.: 0476/96.36.02


Back to the top