Java 类javax.xml.ws.WebEndpoint 实例源码

项目:OpenJSharp    文件:SCAnnotations.java   
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;
        }
    });
}
项目:openjdk-jdk10    文件:SCAnnotations.java   
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;
        }
    });
}
项目:rapidminer    文件:AccountServiceService.java   
@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);
}
项目:rapidminer    文件:UpdateServiceService.java   
@WebEndpoint(
        name = "UpdateServicePort"
)
public UpdateService getUpdateServicePort() {
    return (UpdateService)super.getPort(new QName("http://ws.update.deployment.rapid_i.com/", "UpdateServicePort"), UpdateService.class);
}
项目:rapidminer    文件:UpdateServiceService.java   
@WebEndpoint(
        name = "UpdateServicePort"
)
public UpdateService getUpdateServicePort(WebServiceFeature... features) {
    return (UpdateService)super.getPort(new QName("http://ws.update.deployment.rapid_i.com/", "UpdateServicePort"), UpdateService.class, features);
}
项目:KernelHive    文件:MonitoringClientBeanService.java   
/**
 *
 * @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);
}
项目:KernelHive    文件:ClientBeanService.java   
/**
 *
 * @return returns ClientBean
 */
@WebEndpoint(name = "ClientBeanPort")
public ClientBean getClientBeanPort() {
    return super.getPort(new QName("http://engine.kernelhive.eti.pg.gda.pl/", "ClientBeanPort"), ClientBean.class);
}
项目:KernelHive    文件:ClusterBeanService.java   
/**
 *
 * @return returns ClusterBean
 */
@WebEndpoint(name = "ClusterBeanPort")
public ClusterBean getClusterBeanPort() {
    return super.getPort(new QName("http://engine.kernelhive.eti.pg.gda.pl/", "ClusterBeanPort"), ClusterBean.class);
}
项目:OpenJSharp    文件:ServiceGenerator.java   
private void writeWebEndpoint(Port port, JMethod m) {
    JAnnotationUse webEndpointAnn = m.annotate(cm.ref(WebEndpoint.class));
    webEndpointAnn.param("name", port.getName().getLocalPart());
}
项目:uavstack    文件:TestService_Service.java   
/**
 *
 * @return returns TestService
 */
@WebEndpoint(name = "TestServicePort")
public TestService getTestServicePort() {

    return super.getPort(TestServicePort, TestService.class);
}
项目:uavstack    文件:TestService_Service.java   
/**
 *
 * @return returns TestService
 */
@WebEndpoint(name = "TestServicePort")
public TestService getTestServicePort() {

    return super.getPort(TestServicePort, TestService.class);
}
项目:uavstack    文件:TestService_Service.java   
/**
 *
 * @return returns TestService
 */
@WebEndpoint(name = "TestServicePort")
public TestService getTestServicePort() {

    return super.getPort(TestServicePort, TestService.class);
}
项目:openjdk-jdk10    文件:ServiceGenerator.java   
private void writeWebEndpoint(Port port, JMethod m) {
    JAnnotationUse webEndpointAnn = m.annotate(cm.ref(WebEndpoint.class));
    webEndpointAnn.param("name", port.getName().getLocalPart());
}
项目:delay-repay-bot    文件:Ldb.java   
/**
 * 
 * @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);
}
项目:rapidminer    文件:ProcessService_Service.java   
/**
 * 
 * @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);
}
项目:rapidminer    文件:RepositoryService_Service.java   
/**
 * 
 * @return
 *     returns RepositoryService
 */
@WebEndpoint(name = "RepositoryServicePort")
public RepositoryService getRepositoryServicePort() {
    return super.getPort(new QName("http://service.web.rapidanalytics.de/", "RepositoryServicePort"), RepositoryService.class);
}
项目:rapidminer    文件:RepositoryService_Service.java   
/**
 * 
 * @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 RepositoryService
 */
@WebEndpoint(name = "RepositoryServicePort")
public RepositoryService getRepositoryServicePort(WebServiceFeature... features) {
    return super.getPort(new QName("http://service.web.rapidanalytics.de/", "RepositoryServicePort"), RepositoryService.class, features);
}
项目:rapidminer    文件:ManagementServiceService.java   
/**
 * 
 * @return
 *     returns ManagementService
 */
@WebEndpoint(name = "ManagementServicePort")
public ManagementService getManagementServicePort() {
    return super.getPort(new QName("http://service.web.rapidanalytics.de/", "ManagementServicePort"), ManagementService.class);
}
项目:rapidminer    文件:ManagementServiceService.java   
/**
 * 
 * @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 ManagementService
 */
@WebEndpoint(name = "ManagementServicePort")
public ManagementService getManagementServicePort(WebServiceFeature... features) {
    return super.getPort(new QName("http://service.web.rapidanalytics.de/", "ManagementServicePort"), ManagementService.class, features);
}
项目:rapidminer    文件:ProcessService13_Service.java   
/**
 * 
 * @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);
}
项目:rapidminer    文件:ProcessService13_Service.java   
/**
 * 
 * @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 ProcessService13
 */
@WebEndpoint(name = "ProcessService_1_3Port")
public ProcessService13 getProcessService13Port(WebServiceFeature... features) {
    return super.getPort(new QName("http://service.web.rapidanalytics.de/", "ProcessService_1_3Port"), ProcessService13.class, features);
}
项目:rapidminer    文件:RAInfoService_Service.java   
/**
 * 
 * @return
 *     returns RAInfoService
 */
@WebEndpoint(name = "RAInfoServicePort")
public RAInfoService getRAInfoServicePort() {
    return super.getPort(new QName("http://service.web.rapidanalytics.de/", "RAInfoServicePort"), RAInfoService.class);
}
项目:rapidminer    文件:RAInfoService_Service.java   
/**
 * 
 * @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 RAInfoService
 */
@WebEndpoint(name = "RAInfoServicePort")
public RAInfoService getRAInfoServicePort(WebServiceFeature... features) {
    return super.getPort(new QName("http://service.web.rapidanalytics.de/", "RAInfoServicePort"), RAInfoService.class, features);
}
项目:corso-lutech    文件:GlobalWeather.java   
/**
 *
 * @return
 *     returns GlobalWeatherSoap
 */
@WebEndpoint(name = "GlobalWeatherSoap12")
public GlobalWeatherSoap getGlobalWeatherSoap12() {
    return super.getPort(GlobalWeatherSoap12, GlobalWeatherSoap.class);
}
项目:module-template    文件:GeoIPService.java   
/**
 *
 * @return
 *     returns GeoIPServiceSoap
 */
@WebEndpoint(name = "GeoIPServiceSoap")
public GeoIPServiceSoap getGeoIPServiceSoap() {
    return super.getPort(GeoIPServiceSoap, GeoIPServiceSoap.class);
}
项目:corso-lutech    文件:GlobalWeather.java   
/**
 * 
 * @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 GlobalWeatherHttpGet
 */
@WebEndpoint(name = "GlobalWeatherHttpGet")
public GlobalWeatherHttpGet getGlobalWeatherHttpGet(WebServiceFeature... features) {
    return super.getPort(GlobalWeatherHttpGet, GlobalWeatherHttpGet.class, features);
}
项目:module-template    文件:GeoIPService.java   
/**
 *
 * @return
 *     returns GeoIPServiceSoap
 */
@WebEndpoint(name = "GeoIPServiceSoap12")
public GeoIPServiceSoap getGeoIPServiceSoap12() {
    return super.getPort(GeoIPServiceSoap12, GeoIPServiceSoap.class);
}
项目:module-template    文件:GeoIPService.java   
/**
 * 
 * @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 GeoIPServiceSoap
 */
@WebEndpoint(name = "GeoIPServiceSoap12")
public GeoIPServiceSoap getGeoIPServiceSoap12(WebServiceFeature... features) {
    return super.getPort(GeoIPServiceSoap12, GeoIPServiceSoap.class, features);
}
项目:module-template    文件:GeoIPService.java   
/**
 *
 * @return
 *     returns GeoIPServiceHttpGet
 */
@WebEndpoint(name = "GeoIPServiceHttpGet")
public GeoIPServiceHttpGet getGeoIPServiceHttpGet() {
    return super.getPort(GeoIPServiceHttpGet, GeoIPServiceHttpGet.class);
}
项目:module-template    文件:GeoIPService.java   
/**
 * 
 * @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 GeoIPServiceHttpGet
 */
@WebEndpoint(name = "GeoIPServiceHttpGet")
public GeoIPServiceHttpGet getGeoIPServiceHttpGet(WebServiceFeature... features) {
    return super.getPort(GeoIPServiceHttpGet, GeoIPServiceHttpGet.class, features);
}
项目:module-template    文件:GeoIPService.java   
/**
 *
 * @return
 *     returns GeoIPServiceHttpPost
 */
@WebEndpoint(name = "GeoIPServiceHttpPost")
public GeoIPServiceHttpPost getGeoIPServiceHttpPost() {
    return super.getPort(GeoIPServiceHttpPost, GeoIPServiceHttpPost.class);
}
项目:module-template    文件:GeoIPService.java   
/**
 * 
 * @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 GeoIPServiceHttpPost
 */
@WebEndpoint(name = "GeoIPServiceHttpPost")
public GeoIPServiceHttpPost getGeoIPServiceHttpPost(WebServiceFeature... features) {
    return super.getPort(GeoIPServiceHttpPost, GeoIPServiceHttpPost.class, features);
}
项目:Shopping-Cart-using-Web-Services    文件:ServicesService.java   
/**
 * 
 * @return
 *     returns SOAPserverInterface
 */
@WebEndpoint(name = "ServicesPort")
public SOAPserverInterface getServicesPort() {
    return super.getPort(new QName("http://service.onlineshop.com/", "ServicesPort"), SOAPserverInterface.class);
}
项目:Shopping-Cart-using-Web-Services    文件:ServicesService.java   
/**
 * 
 * @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 SOAPserverInterface
 */
@WebEndpoint(name = "ServicesPort")
public SOAPserverInterface getServicesPort(WebServiceFeature... features) {
    return super.getPort(new QName("http://service.onlineshop.com/", "ServicesPort"), SOAPserverInterface.class, features);
}
项目:corso-lutech    文件:GlobalWeather.java   
/**
 * 
 * @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 GlobalWeatherHttpPost
 */
@WebEndpoint(name = "GlobalWeatherHttpPost")
public GlobalWeatherHttpPost getGlobalWeatherHttpPost(WebServiceFeature... features) {
    return super.getPort(GlobalWeatherHttpPost, GlobalWeatherHttpPost.class, features);
}
项目:KernelHive    文件:ClientBeanService.java   
/**
 *
 * @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 ClientBean
 */
@WebEndpoint(name = "ClientBeanPort")
public ClientBean getClientBeanPort(WebServiceFeature... features) {
    return super.getPort(new QName("http://engine.kernelhive.eti.pg.gda.pl/", "ClientBeanPort"), ClientBean.class, features);
}
项目:KernelHive    文件:ClusterBeanService.java   
/**
 *
 * @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 ClusterBean
 */
@WebEndpoint(name = "ClusterBeanPort")
public ClusterBean getClusterBeanPort(WebServiceFeature... features) {
    return super.getPort(new QName("http://engine.kernelhive.eti.pg.gda.pl/", "ClusterBeanPort"), ClusterBean.class, features);
}
项目:delay-repay-bot    文件:Ldb.java   
/**
 * 
 * @return
 *     returns LDBServiceSoap
 */
@WebEndpoint(name = "LDBServiceSoap")
public LDBServiceSoap getLDBServiceSoap() {
    return super.getPort(new QName("http://thalesgroup.com/RTTI/2016-02-16/ldb/", "LDBServiceSoap"), LDBServiceSoap.class);
}
项目:LivroJavaComoProgramar10Edicao    文件:WelcomeSOAPService.java   
/**
 * 
 * @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 WelcomeSOAP
 */
@WebEndpoint(name = "WelcomeSOAPPort")
public WelcomeSOAP getWelcomeSOAPPort(WebServiceFeature... features) {
    return super.getPort(new QName("http://welcomesoap.deitel.com/", "WelcomeSOAPPort"), WelcomeSOAP.class, features);
}
项目:LivroJavaComoProgramar10Edicao    文件:WelcomeSOAPService.java   
/**
 * 
 * @return
 *     returns WelcomeSOAP
 */
@WebEndpoint(name = "WelcomeSOAPPort")
public WelcomeSOAP getWelcomeSOAPPort() {
    return super.getPort(new QName("http://welcomesoap.deitel.com/", "WelcomeSOAPPort"), WelcomeSOAP.class);
}