incubator-yoko-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r507604 - in /incubator/yoko/trunk/bindings/src/main/java/org/apache/yoko/bindings/corba/interceptors: CorbaFaultInInterceptor.java CorbaFaultOutInterceptor.java
Date Wed, 14 Feb 2007 16:31:27 GMT
Author: bravi
Date: Wed Feb 14 08:31:26 2007
New Revision: 507604

URL: http://svn.apache.org/viewvc?view=rev&rev=507604
Log:
[YOKO-245] - Fix the support for User Exceptions in the corba binding, broken with the introduction
of using xml schema types to read & write from stax.

Modified:
    incubator/yoko/trunk/bindings/src/main/java/org/apache/yoko/bindings/corba/interceptors/CorbaFaultInInterceptor.java
    incubator/yoko/trunk/bindings/src/main/java/org/apache/yoko/bindings/corba/interceptors/CorbaFaultOutInterceptor.java

Modified: incubator/yoko/trunk/bindings/src/main/java/org/apache/yoko/bindings/corba/interceptors/CorbaFaultInInterceptor.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/bindings/src/main/java/org/apache/yoko/bindings/corba/interceptors/CorbaFaultInInterceptor.java?view=diff&rev=507604&r1=507603&r2=507604
==============================================================================
--- incubator/yoko/trunk/bindings/src/main/java/org/apache/yoko/bindings/corba/interceptors/CorbaFaultInInterceptor.java
(original)
+++ incubator/yoko/trunk/bindings/src/main/java/org/apache/yoko/bindings/corba/interceptors/CorbaFaultInInterceptor.java
Wed Feb 14 08:31:26 2007
@@ -92,6 +92,7 @@
                     service.getDescription().getExtensors(TypeMappingType.class);
                 if (corbaTypes != null) {
                     corbaStaxObject.setTypeMaps(typeMaps);
+                    corbaStaxObject.setServiceInfo(service);
                 }
 
                 org.omg.CORBA.ORB orb = (org.omg.CORBA.ORB) message.get(CorbaConstants.ORB);

Modified: incubator/yoko/trunk/bindings/src/main/java/org/apache/yoko/bindings/corba/interceptors/CorbaFaultOutInterceptor.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/bindings/src/main/java/org/apache/yoko/bindings/corba/interceptors/CorbaFaultOutInterceptor.java?view=diff&rev=507604&r1=507603&r2=507604
==============================================================================
--- incubator/yoko/trunk/bindings/src/main/java/org/apache/yoko/bindings/corba/interceptors/CorbaFaultOutInterceptor.java
(original)
+++ incubator/yoko/trunk/bindings/src/main/java/org/apache/yoko/bindings/corba/interceptors/CorbaFaultOutInterceptor.java
Wed Feb 14 08:31:26 2007
@@ -96,6 +96,7 @@
             if (corbaTypes != null) {
                 CorbaUtils.createCorbaTypeMap(typeMaps, corbaTypes);
                 corbaStaxObject.setTypeMaps(typeMaps);
+                corbaStaxObject.setServiceInfo(service);
             }
 
             Throwable ex = message.getContent(Exception.class);



Mime
View raw message