Index: appserver/admin/template/src/main/resources/config/domain.xml
===================================================================
--- appserver/admin/template/src/main/resources/config/domain.xml (revision 63569)
+++ appserver/admin/template/src/main/resources/config/domain.xml (working copy)
@@ -227,6 +227,8 @@
-Dfelix.fileinstall.disableConfigSave=false
-XX:NewRatio=2
+
+ -Dcom.ctc.wstx.returnNullForDefaultNamespace=true
Index: appserver/tests/quicklook/wsit/jsr109tester/src/fromjava/server/AddNumbers.java
===================================================================
--- appserver/tests/quicklook/wsit/jsr109tester/src/fromjava/server/AddNumbers.java (revision 63569)
+++ appserver/tests/quicklook/wsit/jsr109tester/src/fromjava/server/AddNumbers.java (working copy)
@@ -40,6 +40,8 @@
package fromjava.server;
+import javax.xml.stream.XMLInputFactory;
+
/**
* Simple Webservice to be deployed using jsr109
*/
@@ -47,7 +49,13 @@
public class AddNumbers {
public int addNumbers (int number1, int number2) {
+
+ // verify the stax tck property is set on woodstox by default
+ if (!(Boolean)XMLInputFactory.newFactory().getProperty("com.ctc.wstx.returnNullForDefaultNamespace")) {
+ throw new IllegalStateException("Woodstox does not have required stax tck com.ctc.wstx.returnNullForDefaultNamespace property set.");
+ }
+
return number1 + number2;
- }
-
+ }
+
}