cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject svn commit: r529369 - /incubator/cxf/trunk/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/SoapBindingFactory.java
Date Mon, 16 Apr 2007 19:22:08 GMT
Author: gnodet
Date: Mon Apr 16 12:22:07 2007
New Revision: 529369

URL: http://svn.apache.org/viewvc?view=rev&rev=529369
Log:
SoapHeaderInterceptor is part of the data binding, so it should be put in the interceptor
list only if databinding is enabled

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

Modified: incubator/cxf/trunk/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/SoapBindingFactory.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/SoapBindingFactory.java?view=diff&rev=529369&r1=529368&r2=529369
==============================================================================
--- incubator/cxf/trunk/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/SoapBindingFactory.java
(original)
+++ incubator/cxf/trunk/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/SoapBindingFactory.java
Mon Apr 16 12:22:07 2007
@@ -227,10 +227,10 @@
                 sb.getOutInterceptors().add(new WrappedOutInterceptor());
                 sb.getOutInterceptors().add(new BareOutInterceptor());
             }
+            sb.getInInterceptors().add(new SoapHeaderInterceptor());
         }
         
         if (!Boolean.TRUE.equals(binding.getProperty(MESSAGE_PROCESSING_DISABLED))) {
-            sb.getInInterceptors().add(new SoapHeaderInterceptor());
             sb.getInInterceptors().add(new ReadHeadersInterceptor());
             sb.getInInterceptors().add(new MustUnderstandInterceptor());
             sb.getOutInterceptors().add(new SoapPreProtocolOutInterceptor());



Mime
View raw message