You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by ni...@apache.org on 2007/06/08 11:17:00 UTC

svn commit: r545462 - /incubator/cxf/trunk/rt/frontend/simple/src/main/java/org/apache/cxf/service/factory/ReflectionServiceFactoryBean.java

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) {