本文整理匯總了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);
}