"org.eclipse.persistence.exceptions.XMLMarshalException Exception Description: No descriptor found while unmarshalling element mapped to attribute second" On Web Service When Passing Empty Strings As Object (Doc ID 1545171.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle WebLogic Server - Version 12.1.1.0 and later
Information in this document applies to any platform.

Symptoms

On our application I need to transfer Pairs of (String, Object) using a web service.
When the Object is an empty string (""), the application fails with the error:

It works when its other types of objects and when it's non-empty strings.

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