diff options
author | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2010-08-19 09:08:15 +0000 |
---|---|---|
committer | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2010-08-19 09:08:15 +0000 |
commit | 925922862e59390c5d9c762899a6a57ea29df1e4 (patch) | |
tree | 52797fba3a30ed540a86b9fe4e6d7d087b089148 /sca-java-2.x/trunk/modules/interface-java-jaxws/src/main | |
parent | caa7f5579b7e4847793e8bbe26af92af78ff2d41 (diff) |
Remove commented code
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@987094 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules/interface-java-jaxws/src/main')
-rw-r--r-- | sca-java-2.x/trunk/modules/interface-java-jaxws/src/main/java/org/apache/tuscany/sca/interfacedef/java/jaxws/JAXWSJavaInterfaceProcessor.java | 29 |
1 files changed, 1 insertions, 28 deletions
diff --git a/sca-java-2.x/trunk/modules/interface-java-jaxws/src/main/java/org/apache/tuscany/sca/interfacedef/java/jaxws/JAXWSJavaInterfaceProcessor.java b/sca-java-2.x/trunk/modules/interface-java-jaxws/src/main/java/org/apache/tuscany/sca/interfacedef/java/jaxws/JAXWSJavaInterfaceProcessor.java index f1ffd6e1d4..f18ea0118f 100644 --- a/sca-java-2.x/trunk/modules/interface-java-jaxws/src/main/java/org/apache/tuscany/sca/interfacedef/java/jaxws/JAXWSJavaInterfaceProcessor.java +++ b/sca-java-2.x/trunk/modules/interface-java-jaxws/src/main/java/org/apache/tuscany/sca/interfacedef/java/jaxws/JAXWSJavaInterfaceProcessor.java @@ -106,34 +106,7 @@ public class JAXWSJavaInterfaceProcessor implements JavaInterfaceVisitor { final Class<?> clazz = contract.getJavaClass(); contract = JAXWSUtils.configureJavaInterface(contract, clazz); - String tns = contract.getQName().getNamespaceURI(); - - // TODO - the following code repeats the name determination code in the - // utils class. Do name determination separately from interface config. - // - determine service name - // - determine interface class name - // - determine wsdl file name -/* - WebService webService = clazz.getAnnotation(WebService.class); - String tns = JavaXMLMapper.getNamespace(clazz); - String localName = clazz.getSimpleName(); - if (webService != null) { - tns = getValue(webService.targetNamespace(), tns); - localName = getValue(webService.name(), localName); - contract.setQName(new QName(tns, localName)); - // Mark SEI as Remotable - contract.setRemotable(true); - } - - WebServiceProvider webServiceProvider = clazz.getAnnotation(WebServiceProvider.class); - if (webServiceProvider != null) { - tns = getValue(webServiceProvider.targetNamespace(), tns); - localName = getValue(webServiceProvider.serviceName(), localName); - contract.setQName(new QName(tns, localName)); - // Mark SEI as Remotable - contract.setRemotable(true); - } -*/ + String tns = contract.getQName().getNamespaceURI(); if (!contract.isRemotable()) { return; |