Author: alessio.soldano(a)jboss.com
Date: 2008-11-18 03:45:28 -0500 (Tue, 18 Nov 2008)
New Revision: 8751
Modified:
stack/native/branches/asoldano/modules/core/src/main/java/org/jboss/ws/core/soap/SOAPFactoryImpl.java
Log:
Use SOAPFactotyImpl's own method when calling from itself
Modified:
stack/native/branches/asoldano/modules/core/src/main/java/org/jboss/ws/core/soap/SOAPFactoryImpl.java
===================================================================
---
stack/native/branches/asoldano/modules/core/src/main/java/org/jboss/ws/core/soap/SOAPFactoryImpl.java 2008-11-18
08:44:41 UTC (rev 8750)
+++
stack/native/branches/asoldano/modules/core/src/main/java/org/jboss/ws/core/soap/SOAPFactoryImpl.java 2008-11-18
08:45:28 UTC (rev 8751)
@@ -118,8 +118,9 @@
String prefix = domElement.getPrefix() != null ? domElement.getPrefix() :
"";
String nsURI = domElement.getNamespaceURI() != null ? domElement.getNamespaceURI()
: "";
- SOAPFactory factory = SOAPFactory.newInstance();
- SOAPElement soapElement = factory.createElement(localName, prefix, nsURI);
+// SOAPFactory factory = SOAPFactory.newInstance();
+// SOAPElement soapElement = factory.createElement(localName, prefix, nsURI);
+ SOAPElement soapElement = createElement(localName, prefix, nsURI);
if (domElement instanceof Element)
DOMUtils.copyAttributes(soapElement, (Element)domElement);
Show replies by date