diff options
author | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2009-08-07 23:48:54 +0000 |
---|---|---|
committer | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2009-08-07 23:48:54 +0000 |
commit | b9b2c118598f00caa4ca6846480180619fa51147 (patch) | |
tree | 0fa78db1698ad45609656d284bfa1b6610fd5569 /java/sca/modules/interface-java-jaxws/src | |
parent | 7ecc9e29daf725b662362bdf7880baae822a68fd (diff) |
Fix NPE
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@802271 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/modules/interface-java-jaxws/src')
-rw-r--r-- | java/sca/modules/interface-java-jaxws/src/test/java/org/apache/tuscany/sca/interfacedef/java/jaxws/JAXWSJavaInterfaceProcessorTestCase.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/java/sca/modules/interface-java-jaxws/src/test/java/org/apache/tuscany/sca/interfacedef/java/jaxws/JAXWSJavaInterfaceProcessorTestCase.java b/java/sca/modules/interface-java-jaxws/src/test/java/org/apache/tuscany/sca/interfacedef/java/jaxws/JAXWSJavaInterfaceProcessorTestCase.java index f82342fe28..1d34dd1679 100644 --- a/java/sca/modules/interface-java-jaxws/src/test/java/org/apache/tuscany/sca/interfacedef/java/jaxws/JAXWSJavaInterfaceProcessorTestCase.java +++ b/java/sca/modules/interface-java-jaxws/src/test/java/org/apache/tuscany/sca/interfacedef/java/jaxws/JAXWSJavaInterfaceProcessorTestCase.java @@ -27,6 +27,7 @@ import javax.jws.WebService; import javax.jws.soap.SOAPBinding; import javax.xml.namespace.QName; +import org.apache.tuscany.sca.core.DefaultExtensionPointRegistry; import org.apache.tuscany.sca.databinding.DataBindingExtensionPoint; import org.apache.tuscany.sca.databinding.DefaultDataBindingExtensionPoint; import org.apache.tuscany.sca.databinding.jaxb.DefaultXMLAdapterExtensionPoint; @@ -49,7 +50,7 @@ public class JAXWSJavaInterfaceProcessorTestCase { @Before public void setUp() throws Exception { - DataBindingExtensionPoint db = new DefaultDataBindingExtensionPoint(); + DataBindingExtensionPoint db = new DefaultDataBindingExtensionPoint(new DefaultExtensionPointRegistry()); XMLAdapterExtensionPoint xa = new DefaultXMLAdapterExtensionPoint(); interfaceProcessor = new JAXWSJavaInterfaceProcessor(db, new JAXWSFaultExceptionMapper(db, xa), xa); } |