cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r817678 - /cxf/branches/2.1.x-fixes/distribution/src/main/release/samples/jaxws_dispatch_provider/src/demo/hwDispatch/client/Client.java
Date Tue, 22 Sep 2009 14:41:42 GMT
Author: dkulp
Date: Tue Sep 22 14:41:42 2009
New Revision: 817678

URL: http://svn.apache.org/viewvc?rev=817678&view=rev
Log:
Fix jaxws_dispatch_provider sample on 2.1

Modified:
    cxf/branches/2.1.x-fixes/distribution/src/main/release/samples/jaxws_dispatch_provider/src/demo/hwDispatch/client/Client.java

Modified: cxf/branches/2.1.x-fixes/distribution/src/main/release/samples/jaxws_dispatch_provider/src/demo/hwDispatch/client/Client.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.1.x-fixes/distribution/src/main/release/samples/jaxws_dispatch_provider/src/demo/hwDispatch/client/Client.java?rev=817678&r1=817677&r2=817678&view=diff
==============================================================================
--- cxf/branches/2.1.x-fixes/distribution/src/main/release/samples/jaxws_dispatch_provider/src/demo/hwDispatch/client/Client.java
(original)
+++ cxf/branches/2.1.x-fixes/distribution/src/main/release/samples/jaxws_dispatch_provider/src/demo/hwDispatch/client/Client.java
Tue Sep 22 14:41:42 2009
@@ -126,6 +126,9 @@
     }
 
     private static Element fetchElementByName(Node parent, String name) {
+        if (parent instanceof Element && ((Element)parent).getLocalName().equals(name))
{
+            return parent;
+        }
         Element ret = null;        
         Node node = parent.getFirstChild();
         while (node != null) {



Mime
View raw message