當前位置: 首頁>>代碼示例>>Java>>正文


Java WebEndpoint類代碼示例

本文整理匯總了Java中javax.xml.ws.WebEndpoint的典型用法代碼示例。如果您正苦於以下問題:Java WebEndpoint類的具體用法?Java WebEndpoint怎麽用?Java WebEndpoint使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


WebEndpoint類屬於javax.xml.ws包,在下文中一共展示了WebEndpoint類的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。

示例1: getAccountServicePort

import javax.xml.ws.WebEndpoint; //導入依賴的package包/類
@WebEndpoint(
        name = "AccountServicePort"
)
public AccountService getAccountServicePort(WebServiceFeature... features) {
    return (AccountService)super.getPort(new QName("http://ws.update.deployment.rapid_i.com/", "AccountServicePort"), AccountService.class, features);
}
 
開發者ID:transwarpio,項目名稱:rapidminer,代碼行數:7,代碼來源:AccountServiceService.java

示例2: SCAnnotations

import javax.xml.ws.WebEndpoint; //導入依賴的package包/類
SCAnnotations(final Class<?> sc) {
    AccessController.doPrivileged(new PrivilegedAction<Void>() {
        @Override
        public Void run() {
            WebServiceClient wsc =sc.getAnnotation(WebServiceClient.class);
            if(wsc==null) {
                throw new WebServiceException("Service Interface Annotations required, exiting...");
            }

            String tns = wsc.targetNamespace();
            try {
                JAXWSUtils.getFileOrURL(wsc.wsdlLocation());
            } catch (IOException e) {
                // TODO: report a reasonable error message
                throw new WebServiceException(e);
            }

            for (Method method : sc.getDeclaredMethods()) {
                WebEndpoint webEndpoint = method.getAnnotation(WebEndpoint.class);
                if (webEndpoint != null) {
                    String endpointName = webEndpoint.name();
                    QName portQName = new QName(tns, endpointName);
                    portQNames.add(portQName);
                }
                Class<?> seiClazz = method.getReturnType();
                if (seiClazz!=void.class) {
                    classes.add(seiClazz);
                }
            }

            return null;
        }
    });
}
 
開發者ID:SunburstApps,項目名稱:OpenJSharp,代碼行數:35,代碼來源:SCAnnotations.java

示例3: getUpdateServicePort

import javax.xml.ws.WebEndpoint; //導入依賴的package包/類
@WebEndpoint(
        name = "UpdateServicePort"
)
public UpdateService getUpdateServicePort() {
    return (UpdateService)super.getPort(new QName("http://ws.update.deployment.rapid_i.com/", "UpdateServicePort"), UpdateService.class);
}
 
開發者ID:transwarpio,項目名稱:rapidminer,代碼行數:7,代碼來源:UpdateServiceService.java

示例4: getMonitoringClientBeanPort

import javax.xml.ws.WebEndpoint; //導入依賴的package包/類
/**
 *
 * @return returns MonitoringClientBean
 */
@WebEndpoint(name = "MonitoringClientBeanPort")
public MonitoringClientBean getMonitoringClientBeanPort() {
	return super.getPort(new QName("http://monitoring.engine.kernelhive.eti.pg.gda.pl/", "MonitoringClientBeanPort"), MonitoringClientBean.class);
}
 
開發者ID:roscisz,項目名稱:KernelHive,代碼行數:9,代碼來源:MonitoringClientBeanService.java

示例5: getClientBeanPort

import javax.xml.ws.WebEndpoint; //導入依賴的package包/類
/**
 *
 * @return returns ClientBean
 */
@WebEndpoint(name = "ClientBeanPort")
public ClientBean getClientBeanPort() {
	return super.getPort(new QName("http://engine.kernelhive.eti.pg.gda.pl/", "ClientBeanPort"), ClientBean.class);
}
 
開發者ID:roscisz,項目名稱:KernelHive,代碼行數:9,代碼來源:ClientBeanService.java

示例6: getClusterBeanPort

import javax.xml.ws.WebEndpoint; //導入依賴的package包/類
/**
 *
 * @return returns ClusterBean
 */
@WebEndpoint(name = "ClusterBeanPort")
public ClusterBean getClusterBeanPort() {
	return super.getPort(new QName("http://engine.kernelhive.eti.pg.gda.pl/", "ClusterBeanPort"), ClusterBean.class);
}
 
開發者ID:roscisz,項目名稱:KernelHive,代碼行數:9,代碼來源:ClusterBeanService.java

示例7: writeWebEndpoint

import javax.xml.ws.WebEndpoint; //導入依賴的package包/類
private void writeWebEndpoint(Port port, JMethod m) {
    JAnnotationUse webEndpointAnn = m.annotate(cm.ref(WebEndpoint.class));
    webEndpointAnn.param("name", port.getName().getLocalPart());
}
 
開發者ID:SunburstApps,項目名稱:OpenJSharp,代碼行數:5,代碼來源:ServiceGenerator.java

示例8: getTestServicePort

import javax.xml.ws.WebEndpoint; //導入依賴的package包/類
/**
 *
 * @return returns TestService
 */
@WebEndpoint(name = "TestServicePort")
public TestService getTestServicePort() {

    return super.getPort(TestServicePort, TestService.class);
}
 
開發者ID:uavorg,項目名稱:uavstack,代碼行數:10,代碼來源:TestService_Service.java

示例9: getLDBServiceSoap

import javax.xml.ws.WebEndpoint; //導入依賴的package包/類
/**
 * 
 * @param features
 *     A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy.  Supported features not in the <code>features</code> parameter will have their default values.
 * @return
 *     returns LDBServiceSoap
 */
@WebEndpoint(name = "LDBServiceSoap")
public LDBServiceSoap getLDBServiceSoap(WebServiceFeature... features) {
    return super.getPort(new QName("http://thalesgroup.com/RTTI/2016-02-16/ldb/", "LDBServiceSoap"), LDBServiceSoap.class, features);
}
 
開發者ID:robevansuk,項目名稱:delay-repay-bot,代碼行數:12,代碼來源:Ldb.java

示例10: getProcessServicePort

import javax.xml.ws.WebEndpoint; //導入依賴的package包/類
/**
 * 
 * @param features
 *     A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy.  Supported features not in the <code>features</code> parameter will have their default values.
 * @return
 *     returns ProcessService
 */
@WebEndpoint(name = "ProcessServicePort")
public ProcessService getProcessServicePort(WebServiceFeature... features) {
    return super.getPort(new QName("http://service.web.rapidanalytics.de/", "ProcessServicePort"), ProcessService.class, features);
}
 
開發者ID:transwarpio,項目名稱:rapidminer,代碼行數:12,代碼來源:ProcessService_Service.java

示例11: getRepositoryServicePort

import javax.xml.ws.WebEndpoint; //導入依賴的package包/類
/**
 * 
 * @return
 *     returns RepositoryService
 */
@WebEndpoint(name = "RepositoryServicePort")
public RepositoryService getRepositoryServicePort() {
    return super.getPort(new QName("http://service.web.rapidanalytics.de/", "RepositoryServicePort"), RepositoryService.class);
}
 
開發者ID:transwarpio,項目名稱:rapidminer,代碼行數:10,代碼來源:RepositoryService_Service.java

示例12: getManagementServicePort

import javax.xml.ws.WebEndpoint; //導入依賴的package包/類
/**
 * 
 * @return
 *     returns ManagementService
 */
@WebEndpoint(name = "ManagementServicePort")
public ManagementService getManagementServicePort() {
    return super.getPort(new QName("http://service.web.rapidanalytics.de/", "ManagementServicePort"), ManagementService.class);
}
 
開發者ID:transwarpio,項目名稱:rapidminer,代碼行數:10,代碼來源:ManagementServiceService.java

示例13: QName

import javax.xml.ws.WebEndpoint; //導入依賴的package包/類
/**
 * 
 * @return
 *     returns ProcessService13
 */
@WebEndpoint(name = "ProcessService_1_3Port")
public ProcessService13 getProcessService13Port() {
    return super.getPort(new QName("http://service.web.rapidanalytics.de/", "ProcessService_1_3Port"), ProcessService13.class);
}
 
開發者ID:transwarpio,項目名稱:rapidminer,代碼行數:10,代碼來源:ProcessService13_Service.java

示例14: getRAInfoServicePort

import javax.xml.ws.WebEndpoint; //導入依賴的package包/類
/**
 * 
 * @return
 *     returns RAInfoService
 */
@WebEndpoint(name = "RAInfoServicePort")
public RAInfoService getRAInfoServicePort() {
    return super.getPort(new QName("http://service.web.rapidanalytics.de/", "RAInfoServicePort"), RAInfoService.class);
}
 
開發者ID:transwarpio,項目名稱:rapidminer,代碼行數:10,代碼來源:RAInfoService_Service.java

示例15: getGlobalWeatherSoap12

import javax.xml.ws.WebEndpoint; //導入依賴的package包/類
/**
 *
 * @return
 *     returns GlobalWeatherSoap
 */
@WebEndpoint(name = "GlobalWeatherSoap12")
public GlobalWeatherSoap getGlobalWeatherSoap12() {
    return super.getPort(GlobalWeatherSoap12, GlobalWeatherSoap.class);
}
 
開發者ID:andrea-colleoni,項目名稱:corso-lutech,代碼行數:10,代碼來源:GlobalWeather.java


注:本文中的javax.xml.ws.WebEndpoint類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。