Author: alessio.soldano(a)jboss.com
Date: 2010-10-04 08:35:41 -0400 (Mon, 04 Oct 2010)
New Revision: 13053
Modified:
stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/saaj/SOAPConnectionImpl.java
Log:
[JBWS-3084] Use DYNAMIC_SOAP_PROTOCOL when building up a message in the new soap
connection impl
Modified:
stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/saaj/SOAPConnectionImpl.java
===================================================================
---
stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/saaj/SOAPConnectionImpl.java 2010-10-04
10:24:07 UTC (rev 13052)
+++
stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/saaj/SOAPConnectionImpl.java 2010-10-04
12:35:41 UTC (rev 13053)
@@ -35,6 +35,7 @@
import javax.xml.soap.MimeHeader;
import javax.xml.soap.MimeHeaders;
import javax.xml.soap.SOAPConnection;
+import javax.xml.soap.SOAPConstants;
import javax.xml.soap.SOAPException;
import javax.xml.soap.SOAPMessage;
@@ -166,7 +167,7 @@
}
}
- MessageFactory msgFac = MessageFactory.newInstance();
+ MessageFactory msgFac =
MessageFactory.newInstance(SOAPConstants.DYNAMIC_SOAP_PROTOCOL);
return msgFac.createMessage(mimeHeaders, ins);
}
catch (Exception ex)