org.apache.axis.client.Call.setSOAPVersion()方法的使用及代码示例

x33g5p2x  于2022-01-18 转载在 其他  
字(8.9k)|赞(0)|评价(0)|浏览(194)

本文整理了Java中org.apache.axis.client.Call.setSOAPVersion()方法的一些代码示例,展示了Call.setSOAPVersion()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Call.setSOAPVersion()方法的具体详情如下:
包路径:org.apache.axis.client.Call
类名称:Call
方法名:setSOAPVersion

Call.setSOAPVersion介绍

[英]Allow the user to set the default SOAP version. For SOAP 1.2, pass SOAPConstants.SOAP12_CONSTANTS.
[中]允许用户设置默认的SOAP版本。对于SOAP1.2,传递SOAPConstants。SOAP12_常数。

代码示例

代码示例来源:origin: org.n52.metadata/smarteditor-api

/**
 * Initializes the invoker
 *
 * @param pEndpoint Service Endpoint
 */
public void initialize(String pEndpoint) {
  mEndpoint = pEndpoint;
  try {
    mCall = (Call) mService.createCall();
    mCall.setSOAPVersion(SOAPConstants.SOAP12_CONSTANTS);
    mCall.setTargetEndpointAddress(new java.net.URL(mEndpoint));
    if (timeout > -1) {
      mCall.setTimeout(timeout);
    }
  } catch (ServiceException e) {
    LOG.error("Initialization failed: " + e.getLocalizedMessage());
  } catch (MalformedURLException e) {
    LOG.error("Initialization failed: " + e.getLocalizedMessage());
  }
}

代码示例来源:origin: OpenNMS/opennms

public void ticketStateUpdate(org.opennms.integration.otrs.ticketservice.TicketStateUpdate ticketStateUpdate, org.opennms.integration.otrs.ticketservice.Credentials request_header) throws java.rmi.RemoteException {
  if (super.cachedEndpoint == null) {
    throw new org.apache.axis.NoEndPointException();
  }
  org.apache.axis.client.Call _call = createCall();
  _call.setOperation(_operations[5]);
  _call.setUseSOAPAction(true);
  _call.setSOAPActionURI("http://opennms.org/integration/otrs/ticketservice#TicketStateUpdate");
  _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
  _call.setOperationName(new javax.xml.namespace.QName("http://opennms.org/integration/otrs/ticketservice", "TicketStateUpdate"));
  setRequestHeaders(_call);
  setAttachments(_call);
  _call.invokeOneWay(new java.lang.Object[] {ticketStateUpdate, request_header});
}

代码示例来源:origin: OpenNMS/opennms

_call.setUseSOAPAction(true);
_call.setSOAPActionURI("http://opennms.org/integration/otrs/ticketservice#ArticleCreate");
_call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
_call.setOperationName(new javax.xml.namespace.QName("http://opennms.org/integration/otrs/ticketservice", "ArticleCreate"));

代码示例来源:origin: pl.edu.icm.synat/synat-business-services-impl

_call.setUseSOAPAction(true);
_call.setSOAPActionURI("http://www.mantisbt.org/bugs/api/soap/mantisconnect.php/mc_issue_delete");
_call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
_call.setOperationName(new javax.xml.namespace.QName("http://futureware.biz/mantisconnect", "mc_issue_delete"));

代码示例来源:origin: pl.edu.icm.synat/synat-business-services-impl

_call.setUseSOAPAction(true);
_call.setSOAPActionURI("http://www.mantisbt.org/bugs/api/soap/mantisconnect.php/mc_issue_attachment_delete");
_call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
_call.setOperationName(new javax.xml.namespace.QName("http://futureware.biz/mantisconnect", "mc_issue_attachment_delete"));

代码示例来源:origin: pl.edu.icm.synat/synat-business-services-impl

_call.setUseSOAPAction(true);
_call.setSOAPActionURI("http://www.mantisbt.org/bugs/api/soap/mantisconnect.php/mc_project_version_update");
_call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
_call.setOperationName(new javax.xml.namespace.QName("http://futureware.biz/mantisconnect", "mc_project_version_update"));

代码示例来源:origin: org.apache.openejb/openejb-axis

public void prepareCall(final Call call) {
  call.setOperation(operationDesc);
  call.setUseSOAPAction(useSOAPAction);
  call.setSOAPActionURI(soapActionURI);
  call.setSOAPVersion(soapVersion);
  call.setOperationName(operationName);
  //GAH!!!
  call.setOperationStyle(operationDesc.getStyle());
  call.setOperationUse(operationDesc.getUse());
}

代码示例来源:origin: OpenNMS/opennms

_call.setUseSOAPAction(true);
_call.setSOAPActionURI("http://opennms.org/integration/otrs/ticketservice#ArticleGetAllByTicketNumber");
_call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
_call.setOperationName(new javax.xml.namespace.QName("http://opennms.org/integration/otrs/ticketservice", "ArticleGetAllByTicketNumber"));

代码示例来源:origin: OpenNMS/opennms

_call.setUseSOAPAction(true);
_call.setSOAPActionURI("http://opennms.org/integration/otrs/ticketservice#GetById");
_call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
_call.setOperationName(new javax.xml.namespace.QName("http://opennms.org/integration/otrs/ticketservice", "GetById"));

代码示例来源:origin: OpenNMS/opennms

_call.setUseSOAPAction(true);
_call.setSOAPActionURI("http://opennms.org/integration/otrs/ticketservice#GetByNumber");
_call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
_call.setOperationName(new javax.xml.namespace.QName("http://opennms.org/integration/otrs/ticketservice", "GetByNumber"));

代码示例来源:origin: OpenNMS/opennms

_call.setUseSOAPAction(true);
_call.setSOAPActionURI("http://opennms.org/integration/otrs/ticketservice#TicketGetByNumber");
_call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
_call.setOperationName(new javax.xml.namespace.QName("http://opennms.org/integration/otrs/ticketservice", "TicketGetByNumber"));

代码示例来源:origin: OpenNMS/opennms

_call.setUseSOAPAction(true);
_call.setSOAPActionURI("http://opennms.org/integration/otrs/ticketservice#ArticleGetAllByTicketID");
_call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
_call.setOperationName(new javax.xml.namespace.QName("http://opennms.org/integration/otrs/ticketservice", "ArticleGetAllByTicketID"));

代码示例来源:origin: OpenNMS/opennms

_call.setUseSOAPAction(true);
_call.setSOAPActionURI("http://opennms.org/integration/otrs/ticketservice#TicketGetByID");
_call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
_call.setOperationName(new javax.xml.namespace.QName("http://opennms.org/integration/otrs/ticketservice", "TicketGetByID"));

代码示例来源:origin: OpenNMS/opennms

_call.setUseSOAPAction(true);
_call.setSOAPActionURI("http://opennms.org/integration/otrs/ticketservice#TicketCreate");
_call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
_call.setOperationName(new javax.xml.namespace.QName("http://opennms.org/integration/otrs/ticketservice", "TicketCreate"));

代码示例来源:origin: pl.edu.icm.synat/synat-business-services-impl

_call.setUseSOAPAction(true);
_call.setSOAPActionURI("http://www.mantisbt.org/bugs/api/soap/mantisconnect.php/mc_enum_reproducibilities");
_call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
_call.setOperationName(new javax.xml.namespace.QName("http://futureware.biz/mantisconnect", "mc_enum_reproducibilities"));

代码示例来源:origin: pl.edu.icm.synat/synat-business-services-impl

_call.setUseSOAPAction(true);
_call.setSOAPActionURI("http://www.mantisbt.org/bugs/api/soap/mantisconnect.php/mc_enum_view_states");
_call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
_call.setOperationName(new javax.xml.namespace.QName("http://futureware.biz/mantisconnect", "mc_enum_view_states"));

代码示例来源:origin: pl.edu.icm.synat/synat-business-services-impl

_call.setUseSOAPAction(true);
_call.setSOAPActionURI("http://www.mantisbt.org/bugs/api/soap/mantisconnect.php/mc_issue_get");
_call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
_call.setOperationName(new javax.xml.namespace.QName("http://futureware.biz/mantisconnect", "mc_issue_get"));

代码示例来源:origin: pl.edu.icm.synat/synat-business-services-impl

_call.setUseSOAPAction(true);
_call.setSOAPActionURI("http://www.mantisbt.org/bugs/api/soap/mantisconnect.php/mc_project_add_category");
_call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
_call.setOperationName(new javax.xml.namespace.QName("http://futureware.biz/mantisconnect", "mc_project_add_category"));

代码示例来源:origin: pl.edu.icm.synat/synat-business-services-impl

_call.setUseSOAPAction(true);
_call.setSOAPActionURI("http://www.mantisbt.org/bugs/api/soap/mantisconnect.php/mc_project_rename_category_by_name");
_call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
_call.setOperationName(new javax.xml.namespace.QName("http://futureware.biz/mantisconnect", "mc_project_rename_category_by_name"));

代码示例来源:origin: org.jenkins-ci/jira-api

_call.setUseSOAPAction(true);
_call.setSOAPActionURI("");
_call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
_call.setOperationName(new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "getServerInfo"));

相关文章