Commit 239f6525 authored by Philippe Merle's avatar Philippe Merle
Browse files

Updated how computing the Java interface associated to a WSDL interface.

parent ec39c4e6
/**
* OW2 FraSCAti: SCA Interface WSDL
* Copyright (C) 2010 INRIA, University of Lille 1
* Copyright (C) 2010-2012 Inria, University of Lille 1
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
......@@ -14,7 +14,8 @@
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA
*
* Contact: frascati@ow2.org
*
......@@ -94,7 +95,8 @@ public class ScaInterfaceWsdlProcessor
// Compute the Java interface name for the WSDL port type.
String localPart = qname.getLocalPart();
String javaInterface = NameConverter.standard.toPackageName(qname.getNamespaceURI()) + '.' + Character.toUpperCase(localPart.charAt(0)) + localPart.substring(1);
log.info("The interface QName is " + qname);
String javaInterface = NameConverter.standard.toPackageName(qname.getNamespaceURI()) + '.' + NameConverter.standard.toClassName(localPart);
log.info("The Java interface for '" + wsdlInterface + "' is " + javaInterface);
// Load the Java interface.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment