本文整理汇总了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);
}
示例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;
}
});
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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());
}
示例8: getTestServicePort
import javax.xml.ws.WebEndpoint; //导入依赖的package包/类
/**
*
* @return returns TestService
*/
@WebEndpoint(name = "TestServicePort")
public TestService getTestServicePort() {
return super.getPort(TestServicePort, TestService.class);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例15: getGlobalWeatherSoap12
import javax.xml.ws.WebEndpoint; //导入依赖的package包/类
/**
*
* @return
* returns GlobalWeatherSoap
*/
@WebEndpoint(name = "GlobalWeatherSoap12")
public GlobalWeatherSoap getGlobalWeatherSoap12() {
return super.getPort(GlobalWeatherSoap12, GlobalWeatherSoap.class);
}