Author: darran.lofthouse(a)jboss.com
Date: 2008-07-23 05:35:00 -0400 (Wed, 23 Jul 2008)
New Revision: 7890
Modified:
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/jaxrpc/SOAPFaultHelperJAXRPC.java
Log:
[JBWS-2234] Fix test regression.
Switch to use org.jboss.ws.core.soap.MessageFactoryImpl directly.
Modified:
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/jaxrpc/SOAPFaultHelperJAXRPC.java
===================================================================
---
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/jaxrpc/SOAPFaultHelperJAXRPC.java 2008-07-23
07:27:22 UTC (rev 7889)
+++
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/jaxrpc/SOAPFaultHelperJAXRPC.java 2008-07-23
09:35:00 UTC (rev 7890)
@@ -33,7 +33,6 @@
import javax.xml.rpc.soap.SOAPFaultException;
import javax.xml.soap.Detail;
import javax.xml.soap.DetailEntry;
-import javax.xml.soap.MessageFactory;
import javax.xml.soap.Name;
import javax.xml.soap.SOAPBody;
import javax.xml.soap.SOAPConstants;
@@ -50,11 +49,11 @@
import org.jboss.ws.WSException;
import org.jboss.ws.core.CommonMessageContext;
import org.jboss.ws.core.CommonSOAPFaultException;
-import org.jboss.ws.core.binding.BindingException;
import org.jboss.ws.core.binding.AbstractDeserializerFactory;
+import org.jboss.ws.core.binding.AbstractSerializerFactory;
+import org.jboss.ws.core.binding.BindingException;
import org.jboss.ws.core.binding.DeserializerSupport;
import org.jboss.ws.core.binding.SerializationContext;
-import org.jboss.ws.core.binding.AbstractSerializerFactory;
import org.jboss.ws.core.binding.SerializerSupport;
import org.jboss.ws.core.soap.MessageContextAssociation;
import org.jboss.ws.core.soap.MessageFactoryImpl;
@@ -310,7 +309,7 @@
private static SOAPMessageImpl createSOAPMessage() throws SOAPException
{
- MessageFactoryImpl factory = (MessageFactoryImpl)MessageFactory.newInstance();
+ MessageFactoryImpl factory = new MessageFactoryImpl();
if (isSOAP12() == true)
{
Show replies by date