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


Java WebParam類代碼示例

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


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

示例1: getDownloadURL

import javax.jws.WebParam; //導入依賴的package包/類
@WebMethod
@WebResult(
        targetNamespace = ""
)
@RequestWrapper(
        localName = "getDownloadURL",
        targetNamespace = "http://ws.update.deployment.rapid_i.com/",
        className = "com.rapidminer.deployment.client.wsimport.GetDownloadURL"
)
@ResponseWrapper(
        localName = "getDownloadURLResponse",
        targetNamespace = "http://ws.update.deployment.rapid_i.com/",
        className = "com.rapidminer.deployment.client.wsimport.GetDownloadURLResponse"
)
String getDownloadURL(@WebParam(
        name = "packageId",
        targetNamespace = ""
) String var1, @WebParam(
        name = "version",
        targetNamespace = ""
) String var2, @WebParam(
        name = "targetPlatform",
        targetNamespace = ""
) String var3) throws UpdateServiceException_Exception;
 
開發者ID:transwarpio,項目名稱:rapidminer,代碼行數:25,代碼來源:UpdateService.java

示例2: getGeoIP

import javax.jws.WebParam; //導入依賴的package包/類
/**
 * GeoIPService - GetGeoIP enables you to easily look up countries by IP addresses
 */
@WebMethod(operationName = "GetGeoIP")
@WebResult(name = "GeoIP", targetNamespace = "http://www.webservicex.net/", partName = "Body")
public GeoIP getGeoIP(
    @WebParam(partName = "IPAddress", name = "IPAddress", targetNamespace = "")
    java.lang.String ipAddress
);
 
開發者ID:LadyTurandot,項目名稱:Java_Good,代碼行數:10,代碼來源:GeoIPServiceHttpGet.java

示例3: getActionExecutionResults

import javax.jws.WebParam; //導入依賴的package包/類
/**
 * Queue has already finished and the Test Executor is asking for the
 * queue execution results.
 *
 * There is theoretical chance to be called by more than one thread on Test Executor side,
 * when more than one queue is started in non-blocking mode. That's why it is synchronized
 *
 * @param queueName
 * @return
 * @throws AgentException
 */
@WebMethod
public synchronized byte[] getActionExecutionResults(
                                                      @WebParam( name = "name") String queueName ) throws AgentException {

    try {
        ByteArrayOutputStream byteOutStream = new ByteArrayOutputStream();
        ObjectOutputStream objectOutStream = new ObjectOutputStream(byteOutStream);
        objectOutStream.writeObject(QueueExecutionStatistics.getInstance()
                                                            .getActionExecutionResults(queueName));

        return byteOutStream.toByteArray();
    } catch (Exception e) {
        handleExceptions(e);

        // should never reach this line because handleExceptions() will
        // always throw but the compiler is not aware of this
        return null;
    }
}
 
開發者ID:Axway,項目名稱:ats-framework,代碼行數:31,代碼來源:AgentWsImpl.java

示例4: getQueueInfo

import javax.jws.WebParam; //導入依賴的package包/類
/**
 * 
 * @param queueName
 * @return
 *     returns java.util.List<com.rapid_i.repository.wsimport.QueueProperty>
 */
@WebMethod
@WebResult(targetNamespace = "")
@RequestWrapper(localName = "getQueueInfo", targetNamespace = "http://service.web.rapidanalytics.de/", className = "com.rapid_i.repository.wsimport.GetQueueInfo")
@ResponseWrapper(localName = "getQueueInfoResponse", targetNamespace = "http://service.web.rapidanalytics.de/", className = "com.rapid_i.repository.wsimport.GetQueueInfoResponse")
public List<QueueProperty> getQueueInfo(
    @WebParam(name = "queueName", targetNamespace = "")
    String queueName);
 
開發者ID:transwarpio,項目名稱:rapidminer,代碼行數:14,代碼來源:ProcessService13.java

示例5: getProcessIdsForJobId

import javax.jws.WebParam; //導入依賴的package包/類
/**
 * 
 * @param jobId
 * @return
 *     returns java.util.List<java.lang.Integer>
 */
@WebMethod
@WebResult(targetNamespace = "")
@RequestWrapper(localName = "getProcessIdsForJobId", targetNamespace = "http://service.web.rapidanalytics.de/", className = "com.rapid_i.repository.wsimport.GetProcessIdsForJobId")
@ResponseWrapper(localName = "getProcessIdsForJobIdResponse", targetNamespace = "http://service.web.rapidanalytics.de/", className = "com.rapid_i.repository.wsimport.GetProcessIdsForJobIdResponse")
public List<Integer> getProcessIdsForJobId(
    @WebParam(name = "jobId", targetNamespace = "")
    int jobId);
 
開發者ID:transwarpio,項目名稱:rapidminer,代碼行數:14,代碼來源:ProcessService13.java

示例6: getSuppliersRevenueShareReport

import javax.jws.WebParam; //導入依賴的package包/類
@WebMethod(action = "\"\"")
public RDOSupplierRevenueShareReports getSuppliersRevenueShareReport(
        @WebParam(name = "sessionId") String sessionId,
        @WebParam(name = "month") int month,
        @WebParam(name = "year") int year) {
    return delegate.getSuppliersRevenueShareReport(sessionId, month, year);
}
 
開發者ID:servicecatalog,項目名稱:oscm,代碼行數:8,代碼來源:ReportingServiceBean.java

示例7: todasLasEntidadesPorAnio

import javax.jws.WebParam; //導入依賴的package包/類
@WebResult(name = "return", targetNamespace = "")
@RequestWrapper(localName = "todasLasEntidadesPorAnio", targetNamespace = "localhost", className = "py.gov.stp.mh.clasificadores.TodasLasEntidadesPorAnio")
@WebMethod
@ResponseWrapper(localName = "todasLasEntidadesPorAnioResponse", targetNamespace = "localhost", className = "py.gov.stp.mh.clasificadores.TodasLasEntidadesPorAnioResponse")
public java.util.List<py.gov.stp.mh.clasificadores.Entidad> todasLasEntidadesPorAnio(
    @WebParam(name = "anio", targetNamespace = "")
    java.lang.Short anio
);
 
開發者ID:stppy,項目名稱:spr,代碼行數:9,代碼來源:Clasificadores.java

示例8: getBillingDetailsOfASupplierReport

import javax.jws.WebParam; //導入依賴的package包/類
@WebMethod(action = "\"\"")
public RDODetailedBilling getBillingDetailsOfASupplierReport(
        @WebParam(name = "sessionId") String sessionId,
        @WebParam(name = "billingKey") long billingKey) {
    return delegate.getBillingDetailsOfASupplierReport(sessionId,
            billingKey);
}
 
開發者ID:servicecatalog,項目名稱:oscm,代碼行數:8,代碼來源:ReportingServiceBean.java

示例9: getLicenseText

import javax.jws.WebParam; //導入依賴的package包/類
@WebMethod
@WebResult(
        targetNamespace = ""
)
@RequestWrapper(
        localName = "getLicenseText",
        targetNamespace = "http://ws.update.deployment.rapid_i.com/",
        className = "com.rapidminer.deployment.client.wsimport.GetLicenseText"
)
@ResponseWrapper(
        localName = "getLicenseTextResponse",
        targetNamespace = "http://ws.update.deployment.rapid_i.com/",
        className = "com.rapidminer.deployment.client.wsimport.GetLicenseTextResponse"
)
String getLicenseText(@WebParam(
        name = "licenseName",
        targetNamespace = ""
) String var1);
 
開發者ID:transwarpio,項目名稱:rapidminer,代碼行數:19,代碼來源:UpdateService.java

示例10: getExtensions

import javax.jws.WebParam; //導入依賴的package包/類
@WebMethod
@WebResult(
        targetNamespace = ""
)
@RequestWrapper(
        localName = "getExtensions",
        targetNamespace = "http://ws.update.deployment.rapid_i.com/",
        className = "com.rapidminer.deployment.client.wsimport.GetExtensions"
)
@ResponseWrapper(
        localName = "getExtensionsResponse",
        targetNamespace = "http://ws.update.deployment.rapid_i.com/",
        className = "com.rapidminer.deployment.client.wsimport.GetExtensionsResponse"
)
List<String> getExtensions(@WebParam(
        name = "basePackage",
        targetNamespace = ""
) String var1);
 
開發者ID:transwarpio,項目名稱:rapidminer,代碼行數:19,代碼來源:UpdateService.java

示例11: anyUpdatesSince

import javax.jws.WebParam; //導入依賴的package包/類
@WebMethod
@WebResult(
        targetNamespace = ""
)
@RequestWrapper(
        localName = "anyUpdatesSince",
        targetNamespace = "http://ws.update.deployment.rapid_i.com/",
        className = "com.rapidminer.deployment.client.wsimport.AnyUpdatesSince"
)
@ResponseWrapper(
        localName = "anyUpdatesSinceResponse",
        targetNamespace = "http://ws.update.deployment.rapid_i.com/",
        className = "com.rapidminer.deployment.client.wsimport.AnyUpdatesSinceResponse"
)
boolean anyUpdatesSince(@WebParam(
        name = "since",
        targetNamespace = ""
) XMLGregorianCalendar var1);
 
開發者ID:transwarpio,項目名稱:rapidminer,代碼行數:19,代碼來源:UpdateService.java

示例12: getUnitsForCluster

import javax.jws.WebParam; //導入依賴的package包/類
/**
 *
 * @param arg0
 * @return returns
 * java.util.List<pl.gda.pg.eti.kernelhive.common.monitoring.service.UnitDefinition>
 */
@WebMethod
@WebResult(targetNamespace = "")
@RequestWrapper(localName = "getUnitsForCluster", targetNamespace = "http://monitoring.engine.kernelhive.eti.pg.gda.pl/", className = "pl.gda.pg.eti.kernelhive.common.monitoring.service.GetUnitsForCluster")
@ResponseWrapper(localName = "getUnitsForClusterResponse", targetNamespace = "http://monitoring.engine.kernelhive.eti.pg.gda.pl/", className = "pl.gda.pg.eti.kernelhive.common.monitoring.service.GetUnitsForClusterResponse")
@Action(input = "http://monitoring.engine.kernelhive.eti.pg.gda.pl/MonitoringClientBean/getUnitsForClusterRequest", output = "http://monitoring.engine.kernelhive.eti.pg.gda.pl/MonitoringClientBean/getUnitsForClusterResponse")
public List<UnitDefinition> getUnitsForCluster(
		@WebParam(name = "arg0", targetNamespace = "") int arg0);
 
開發者ID:roscisz,項目名稱:KernelHive,代碼行數:14,代碼來源:MonitoringClientBean.java

示例13: isComponentLoaded

import javax.jws.WebParam; //導入依賴的package包/類
/**
 * Tells if an Agent component is loaded, so its actions can be called
 *
 * @param componentName the name of the component
 * @return whether it is available
 */
@WebMethod
public boolean isComponentLoaded(
                                  @WebParam( name = "componentName") String componentName ) {

    String caller = getCaller();
    ThreadsPerCaller.registerThread(caller);

    try {
        boolean isLoaded = ActionHandler.isComponentLoaded(caller, componentName);
        log.info("Agent component '" + componentName + "' is " + (isLoaded
                                                                           ? ""
                                                                           : "not ")
                 + "loaded for caller with IP " + caller);
        return isLoaded;
    } finally {
        ThreadsPerCaller.unregisterThread();
    }
}
 
開發者ID:Axway,項目名稱:ats-framework,代碼行數:25,代碼來源:AgentWsImpl.java

示例14: getModeParameterCount

import javax.jws.WebParam; //導入依賴的package包/類
protected int getModeParameterCount(ExecutableElement method, WebParam.Mode mode) {
    WebParam webParam;
    int cnt = 0;
    for (VariableElement param : method.getParameters()) {
        webParam = param.getAnnotation(WebParam.class);
        if (webParam != null) {
            if (webParam.header())
                continue;
            if (isEquivalentModes(mode, webParam.mode()))
                cnt++;
        } else {
            if (isEquivalentModes(mode, WebParam.Mode.IN)) {
                cnt++;
            }
        }
    }
    return cnt;
}
 
開發者ID:AdoptOpenJDK,項目名稱:openjdk-jdk10,代碼行數:19,代碼來源:WebServiceVisitor.java

示例15: subprogramas

import javax.jws.WebParam; //導入依賴的package包/類
@WebResult(name = "return", targetNamespace = "")
@RequestWrapper(localName = "subprogramas", targetNamespace = "localhost", className = "py.gov.stp.mh.clasificadores.Subprogramas")
@WebMethod
@ResponseWrapper(localName = "subprogramasResponse", targetNamespace = "localhost", className = "py.gov.stp.mh.clasificadores.SubprogramasResponse")
public java.util.List<py.gov.stp.mh.clasificadores.Subprograma> subprogramas(
    @WebParam(name = "anio", targetNamespace = "")
    java.lang.Short anio,
    @WebParam(name = "nivel", targetNamespace = "")
    java.lang.Short nivel,
    @WebParam(name = "entidad", targetNamespace = "")
    java.lang.Short entidad,
    @WebParam(name = "tipo", targetNamespace = "")
    java.lang.Short tipo,
    @WebParam(name = "programa", targetNamespace = "")
    java.lang.Short programa
);
 
開發者ID:stppy,項目名稱:spr,代碼行數:17,代碼來源:Clasificadores.java


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