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


Java SOAPConstants类代码示例

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


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

示例1: MSS_Registration

import org.apache.axis.soap.SOAPConstants; //导入依赖的package包/类
@Override
public MSSRegistrationResp MSS_Registration(final MSSRegistrationReq req) throws java.rmi.RemoteException {
    if (super.cachedEndpoint == null) {
        throw new org.apache.axis.NoEndPointException();
    }
    Call _call1 = this.createCall(SOAPConstants.SOAP12_CONSTANTS,
                                  null,
                                  _operations[0]);
    _call1.setProperty(Call.SEND_TYPE_ATTR, Boolean.FALSE);
    _call1.setProperty(AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
    _call1.setSOAPActionURI("#MSS_Registration");

    this.setRequestHeaders(_call1);
    Object _resp = _call1.invoke(new Object[] {req});

    if (_resp instanceof java.rmi.RemoteException) {
        throw (java.rmi.RemoteException)_resp;
    }
    else {
        return (MSSRegistrationResp) _resp;
    }
}
 
开发者ID:laverca,项目名称:laverca,代码行数:23,代码来源:MSS_RegistrationBindingStub.java

示例2: MSS_ProfileQuery

import org.apache.axis.soap.SOAPConstants; //导入依赖的package包/类
@Override
public MSSProfileResp MSS_ProfileQuery(MSSProfileReq req) throws java.rmi.RemoteException {
    if (super.cachedEndpoint == null) {
        throw new org.apache.axis.NoEndPointException();
    }
    Call _call1 = this.createCall(SOAPConstants.SOAP12_CONSTANTS,
                                  null,
                                  _operations[0]);
    _call1.setProperty(Call.SEND_TYPE_ATTR, Boolean.FALSE);
    _call1.setProperty(AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
    _call1.setSOAPActionURI("#MSS_ProfileQuery");

    this.setRequestHeaders(_call1);
    Object _resp = _call1.invoke(new Object[] {req});

    if (_resp instanceof java.rmi.RemoteException) {
        throw (java.rmi.RemoteException)_resp;
    }
    else {
        return (MSSProfileResp) _resp;
    }
}
 
开发者ID:laverca,项目名称:laverca,代码行数:23,代码来源:MSS_ProfileQueryBindingStub.java

示例3: MSS_Signature

import org.apache.axis.soap.SOAPConstants; //导入依赖的package包/类
@Override
public MSSSignatureResp MSS_Signature(MSSSignatureReq req) throws java.rmi.RemoteException {

    if (super.cachedEndpoint == null) {
        throw new org.apache.axis.NoEndPointException();
    }
    Call _call1 = this.createCall(SOAPConstants.SOAP12_CONSTANTS,
                                  null,
                                  _operations[0]);
    _call1.setProperty(Call.SEND_TYPE_ATTR, Boolean.FALSE);
    _call1.setProperty(AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
    _call1.setSOAPActionURI("#MSS_Signature");

    this.setRequestHeaders(_call1);
    Object _resp = _call1.invoke(new Object[] {req});

    if (_resp instanceof java.rmi.RemoteException) {
        throw (java.rmi.RemoteException)_resp;
    }
    else {
        return (MSSSignatureResp) _resp;
    }
}
 
开发者ID:laverca,项目名称:laverca,代码行数:24,代码来源:MSS_SignatureBindingStub.java

示例4: MSS_StatusQuery

import org.apache.axis.soap.SOAPConstants; //导入依赖的package包/类
@Override
public MSSStatusResp MSS_StatusQuery(MSSStatusReq req) throws java.rmi.RemoteException {
    if (super.cachedEndpoint == null) {
        throw new org.apache.axis.NoEndPointException();
    }
    Call _call1 = this.createCall(SOAPConstants.SOAP12_CONSTANTS,
                                  null,
                                  _operations[0]);
    _call1.setProperty(Call.SEND_TYPE_ATTR, Boolean.FALSE);
    _call1.setProperty(AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
    _call1.setSOAPActionURI("#MSS_StatusQuery");

    this.setRequestHeaders(_call1);
    Object _resp = _call1.invoke(new Object[] {req});

    if (_resp instanceof java.rmi.RemoteException) {
        throw (java.rmi.RemoteException)_resp;
    }
    else {
        return (MSSStatusResp) _resp;
    }
}
 
开发者ID:laverca,项目名称:laverca,代码行数:23,代码来源:MSS_StatusQueryBindingStub.java

示例5: MSS_Handshake

import org.apache.axis.soap.SOAPConstants; //导入依赖的package包/类
@Override
public MSSHandshakeResp MSS_Handshake(MSSHandshakeReq MSS_HandshakeReq) throws java.rmi.RemoteException {
    if (super.cachedEndpoint == null) {
        throw new org.apache.axis.NoEndPointException();
    }
    Call _call1 = this.createCall(SOAPConstants.SOAP12_CONSTANTS,
                                  null,
                                  _operations[0]);
    _call1.setProperty(Call.SEND_TYPE_ATTR, Boolean.FALSE);
    _call1.setProperty(AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
    _call1.setSOAPActionURI("#MSS_Handshake");

    this.setRequestHeaders(_call1);
    Object _resp = _call1.invoke(new Object[] {MSS_HandshakeReq});

    if (_resp instanceof java.rmi.RemoteException) {
        throw (java.rmi.RemoteException)_resp;
    }
    else {
        return (MSSHandshakeResp) _resp;
    }
}
 
开发者ID:laverca,项目名称:laverca,代码行数:23,代码来源:MSS_HandshakeBindingStub.java

示例6: MSS_Receipt

import org.apache.axis.soap.SOAPConstants; //导入依赖的package包/类
@Override
public MSSReceiptResp MSS_Receipt(MSSReceiptReq req) throws java.rmi.RemoteException {
    if (super.cachedEndpoint == null) {
        throw new org.apache.axis.NoEndPointException();
    }
    Call _call1 = this.createCall(SOAPConstants.SOAP12_CONSTANTS,
                                  null,
                                  _operations[0]);
    _call1.setProperty(Call.SEND_TYPE_ATTR, Boolean.FALSE);
    _call1.setProperty(AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
    _call1.setSOAPActionURI("#MSS_Receipt");

    this.setRequestHeaders(_call1);
    Object _resp = _call1.invoke(new Object[] {req});

    if (_resp instanceof java.rmi.RemoteException) {
        throw (java.rmi.RemoteException)_resp;
    }
    else {
        return (MSSReceiptResp) _resp;
    }
}
 
开发者ID:laverca,项目名称:laverca,代码行数:23,代码来源:MSS_ReceiptBindingStub.java

示例7: createCall

import org.apache.axis.soap.SOAPConstants; //导入依赖的package包/类
/**
 * Create a call with common parameter preparation.
 *
 * @param soapConstants Preferably SOAP12Constants
 * @param encodingStyleURI null or Constants.URI_SOAP12_ENC, or Constants.URI_SOAP12_NOENC
 * @param operationDesc OperationDesc
 * @return Prepared Call object.
 * @throws RemoteException for a number of initialization failures
 */
public Call createCall( final SOAPConstants soapConstants,
                        final String encodingStyleURI,
                        final OperationDesc operationDesc )
    throws RemoteException
{
    final org.apache.axis.client.Call _call1 = this.createCall(encodingStyleURI);
    _call1.setSOAPVersion(soapConstants);
    // Could this be safe not to be filled?
    _call1.setEncodingStyle(encodingStyleURI);

    // OperationDesc fills local type registry as a side function
    _call1.setOperation(operationDesc);

    // Set the operation QName (OperationDesc has top-level ElementQName)
    _call1.setOperationName(operationDesc.getElementQName());

    return _call1;
}
 
开发者ID:laverca,项目名称:laverca,代码行数:28,代码来源:AbstractSoapBindingStub.java

示例8: MSS_Notification

import org.apache.axis.soap.SOAPConstants; //导入依赖的package包/类
@Override
public MSSReceiptReq MSS_Notification(MSSStatusResp req) throws java.rmi.RemoteException {
    if (super.cachedEndpoint == null) {
        throw new org.apache.axis.NoEndPointException();
    }
    Call _call1 = this.createCall(SOAPConstants.SOAP12_CONSTANTS,
                                  null,
                                  _operations[0]);
    _call1.setProperty(Call.SEND_TYPE_ATTR,  Boolean.FALSE);
    _call1.setProperty(AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
    _call1.setSOAPActionURI("#MSS_Notification");

    this.setRequestHeaders(_call1);
    final Object[] reqs = new Object[] {req};
    Object _resp = _call1.invoke(reqs);

    if (_resp instanceof java.rmi.RemoteException) {
        throw (java.rmi.RemoteException)_resp;
    }
    else {
        return (MSSReceiptReq) _resp;
    }
}
 
开发者ID:laverca,项目名称:laverca,代码行数:24,代码来源:MSS_NotificationBindingStub.java

示例9: OperationInfo

import org.apache.axis.soap.SOAPConstants; //导入依赖的package包/类
public OperationInfo(OperationDesc operationDesc, boolean useSOAPAction, String soapActionURI, SOAPConstants soapVersion, QName operationName, String methodName, String methodDesc) {
    this.operationDesc = operationDesc;
    this.useSOAPAction = useSOAPAction;
    this.soapActionURI = soapActionURI;
    this.soapVersion = soapVersion;
    this.operationName = operationName;
    this.methodName = methodName;
    this.methodDesc = methodDesc;
}
 
开发者ID:apache,项目名称:tomee,代码行数:10,代码来源:OperationInfo.java

示例10: getSoapVersion

import org.apache.axis.soap.SOAPConstants; //导入依赖的package包/类
public SOAPConstants getSoapVersion() {
    return soapVersion;
}
 
开发者ID:apache,项目名称:tomee,代码行数:4,代码来源:OperationInfo.java


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