1 25 package org.objectweb.easybeans.tests.common.resources; 26 27 import java.net.URL ; 28 29 import javax.xml.namespace.QName ; 30 31 36 public class WSUtilCeltix implements ItfWSUtil { 37 38 41 public WSUtilCeltix() { 42 } 43 44 55 public synchronized <E> E getPort(final URL wsdlLocation, final String wsNamespace, final String serviceName, 56 final Class <E> serviceEndPointInterface, final String soapPortName) throws Exception { 57 QName soapPortQName = new QName (wsNamespace, soapPortName); 58 QName serviceQName = new QName (wsNamespace, serviceName); 59 60 GenericService srv = new GenericService(wsdlLocation, soapPortQName); 61 62 return srv.getPort(serviceQName, serviceEndPointInterface); 63 } 64 } 65 | Popular Tags |