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

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

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

Call.setEncodingStyle介绍

[英]Sets the encoding style to the URL passed in.
[中]将编码样式设置为传入的URL。

代码示例

代码示例来源: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: 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", "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: 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: 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: 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", "listSpool"));
try {        java.lang.Object _resp = _call.invoke(new java.lang.Object[] {transaction, new java.lang.Integer(clusterId), new java.lang.Integer(jobId)});

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

_call.setUseSOAPAction(true);
   _call.setSOAPActionURI("HPD_IncidentInterface_WS/HelpDesk_Modify_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_Modify_Service"));
try {        java.lang.Object _resp = _call.invoke(new java.lang.Object[] {parameters, ARAuthenticate});

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

_call.setUseSOAPAction(true);
   _call.setSOAPActionURI("urn:HPD_IncidentInterface_Create_WS/HelpDesk_Submit_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_Submit_Service"));
try {        java.lang.Object _resp = _call.invoke(new java.lang.Object[] {ARAuthenticate, parameters});

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

相关文章