当前位置: 首页>>代码示例>>Java>>正文


Java ParameterStyle类代码示例

本文整理汇总了Java中javax.jws.soap.SOAPBinding.ParameterStyle的典型用法代码示例。如果您正苦于以下问题:Java ParameterStyle类的具体用法?Java ParameterStyle怎么用?Java ParameterStyle使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


ParameterStyle类属于javax.jws.soap.SOAPBinding包,在下文中一共展示了ParameterStyle类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: popSoapBinding

import javax.jws.soap.SOAPBinding.ParameterStyle; //导入依赖的package包/类
protected SOAPBinding popSoapBinding() {
    if (pushedSoapBinding)
        soapBindingStack.pop();
    SOAPBinding soapBinding = null;
    if (!soapBindingStack.empty()) {
        soapBinding = soapBindingStack.peek();
        if (soapBinding.style().equals(SOAPBinding.Style.RPC)) {
            soapStyle = SOAPStyle.RPC;
            wrapped = true;
        } else {
            soapStyle = SOAPStyle.DOCUMENT;
            wrapped = soapBinding.parameterStyle().equals(ParameterStyle.WRAPPED);
        }
    } else {
            pushedSoapBinding = false;
    }
    return soapBinding;
}
 
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:19,代码来源:WebServiceVisitor.java

示例2: swaAttachment

import javax.jws.soap.SOAPBinding.ParameterStyle; //导入依赖的package包/类
/**
 * This method passes an SWA attachment as a request
 * and expects an SWA attachment as a response.
 * Note that the body content in both cases is empty.
 * (See the wsdl)
 * @param attachment (swa)
 * @return attachment (swa)
 */
@WebMethod(operationName="swaAttachment", action="swaAttachment")
@XmlJavaTypeAdapter(HexBinaryAdapter.class)
@WebResult(name = "jpegImageResponse", targetNamespace = "", partName = "jpegImageResponse")
@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)
public byte[] swaAttachment(
      @XmlJavaTypeAdapter(HexBinaryAdapter.class)
      @WebParam(name = "jpegImageRequest", targetNamespace = "", partName = "jpegImageRequest")
      byte[] attachment) {
    if (attachment == null || attachment.length == 0){
        throw new RuntimeException("Received empty attachment");
    } else {
        // Change the first three characters and return the attachment
        attachment[0] = 'S';
        attachment[1] = 'W';
        attachment[2] = 'A';
    }
    return attachment;
}
 
开发者ID:wso2,项目名称:wso2-axis2,代码行数:27,代码来源:SWAMTOMPortTypeImpl.java

示例3: mtomAttachment

import javax.jws.soap.SOAPBinding.ParameterStyle; //导入依赖的package包/类
@WebMethod(operationName="mtomAttachment", action="mtomAttachment")
@SOAPBinding(parameterStyle=ParameterStyle.BARE)
public void mtomAttachment(Holder<byte[]> message) {

    byte[] attachment = message.value;

    if (attachment == null || attachment.length == 0){
        throw new RuntimeException("Received empty mtom attachment");
    } else {
        // Change the first characters
        attachment[0] = 'X';
        attachment[1] = 'O';
        attachment[2] = 'P';
    }

    message.value = attachment;
}
 
开发者ID:wso2,项目名称:wso2-axis2,代码行数:18,代码来源:SWAMTOMPortTypeImpl.java

示例4: popSOAPBinding

import javax.jws.soap.SOAPBinding.ParameterStyle; //导入依赖的package包/类
protected SOAPBinding popSOAPBinding() {
    if (pushedSOAPBinding)
        soapBindingStack.pop();
    SOAPBinding soapBinding = null;
    if (!soapBindingStack.empty()) {
        soapBinding = soapBindingStack.peek();
        if (soapBinding.style().equals(SOAPBinding.Style.RPC)) {
            soapStyle = SOAPStyle.RPC;
            wrapped = true;
        } else {
            soapStyle = SOAPStyle.DOCUMENT;
            wrapped = soapBinding.parameterStyle().equals(ParameterStyle.WRAPPED);
        }
    }
    return soapBinding;
}
 
开发者ID:alexkasko,项目名称:openjdk-icedtea7,代码行数:17,代码来源:WebServiceVisitor.java

示例5: login

import javax.jws.soap.SOAPBinding.ParameterStyle; //导入依赖的package包/类
@WebMethod
@SOAPBinding(parameterStyle=ParameterStyle.BARE)
@Action(input="http://www.informatica.com/wsh/DataIntegrationInterface/LoginRequest", fault =
    { @FaultAction(value="http://www.informatica.com/wsh/DataIntegrationInterface/login/Fault/Fault",
        className=com.informatica.wsh.Fault.class) }, output="http://www.informatica.com/wsh/DataIntegrationInterface/LoginResponse")
@WebResult(targetNamespace="http://www.informatica.com/wsh", partName="param",
  name="LoginReturn")
public String login(@WebParam(targetNamespace="http://www.informatica.com/wsh",
    partName="param", name="Login")
  com.informatica.wsh.LoginRequest param, @WebParam(targetNamespace="http://www.informatica.com/wsh",
    partName="Context", name="Context", header=true, mode=Mode.OUT)
  Holder<com.informatica.wsh.SessionHeader> Context)
  throws com.informatica.wsh.Fault;
 
开发者ID:consag,项目名称:fitnessefixtures,代码行数:14,代码来源:DataIntegrationInterface.java

示例6: logout

import javax.jws.soap.SOAPBinding.ParameterStyle; //导入依赖的package包/类
@WebMethod
@SOAPBinding(parameterStyle=ParameterStyle.BARE)
@Action(input="http://www.informatica.com/wsh/DataIntegrationInterface/LogoutRequest", fault =
    { @FaultAction(value="http://www.informatica.com/wsh/DataIntegrationInterface/logout/Fault/Fault",
        className=com.informatica.wsh.Fault.class) }, output="http://www.informatica.com/wsh/DataIntegrationInterface/LogoutResponse")
@WebResult(targetNamespace="http://www.informatica.com/wsh", partName="param",
  name="LogoutReturn")
public com.informatica.wsh.VoidResponse logout(@WebParam(targetNamespace="http://www.informatica.com/wsh",
    partName="param", name="Logout")
  com.informatica.wsh.VoidRequest param, @WebParam(targetNamespace="http://www.informatica.com/wsh",
    partName="Context", name="Context", header=true)
  com.informatica.wsh.SessionHeader Context)
  throws com.informatica.wsh.Fault;
 
开发者ID:consag,项目名称:fitnessefixtures,代码行数:14,代码来源:DataIntegrationInterface.java

示例7: initializeDIServerConnection

import javax.jws.soap.SOAPBinding.ParameterStyle; //导入依赖的package包/类
@WebMethod
@SOAPBinding(parameterStyle=ParameterStyle.BARE)
@Action(input="http://www.informatica.com/wsh/DataIntegrationInterface/InitializeDIServerConnectionRequest", fault =
    { @FaultAction(value="http://www.informatica.com/wsh/DataIntegrationInterface/initializeDIServerConnection/Fault/Fault",
        className=com.informatica.wsh.Fault.class) }, output="http://www.informatica.com/wsh/DataIntegrationInterface/InitializeDIServerConnectionResponse")
@WebResult(targetNamespace="http://www.informatica.com/wsh", partName="param",
  name="InitializeDIServerConnectionReturn")
public com.informatica.wsh.VoidResponse initializeDIServerConnection(@WebParam(targetNamespace="http://www.informatica.com/wsh",
    partName="param", name="InitializeDIServerConnection")
  com.informatica.wsh.InitializeDIServerConnectionRequest param,
  @WebParam(targetNamespace="http://www.informatica.com/wsh", partName="Context",
    name="Context", header=true)
  com.informatica.wsh.SessionHeader Context)
  throws com.informatica.wsh.Fault;
 
开发者ID:consag,项目名称:fitnessefixtures,代码行数:15,代码来源:DataIntegrationInterface.java

示例8: deinitializeDIServerConnection

import javax.jws.soap.SOAPBinding.ParameterStyle; //导入依赖的package包/类
@WebMethod
@SOAPBinding(parameterStyle=ParameterStyle.BARE)
@Action(input="http://www.informatica.com/wsh/DataIntegrationInterface/DeinitializeDIServerConnectionRequest", fault =
    { @FaultAction(value="http://www.informatica.com/wsh/DataIntegrationInterface/deinitializeDIServerConnection/Fault/Fault",
        className=com.informatica.wsh.Fault.class) }, output="http://www.informatica.com/wsh/DataIntegrationInterface/DeinitializeDIServerConnectionResponse")
@WebResult(targetNamespace="http://www.informatica.com/wsh", partName="param",
  name="DeinitializeDIServerConnectionReturn")
public com.informatica.wsh.VoidResponse deinitializeDIServerConnection(@WebParam(targetNamespace="http://www.informatica.com/wsh",
    partName="param", name="DeinitializeDIServerConnection")
  com.informatica.wsh.VoidRequest param, @WebParam(targetNamespace="http://www.informatica.com/wsh",
    partName="Context", name="Context", header=true)
  com.informatica.wsh.SessionHeader Context)
  throws com.informatica.wsh.Fault;
 
开发者ID:consag,项目名称:fitnessefixtures,代码行数:14,代码来源:DataIntegrationInterface.java

示例9: startWorkflowLogFetch

import javax.jws.soap.SOAPBinding.ParameterStyle; //导入依赖的package包/类
@WebMethod
@SOAPBinding(parameterStyle=ParameterStyle.BARE)
@Action(input="http://www.informatica.com/wsh/DataIntegrationInterface/StartWorkflowLogFetchRequest", fault =
    { @FaultAction(value="http://www.informatica.com/wsh/DataIntegrationInterface/startWorkflowLogFetch/Fault/Fault",
        className=com.informatica.wsh.Fault.class) }, output="http://www.informatica.com/wsh/DataIntegrationInterface/StartWorkflowLogFetchResponse")
@WebResult(targetNamespace="http://www.informatica.com/wsh", partName="param",
  name="StartWorkflowLogFetchReturn")
public int startWorkflowLogFetch(@WebParam(targetNamespace="http://www.informatica.com/wsh",
    partName="param", name="StartWorkflowLogFetch")
  com.informatica.wsh.StartWorkflowLogFetchRequest param,
  @WebParam(targetNamespace="http://www.informatica.com/wsh", partName="Context",
    name="Context", header=true)
  com.informatica.wsh.SessionHeader Context)
  throws com.informatica.wsh.Fault;
 
开发者ID:consag,项目名称:fitnessefixtures,代码行数:15,代码来源:DataIntegrationInterface.java

示例10: startSessionLogFetch

import javax.jws.soap.SOAPBinding.ParameterStyle; //导入依赖的package包/类
@WebMethod
@SOAPBinding(parameterStyle=ParameterStyle.BARE)
@Action(input="http://www.informatica.com/wsh/DataIntegrationInterface/StartSessionLogFetchRequest", fault =
    { @FaultAction(value="http://www.informatica.com/wsh/DataIntegrationInterface/startSessionLogFetch/Fault/Fault",
        className=com.informatica.wsh.Fault.class) }, output="http://www.informatica.com/wsh/DataIntegrationInterface/StartSessionLogFetchResponse")
@WebResult(targetNamespace="http://www.informatica.com/wsh", partName="param",
  name="StartSessionLogFetchReturn")
public int startSessionLogFetch(@WebParam(targetNamespace="http://www.informatica.com/wsh",
    partName="param", name="StartSessionLogFetch")
  com.informatica.wsh.StartSessionLogFetchRequest param,
  @WebParam(targetNamespace="http://www.informatica.com/wsh", partName="Context",
    name="Context", header=true)
  com.informatica.wsh.SessionHeader Context)
  throws com.informatica.wsh.Fault;
 
开发者ID:consag,项目名称:fitnessefixtures,代码行数:15,代码来源:DataIntegrationInterface.java

示例11: getNextLogSegment

import javax.jws.soap.SOAPBinding.ParameterStyle; //导入依赖的package包/类
@WebMethod
@SOAPBinding(parameterStyle=ParameterStyle.BARE)
@Action(input="http://www.informatica.com/wsh/DataIntegrationInterface/GetNextLogSegmentRequest", fault =
    { @FaultAction(value="http://www.informatica.com/wsh/DataIntegrationInterface/getNextLogSegment/Fault/Fault",
        className=com.informatica.wsh.Fault.class) }, output="http://www.informatica.com/wsh/DataIntegrationInterface/GetNextLogSegmentResponse")
@WebResult(targetNamespace="http://www.informatica.com/wsh", partName="param",
  name="GetNextLogSegmentReturn")
public com.informatica.wsh.LogSegment getNextLogSegment(@WebParam(targetNamespace="http://www.informatica.com/wsh",
    partName="param", name="GetNextLogSegment")
  com.informatica.wsh.GetNextLogSegmentRequest param,
  @WebParam(targetNamespace="http://www.informatica.com/wsh", partName="Context",
    name="Context", header=true)
  com.informatica.wsh.SessionHeader Context)
  throws com.informatica.wsh.Fault;
 
开发者ID:consag,项目名称:fitnessefixtures,代码行数:15,代码来源:DataIntegrationInterface.java

示例12: pingDIServer

import javax.jws.soap.SOAPBinding.ParameterStyle; //导入依赖的package包/类
@WebMethod
@SOAPBinding(parameterStyle=ParameterStyle.BARE)
@Action(input="http://www.informatica.com/wsh/DataIntegrationInterface/pingDIServerRequest", fault =
    { @FaultAction(value="http://www.informatica.com/wsh/DataIntegrationInterface/pingDIServer/Fault/Fault",
        className=com.informatica.wsh.Fault.class) }, output="http://www.informatica.com/wsh/DataIntegrationInterface/pingDIServerResponse")
@WebResult(targetNamespace="http://www.informatica.com/wsh", partName="PingDIServerReturn",
  name="PingDIServerReturn")
public com.informatica.wsh.EPingState pingDIServer(@WebParam(targetNamespace="http://www.informatica.com/wsh",
    partName="PingDIServer", name="PingDIServer")
  com.informatica.wsh.PingDIServerRequest PingDIServer,
  @WebParam(targetNamespace="http://www.informatica.com/wsh", partName="Context",
    name="Context", header=true)
  com.informatica.wsh.SessionHeader Context)
  throws com.informatica.wsh.Fault;
 
开发者ID:consag,项目名称:fitnessefixtures,代码行数:15,代码来源:DataIntegrationInterface.java

示例13: getDIServerProperties

import javax.jws.soap.SOAPBinding.ParameterStyle; //导入依赖的package包/类
@WebMethod
@SOAPBinding(parameterStyle=ParameterStyle.BARE)
@Action(input="http://www.informatica.com/wsh/DataIntegrationInterface/getDIServerPropertiesRequest", fault =
    { @FaultAction(value="http://www.informatica.com/wsh/DataIntegrationInterface/getDIServerProperties/Fault/Fault",
        className=com.informatica.wsh.Fault.class) }, output="http://www.informatica.com/wsh/DataIntegrationInterface/getDIServerPropertiesResponse")
@WebResult(targetNamespace="http://www.informatica.com/wsh", partName="GetDIServerPropertiesReturn",
  name="GetDIServerPropertiesReturn")
public com.informatica.wsh.DIServerProperties getDIServerProperties(@WebParam(targetNamespace="http://www.informatica.com/wsh",
    partName="GetDIServerProperties", name="GetDIServerProperties")
  com.informatica.wsh.DIServiceInfo GetDIServerProperties,
  @WebParam(targetNamespace="http://www.informatica.com/wsh", partName="Context",
    name="Context", header=true)
  com.informatica.wsh.SessionHeader Context)
  throws com.informatica.wsh.Fault;
 
开发者ID:consag,项目名称:fitnessefixtures,代码行数:15,代码来源:DataIntegrationInterface.java

示例14: startWorkflow

import javax.jws.soap.SOAPBinding.ParameterStyle; //导入依赖的package包/类
@WebMethod
@SOAPBinding(parameterStyle=ParameterStyle.BARE)
@Action(input="http://www.informatica.com/wsh/DataIntegrationInterface/startWorkflowRequest", fault =
    { @FaultAction(value="http://www.informatica.com/wsh/DataIntegrationInterface/startWorkflow/Fault/Fault",
        className=com.informatica.wsh.Fault.class) }, output="http://www.informatica.com/wsh/DataIntegrationInterface/startWorkflowResponse")
@WebResult(targetNamespace="http://www.informatica.com/wsh", partName="StartWorkflowReturn",
  name="StartWorkflowReturn")
public com.informatica.wsh.VoidResponse startWorkflow(@WebParam(targetNamespace="http://www.informatica.com/wsh",
    partName="StartWorkflow", name="StartWorkflow")
  com.informatica.wsh.WorkflowRequest StartWorkflow,
  @WebParam(targetNamespace="http://www.informatica.com/wsh", partName="Context",
    name="Context", header=true)
  com.informatica.wsh.SessionHeader Context)
  throws com.informatica.wsh.Fault;
 
开发者ID:consag,项目名称:fitnessefixtures,代码行数:15,代码来源:DataIntegrationInterface.java

示例15: startWorkflowEx

import javax.jws.soap.SOAPBinding.ParameterStyle; //导入依赖的package包/类
@WebMethod
@SOAPBinding(parameterStyle=ParameterStyle.BARE)
@Action(input="http://www.informatica.com/wsh/DataIntegrationInterface/startWorkflowExRequest", fault =
    { @FaultAction(value="http://www.informatica.com/wsh/DataIntegrationInterface/startWorkflowEx/Fault/Fault",
        className=com.informatica.wsh.Fault.class) }, output="http://www.informatica.com/wsh/DataIntegrationInterface/startWorkflowExResponse")
@WebResult(targetNamespace="http://www.informatica.com/wsh", partName="StartWorkflowExReturn",
  name="StartWorkflowExReturn")
public com.informatica.wsh.TypeStartWorkflowExResponse startWorkflowEx(@WebParam(targetNamespace="http://www.informatica.com/wsh",
    partName="StartWorkflowEx", name="StartWorkflowEx")
  com.informatica.wsh.TypeStartWorkflowExRequest StartWorkflowEx,
  @WebParam(targetNamespace="http://www.informatica.com/wsh", partName="Context",
    name="Context", header=true)
  com.informatica.wsh.SessionHeader Context)
  throws com.informatica.wsh.Fault;
 
开发者ID:consag,项目名称:fitnessefixtures,代码行数:15,代码来源:DataIntegrationInterface.java


注:本文中的javax.jws.soap.SOAPBinding.ParameterStyle类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。