cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject svn commit: r545462 - /incubator/cxf/trunk/rt/frontend/simple/src/main/java/org/apache/cxf/service/factory/ReflectionServiceFactoryBean.java
Date Fri, 08 Jun 2007 09:17:00 GMT
Author: ningjiang
Date: Fri Jun  8 02:16:59 2007
New Revision: 545462

URL: http://svn.apache.org/viewvc?view=rev&rev=545462
Log:
CXF-712 get the client.get target work again in the hello_world* 

Modified:
    incubator/cxf/trunk/rt/frontend/simple/src/main/java/org/apache/cxf/service/factory/ReflectionServiceFactoryBean.java

Modified: incubator/cxf/trunk/rt/frontend/simple/src/main/java/org/apache/cxf/service/factory/ReflectionServiceFactoryBean.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/frontend/simple/src/main/java/org/apache/cxf/service/factory/ReflectionServiceFactoryBean.java?view=diff&rev=545462&r1=545461&r2=545462
==============================================================================
--- incubator/cxf/trunk/rt/frontend/simple/src/main/java/org/apache/cxf/service/factory/ReflectionServiceFactoryBean.java
(original)
+++ incubator/cxf/trunk/rt/frontend/simple/src/main/java/org/apache/cxf/service/factory/ReflectionServiceFactoryBean.java
Fri Jun  8 02:16:59 2007
@@ -400,8 +400,9 @@
                     QName wraperBeanName = op.getInput().getMessageParts().get(0).getElementQName();
                     XmlSchemaElement e = null;
                     for (SchemaInfo s : serviceInfo.getSchemas()) {
-                        e = s.getElementByQName(wraperBeanName);
+                        e = s.getElementByQName(wraperBeanName);                        
                         if (e != null) {
+                            op.getInput().getMessageParts().get(0).setXmlSchema(e);
                             break;
                         }
                     }
@@ -672,6 +673,7 @@
                 }
             }
         }
+        
     }
 
     private SchemaInfo getOrCreateSchema(ServiceInfo serviceInfo, String namespaceURI) {



Mime
View raw message