当前位置: 首页>>代码示例>>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;未经允许,请勿转载。