cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r922913 - /cxf/trunk/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/SoapBindingFactory.java
Date Sun, 14 Mar 2010 17:47:17 GMT
Author: dkulp
Date: Sun Mar 14 17:47:17 2010
New Revision: 922913

URL: http://svn.apache.org/viewvc?rev=922913&view=rev
Log:
Split line into 3 to try and debug which part is causing the NPE

Modified:
    cxf/trunk/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/SoapBindingFactory.java

Modified: cxf/trunk/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/SoapBindingFactory.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/SoapBindingFactory.java?rev=922913&r1=922912&r2=922913&view=diff
==============================================================================
--- cxf/trunk/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/SoapBindingFactory.java
(original)
+++ cxf/trunk/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/SoapBindingFactory.java
Sun Mar 14 17:47:17 2010
@@ -208,8 +208,9 @@ public class SoapBindingFactory extends 
 
     private void createSoapBinding(final SoapBindingInfo bi) throws WSDLException {
         boolean isSoap12 = bi.getSoapVersion() instanceof Soap12;
-        ExtensionRegistry extensionRegistry = getBus().getExtension(WSDLManager.class)
-            .getExtensionRegistry();
+        Bus bs = getBus();
+        WSDLManager m = bs.getExtension(WSDLManager.class);
+        ExtensionRegistry extensionRegistry = m.getExtensionRegistry();
 
         SoapBinding soapBinding = SOAPBindingUtil.createSoapBinding(extensionRegistry, isSoap12);
         soapBinding.setStyle(bi.getStyle());



Mime
View raw message