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

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

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

Call.setUseSOAPAction介绍

[英]Flag to indicate if soapAction should be used.
[中]指示是否应使用soapAction的标志。

代码示例

代码示例来源: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

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: org.renci.condor/condor-wsdl

_call.setOperation(_operations[10]);
   _call.setUseSOAPAction(true);
   _call.setSOAPActionURI("");
   _call.setEncodingStyle(null);
   _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
   _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
   _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
   _call.setOperationName(new javax.xml.namespace.QName("urn:condor", "holdJob"));
try {        java.lang.Object _resp = _call.invoke(new java.lang.Object[] {transaction, new java.lang.Integer(clusterId), new java.lang.Integer(jobId), reason, new java.lang.Boolean(emailUser), new java.lang.Boolean(emailAdmin), new java.lang.Boolean(systemHold)});

代码示例来源:origin: stackoverflow.com

InputStream input = new ByteArrayInputStream(apiBody.getBytes());
Service service = new Service();
Call call = (Call) service.createCall();
SOAPEnvelope soapEnvelope = new SOAPEnvelope(input);

call.setTargetEndpointAddress(new URL(apiUrl));
call.setUseSOAPAction(true);
if(StringUtils.isNotEmpty(actionURI)){
 call.setSOAPActionURI(actionURI);
}

soapEnvelope = call.invoke(soapEnvelope);
return soapEnvelope.toString();

代码示例来源:origin: org.renci.condor/condor-wsdl

_call.setOperation(_operations[17]);
   _call.setUseSOAPAction(true);
   _call.setSOAPActionURI("");
   _call.setEncodingStyle(null);
   _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
   _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
   _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
   _call.setOperationName(new javax.xml.namespace.QName("urn:condor", "getFile"));
try {        java.lang.Object _resp = _call.invoke(new java.lang.Object[] {transaction, new java.lang.Integer(clusterId), new java.lang.Integer(jobId), name, new java.lang.Integer(offset), new java.lang.Integer(length)});

代码示例来源:origin: org.renci.condor/condor-wsdl

_call.setOperation(_operations[15]);
   _call.setUseSOAPAction(true);
   _call.setSOAPActionURI("");
   _call.setEncodingStyle(null);
   _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
   _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
   _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
   _call.setOperationName(new javax.xml.namespace.QName("urn:condor", "declareFile"));
try {        java.lang.Object _resp = _call.invoke(new java.lang.Object[] {transaction, new java.lang.Integer(clusterId), new java.lang.Integer(jobId), name, new java.lang.Integer(size), hashType, hash});

代码示例来源:origin: org.renci.condor/condor-wsdl

_call.setOperation(_operations[16]);
   _call.setUseSOAPAction(true);
   _call.setSOAPActionURI("");
   _call.setEncodingStyle(null);
   _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
   _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
   _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
   _call.setOperationName(new javax.xml.namespace.QName("urn:condor", "sendFile"));
try {        java.lang.Object _resp = _call.invoke(new java.lang.Object[] {transaction, new java.lang.Integer(clusterId), new java.lang.Integer(jobId), name, new java.lang.Integer(offset), data});

代码示例来源:origin: org.renci.condor/condor-wsdl

_call.setOperation(_operations[9]);
   _call.setUseSOAPAction(true);
   _call.setSOAPActionURI("");
   _call.setEncodingStyle(null);
   _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
   _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
   _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
   _call.setOperationName(new javax.xml.namespace.QName("urn:condor", "removeJob"));
try {        java.lang.Object _resp = _call.invoke(new java.lang.Object[] {transaction, new java.lang.Integer(clusterId), new java.lang.Integer(jobId), reason, new java.lang.Boolean(forceRemoval)});

代码示例来源:origin: com.aoindustries/ao-credit-cards-sagePayments

_call.setOperation(_operations[1]);
   _call.setUseSOAPAction(true);
   _call.setSOAPActionURI("https://www.sagepayments.net/web_services/wsVault/wsVault/UPDATE_DATA");
   _call.setEncodingStyle(null);
   _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
   _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
   _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
   _call.setOperationName(new javax.xml.namespace.QName("https://www.sagepayments.net/web_services/wsVault/wsVault", "UPDATE_DATA"));
try {        java.lang.Object _resp = _call.invoke(new java.lang.Object[] {m_ID, m_KEY, GUID, DATA});

代码示例来源:origin: com.aoindustries/ao-credit-cards-sagePayments

_call.setOperation(_operations[3]);
   _call.setUseSOAPAction(true);
   _call.setSOAPActionURI("https://www.sagepayments.net/web_services/wsVault/wsVault/DELETE_DATA");
   _call.setEncodingStyle(null);
   _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
   _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
   _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
   _call.setOperationName(new javax.xml.namespace.QName("https://www.sagepayments.net/web_services/wsVault/wsVault", "DELETE_DATA"));
try {        java.lang.Object _resp = _call.invoke(new java.lang.Object[] {m_ID, m_KEY, GUID});

代码示例来源:origin: org.renci.condor/condor-wsdl

_call.setOperation(_operations[22]);
   _call.setUseSOAPAction(true);
   _call.setSOAPActionURI("");
   _call.setEncodingStyle(null);
   _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
   _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
   _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
   _call.setOperationName(new javax.xml.namespace.QName("urn:condor", "createJobTemplate"));
try {        java.lang.Object _resp = _call.invoke(new java.lang.Object[] {new java.lang.Integer(clusterId), new java.lang.Integer(jobId), owner, type, cmd, args, requirements});

代码示例来源:origin: com.aoindustries/ao-credit-cards-sagePayments

_call.setOperation(_operations[4]);
   _call.setUseSOAPAction(true);
   _call.setSOAPActionURI("https://www.sagepayments.net/web_services/wsVault/wsVault/VERIFY_SERVICE");
   _call.setEncodingStyle(null);
   _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
   _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
   _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
   _call.setOperationName(new javax.xml.namespace.QName("https://www.sagepayments.net/web_services/wsVault/wsVault", "VERIFY_SERVICE"));
try {        java.lang.Object _resp = _call.invoke(new java.lang.Object[] {m_ID, m_KEY});

代码示例来源:origin: org.renci.condor/condor-wsdl

_call.setOperation(_operations[7]);
   _call.setUseSOAPAction(true);
   _call.setSOAPActionURI("");
   _call.setEncodingStyle(null);
   _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
   _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
   _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
   _call.setOperationName(new javax.xml.namespace.QName("urn:condor", "removeCluster"));
try {        java.lang.Object _resp = _call.invoke(new java.lang.Object[] {transaction, new java.lang.Integer(clusterId), reason});

代码示例来源:origin: org.renci.condor/condor-wsdl

_call.setOperation(_operations[2]);
   _call.setUseSOAPAction(true);
   _call.setSOAPActionURI("");
   _call.setEncodingStyle(null);
   _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
   _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
   _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
   _call.setOperationName(new javax.xml.namespace.QName("urn:condor", "beginTransaction"));
try {        java.lang.Object _resp = _call.invoke(new java.lang.Object[] {new java.lang.Integer(duration)});

代码示例来源:origin: org.renci.condor/condor-wsdl

_call.setOperation(_operations[5]);
   _call.setUseSOAPAction(true);
   _call.setSOAPActionURI("");
   _call.setEncodingStyle(null);
   _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
   _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
   _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
   _call.setOperationName(new javax.xml.namespace.QName("urn:condor", "extendTransaction"));
try {        java.lang.Object _resp = _call.invoke(new java.lang.Object[] {transaction, new java.lang.Integer(duration)});

代码示例来源:origin: org.renci.condor/condor-wsdl

_call.setOperation(_operations[8]);
   _call.setUseSOAPAction(true);
   _call.setSOAPActionURI("");
   _call.setEncodingStyle(null);
   _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
   _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
   _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
   _call.setOperationName(new javax.xml.namespace.QName("urn:condor", "newJob"));
try {        java.lang.Object _resp = _call.invoke(new java.lang.Object[] {transaction, new java.lang.Integer(clusterId)});

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

_call.setOperation(_operations[0]);
   _call.setUseSOAPAction(true);
   _call.setSOAPActionURI("HPD_IncidentInterface_WS/HelpDesk_Query_Service");
   _call.setEncodingStyle(null);
   _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
   _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
   _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
   _call.setOperationName(new javax.xml.namespace.QName("", "HelpDesk_Query_Service"));
try {        java.lang.Object _resp = _call.invoke(new java.lang.Object[] {parameters, ARAuthenticate});

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

_call.setOperation(_operations[1]);
   _call.setUseSOAPAction(true);
   _call.setSOAPActionURI("HPD_IncidentInterface_WS/HelpDesk_QueryList_Service");
   _call.setEncodingStyle(null);
   _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
   _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
   _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
   _call.setOperationName(new javax.xml.namespace.QName("", "HelpDesk_QueryList_Service"));
try {        java.lang.Object _resp = _call.invoke(new java.lang.Object[] {parameters, ARAuthenticate});

代码示例来源:origin: com.aoindustries/ao-credit-cards-sagePayments

_call.setOperation(_operations[1]);
   _call.setUseSOAPAction(true);
   _call.setSOAPActionURI("https://www.sagepayments.net/web_services/wsVault/wsVaultBankcard/VAULT_BANKCARD_AUTHONLY");
   _call.setEncodingStyle(null);
   _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
   _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
   _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
   _call.setOperationName(new javax.xml.namespace.QName("https://www.sagepayments.net/web_services/wsVault/wsVaultBankcard", "VAULT_BANKCARD_AUTHONLY"));
try {        java.lang.Object _resp = _call.invoke(new java.lang.Object[] {m_ID, m_KEY, c_NAME, c_ADDRESS, c_CITY, c_STATE, c_ZIP, c_COUNTRY, c_EMAIL, GUID, t_CUSTOMER_NUMBER, t_AMT, t_SHIPPING, t_TAX, t_ORDERNUM, c_TELEPHONE, c_FAX, c_SHIP_NAME, c_SHIP_ADDRESS, c_SHIP_CITY, c_SHIP_STATE, c_SHIP_ZIP, c_SHIP_COUNTRY});

代码示例来源:origin: com.aoindustries/ao-credit-cards-sagePayments

_call.setOperation(_operations[0]);
   _call.setUseSOAPAction(true);
   _call.setSOAPActionURI("https://www.sagepayments.net/web_services/vterm_extensions/TRANSACTION_PROCESSING/BANKCARD_SALE");
   _call.setEncodingStyle(null);
   _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
   _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
   _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
   _call.setOperationName(new javax.xml.namespace.QName("https://www.sagepayments.net/web_services/vterm_extensions/TRANSACTION_PROCESSING", "BANKCARD_SALE"));
try {        java.lang.Object _resp = _call.invoke(new java.lang.Object[] {m_ID, m_KEY, c_NAME, c_ADDRESS, c_CITY, c_STATE, c_ZIP, c_COUNTRY, c_EMAIL, c_CARDNUMBER, c_EXP, c_CVV, t_CUSTOMER_NUMBER, t_AMT, t_SHIPPING, t_TAX, t_ORDERNUM, c_TELEPHONE, c_FAX, c_SHIP_NAME, c_SHIP_ADDRESS, c_SHIP_CITY, c_SHIP_STATE, c_SHIP_ZIP, c_SHIP_COUNTRY});

相关文章