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

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

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

Call.setSOAPActionURI介绍

[英]Set the soapAction URI.
[中]设置soapAction URI。

代码示例

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

try {
  if (wsEndPoint == null || wsEndPoint.trim().length() == 0 || wsNAME == null || wsNAME.trim().length() == 0 ||
    id == null || id.trim().length() == 0 || code == null || code.trim().length() == 0) {
    retVal = "Error: mandatory parameter missing.";
  } else {
    Service  service = new Service();
    Call call = (Call)service.createCall();

    call.setTargetEndpointAddress(new java.net.URL(wsEndPoint));
    call.setOperationName(new QName("http://service.name.it/", wsNAME));
    call.addParameter(new QName("http://service.name.it/", "arg0"), new QName("http://www.w3.org/2001/XMLSchema", "string"), ParameterMode.IN);
    call.addParameter(new QName("http://service.name.it/", "arg1"), new QName("http://www.w3.org/2001/XMLSchema", "string"), ParameterMode.IN);
    call.setSOAPActionURI("");
    call.setEncodingStyle(null);
    call.setProperty(Call.SEND_TYPE_ATTR, Boolean.FALSE);
    call.setProperty(AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);

    retVal = ((String)call.invoke(new Object[] {id, code})).trim();
  }
} catch (Exception e) {
  retVal = String.format("Error: %s.", e.getMessage());

代码示例来源: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: 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.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: org.renci.condor/condor-wsdl

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

_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.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.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.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.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.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.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.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.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.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.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.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.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.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.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});

相关文章