SOAP response using weblogic is not valid in xDM 3.3

Problem overview

Using xDM 3.3 with Weblogic 12.1.2, the response format is not valid as the namespace is defined twice with different formats: "xmlns=" and "xmlns:ns1=":

This issue is caused by SAAJ weblogic implementation.

Expected Results

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header/>
<soap:Body>
<ns1:getXXX_GoldenData_ListResponse xmlns:ns1="http://www.semarchy.com/xml/ws/1.0/data/MDM">
<return>
<XXX_GoldenData_Record>
<ClassName>XXX</ClassName>

Solution

As SAAJ is included in JDK, you can force the application to use it instead of weblogic implementation, by adding this system property to weblogic :

-Dorg.apache.cxf.binding.soap.messageFactoryClassName=com.sun.xml.internal.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl