cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dand...@apache.org
Subject svn commit: r542035 - in /incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/wsdl11: WSDLDefinitionBuilder.java WSDLManagerImpl.java
Date Sun, 27 May 2007 20:55:54 GMT
Author: dandiep
Date: Sun May 27 13:55:53 2007
New Revision: 542035

URL: http://svn.apache.org/viewvc?view=rev&rev=542035
Log:
register serializers in addition to the deserializers.

Modified:
    incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/wsdl11/WSDLDefinitionBuilder.java
    incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/wsdl11/WSDLManagerImpl.java

Modified: incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/wsdl11/WSDLDefinitionBuilder.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/wsdl11/WSDLDefinitionBuilder.java?view=diff&rev=542035&r1=542034&r2=542035
==============================================================================
--- incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/wsdl11/WSDLDefinitionBuilder.java
(original)
+++ incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/wsdl11/WSDLDefinitionBuilder.java
Sun May 27 13:55:53 2007
@@ -69,6 +69,9 @@
             registry.registerDeserializer(MIMEPart.class, 
                                           header, 
                                           new SOAPHeaderSerializer());
+            registry.registerSerializer(MIMEPart.class, 
+                                        header, 
+                                        new SOAPHeaderSerializer());
             registry.mapExtensionTypes(MIMEPart.class, header, SOAPHeaderImpl.class);
             
             registerInitialExtensions();

Modified: incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/wsdl11/WSDLManagerImpl.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/wsdl11/WSDLManagerImpl.java?view=diff&rev=542035&r1=542034&r2=542035
==============================================================================
--- incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/wsdl11/WSDLManagerImpl.java (original)
+++ incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/wsdl11/WSDLManagerImpl.java Sun
May 27 13:55:53 2007
@@ -36,7 +36,6 @@
 import javax.wsdl.WSDLException;
 import javax.wsdl.extensions.ExtensionRegistry;
 import javax.wsdl.extensions.mime.MIMEPart;
-import javax.wsdl.extensions.soap.SOAPHeader;
 import javax.wsdl.factory.WSDLFactory;
 import javax.wsdl.xml.WSDLReader;
 import javax.xml.bind.JAXBException;
@@ -86,6 +85,9 @@
             registry.registerDeserializer(MIMEPart.class, 
                                           header, 
                                           new SOAPHeaderSerializer());
+            registry.registerSerializer(MIMEPart.class, 
+                                        header, 
+                                        new SOAPHeaderSerializer());
             registry.mapExtensionTypes(MIMEPart.class, header, SOAPHeaderImpl.class);
         } catch (WSDLException e) {
             throw new BusException(e);



Mime
View raw message