WLS 10.3.4 - JAXB isNil() becomes "true" after unmarshaling

(Doc ID 1340023.1)

Last updated on JUNE 09, 2016

Applies to:

Oracle Weblogic Server - Version: 10.3.4 and later   [Release: and later ]
Information in this document applies to any platform.


After upgrading from WLS 10.3.3 to WLS 10.3.4,noticing isNil() becoming "true" after unmarshaling.
If you are using JAX-WS and the SOAP message contains null value, you will notice this issue.

Please refer to the attached test case
For example: 
SOAP Request
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ser="http://something/Services" xmlns:som="http://something"
<A1 xsi:nil="true"/>

SOAP Response
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<ns2:TestDataResponse xmlns:ns2="http://something/Services">Issue
found B1 tag with value but isNil is true.</ns2:TestDataResponse>

This was not a problem and was working fine in WebLogic Server 10.3.3 and before.


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