[CXF-5783] Fix client code generation

Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/29b6bd0a
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/29b6bd0a
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/29b6bd0a

Branch: refs/heads/2.6.x-fixes
Commit: 29b6bd0a90dce881a201f0ceec5d006febfc2e16
Parents: 6f2bda4
Author: Daniel Kulp <[email protected]>
Authored: Thu Jun 26 11:09:47 2014 -0400
Committer: Daniel Kulp <[email protected]>
Committed: Thu Jun 26 12:10:16 2014 -0400

----------------------------------------------------------------------
 .../org/apache/cxf/tools/wsdlto/frontend/jaxws/template/client.vm  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/29b6bd0a/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/template/client.vm
----------------------------------------------------------------------
diff --git 
a/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/template/client.vm
 
b/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/template/client.vm
index 1666ce0..f6dc7b4 100644
--- 
a/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/template/client.vm
+++ 
b/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/template/client.vm
@@ -77,7 +77,7 @@ public final class ${clientClassName} {
         }
       
         $service.Name ss = new ${service.Name}(wsdlURL, SERVICE_NAME);
-        $intf.Name port = ss.get${port.Name}();  
+        $intf.Name port = ss.${port.MethodName}();  
         
 #foreach ($method in $intf.Methods)
         {

Reply via email to