My Oracle Support Banner

[Weblogic Workshop 10.3]- @UseWLW81BindingTypes() For 8.1 Compatability- weblogic.wsee.codec.CodecException: Unable to find xml element (Doc ID 1633317.1)

Last updated on OCTOBER 25, 2021

Applies to:

Oracle Workshop for Weblogic - Version 10.3 to 10.3 [Release AS10gR3]
Information in this document applies to any platform.

Symptoms

Upgrading a webservice from 8.1 to 10.3. We are encountering an issue with backwards compatibility when using the @UseWLW81BindingTypes annotator. Specifically, when using @UseWLW81BindingTypes to allow the input params to the webservice call in 10.3 to be optional (minOccurs=”0” in the WSDL). This works on atomic data types in the web method as well as String. However, an array of objects (i.e. MyArray[]) is set up as required input in 10.3, where in 8.1 it was not. This is causing an issue with backwards compatibility for web service clients. Note, the input params (params into the web method) are not their own object or in their own namespace. Client requests fail with below trace

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.