• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

Java SOAPConstants类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了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;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Java InetAddressFactory类代码示例发布时间:2022-05-22
下一篇:
Java IQuickFixProcessor类代码示例发布时间:2022-05-22
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap