Author: jason.greene(a)jboss.com
Date: 2007-03-08 10:59:39 -0500 (Thu, 08 Mar 2007)
New Revision: 2551
Modified:
trunk/jbossws-core/src/java/javax/xml/soap/SOAPFactory.java
trunk/jbossws-core/src/java/org/jboss/ws/core/soap/NodeImpl.java
Log:
Fix element creation for SOAPFactory tests
Modified: trunk/jbossws-core/src/java/javax/xml/soap/SOAPFactory.java
===================================================================
--- trunk/jbossws-core/src/java/javax/xml/soap/SOAPFactory.java 2007-03-08 15:11:31 UTC
(rev 2550)
+++ trunk/jbossws-core/src/java/javax/xml/soap/SOAPFactory.java 2007-03-08 15:59:39 UTC
(rev 2551)
@@ -94,7 +94,7 @@
public static SOAPFactory newInstance(String protocol) throws SOAPException
{
SAAJMetaFactory saajFactory = SAAJMetaFactory.getInstance();
- SOAPFactory factory =
saajFactory.newSOAPFactory(SOAPConstants.DYNAMIC_SOAP_PROTOCOL);
+ SOAPFactory factory = saajFactory.newSOAPFactory(protocol);
if (factory == null)
throw new SOAPException("Failed to to determine the SOAPFactory
implementation class");
Modified: trunk/jbossws-core/src/java/org/jboss/ws/core/soap/NodeImpl.java
===================================================================
--- trunk/jbossws-core/src/java/org/jboss/ws/core/soap/NodeImpl.java 2007-03-08 15:11:31
UTC (rev 2550)
+++ trunk/jbossws-core/src/java/org/jboss/ws/core/soap/NodeImpl.java 2007-03-08 15:59:39
UTC (rev 2551)
@@ -610,8 +610,7 @@
public boolean isEqualNode(Node arg)
{
- // FIXME isEqualNode
- throw new NotImplementedException("isEqualNode");
+ return domNode.isEqualNode(arg);
}
public boolean isSameNode(Node other)
Show replies by date