本文整理了Java中org.apache.axis.client.Call.setTargetEndpointAddress()
方法的一些代码示例,展示了Call.setTargetEndpointAddress()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Call.setTargetEndpointAddress()
方法的具体详情如下:
包路径:org.apache.axis.client.Call
类名称:Call
方法名:setTargetEndpointAddress
[英]Sets the endpoint address of the target service port. This address must correspond to the transport specified in the binding for this Call instance.
[中]设置目标服务端口的端点地址。此地址必须与绑定中为此调用实例指定的传输相对应。
代码示例来源:origin: uk.org.mygrid.feta/feta-engine
org.apache.axis.client.Call _call = super._createCall();
if (super.maintainSessionSet) {
_call.setMaintainSession(super.maintainSession);
_call.setUsername(super.cachedUsername);
_call.setPassword(super.cachedPassword);
_call.setTargetEndpointAddress(super.cachedEndpoint);
_call.setTimeout(super.cachedTimeout);
_call.setPortName(super.cachedPortName);
_call.setProperty(key, super.cachedProperties.get(key));
代码示例来源: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: jlfex/hermes
org.apache.axis.client.Call _call = super._createCall();
if (super.maintainSessionSet) {
_call.setMaintainSession(super.maintainSession);
_call.setUsername(super.cachedUsername);
_call.setPassword(super.cachedPassword);
_call.setTargetEndpointAddress(super.cachedEndpoint);
_call.setTimeout(super.cachedTimeout);
_call.setPortName(super.cachedPortName);
_call.setProperty(key, super.cachedProperties.get(key));
代码示例来源:origin: OpenNMS/opennms
org.apache.axis.client.Call _call = super._createCall();
if (super.maintainSessionSet) {
_call.setMaintainSession(super.maintainSession);
_call.setUsername(super.cachedUsername);
_call.setPassword(super.cachedPassword);
_call.setTargetEndpointAddress(super.cachedEndpoint);
_call.setTimeout(super.cachedTimeout);
_call.setPortName(super.cachedPortName);
_call.setProperty(key, super.cachedProperties.get(key));
if (firstCall()) {
_call.setEncodingStyle(null);
for (int i = 0; i < cachedSerFactories.size(); ++i) {
java.lang.Class cls = (java.lang.Class) cachedSerClasses.get(i);
代码示例来源:origin: com.google.api-ads/adwords-axis
org.apache.axis.client.Call _call = super._createCall();
if (super.maintainSessionSet) {
_call.setMaintainSession(super.maintainSession);
_call.setUsername(super.cachedUsername);
_call.setPassword(super.cachedPassword);
_call.setTargetEndpointAddress(super.cachedEndpoint);
_call.setTimeout(super.cachedTimeout);
_call.setPortName(super.cachedPortName);
_call.setProperty(key, super.cachedProperties.get(key));
if (firstCall()) {
_call.setEncodingStyle(null);
for (int i = 0; i < cachedSerFactories.size(); ++i) {
java.lang.Class cls = (java.lang.Class) cachedSerClasses.get(i);
代码示例来源:origin: com.google.api-ads/adwords-axis
org.apache.axis.client.Call _call = super._createCall();
if (super.maintainSessionSet) {
_call.setMaintainSession(super.maintainSession);
_call.setUsername(super.cachedUsername);
_call.setPassword(super.cachedPassword);
_call.setTargetEndpointAddress(super.cachedEndpoint);
_call.setTimeout(super.cachedTimeout);
_call.setPortName(super.cachedPortName);
_call.setProperty(key, super.cachedProperties.get(key));
if (firstCall()) {
_call.setEncodingStyle(null);
for (int i = 0; i < cachedSerFactories.size(); ++i) {
java.lang.Class cls = (java.lang.Class) cachedSerClasses.get(i);
代码示例来源:origin: com.google.api-ads/adwords-axis
org.apache.axis.client.Call _call = super._createCall();
if (super.maintainSessionSet) {
_call.setMaintainSession(super.maintainSession);
_call.setUsername(super.cachedUsername);
_call.setPassword(super.cachedPassword);
_call.setTargetEndpointAddress(super.cachedEndpoint);
_call.setTimeout(super.cachedTimeout);
_call.setPortName(super.cachedPortName);
_call.setProperty(key, super.cachedProperties.get(key));
if (firstCall()) {
_call.setEncodingStyle(null);
for (int i = 0; i < cachedSerFactories.size(); ++i) {
java.lang.Class cls = (java.lang.Class) cachedSerClasses.get(i);
代码示例来源:origin: com.google.api-ads/adwords-axis
org.apache.axis.client.Call _call = super._createCall();
if (super.maintainSessionSet) {
_call.setMaintainSession(super.maintainSession);
_call.setUsername(super.cachedUsername);
_call.setPassword(super.cachedPassword);
_call.setTargetEndpointAddress(super.cachedEndpoint);
_call.setTimeout(super.cachedTimeout);
_call.setPortName(super.cachedPortName);
_call.setProperty(key, super.cachedProperties.get(key));
if (firstCall()) {
_call.setEncodingStyle(null);
for (int i = 0; i < cachedSerFactories.size(); ++i) {
java.lang.Class cls = (java.lang.Class) cachedSerClasses.get(i);
代码示例来源:origin: com.google.api-ads/adwords-axis
org.apache.axis.client.Call _call = super._createCall();
if (super.maintainSessionSet) {
_call.setMaintainSession(super.maintainSession);
_call.setUsername(super.cachedUsername);
_call.setPassword(super.cachedPassword);
_call.setTargetEndpointAddress(super.cachedEndpoint);
_call.setTimeout(super.cachedTimeout);
_call.setPortName(super.cachedPortName);
_call.setProperty(key, super.cachedProperties.get(key));
if (firstCall()) {
_call.setEncodingStyle(null);
for (int i = 0; i < cachedSerFactories.size(); ++i) {
java.lang.Class cls = (java.lang.Class) cachedSerClasses.get(i);
代码示例来源:origin: com.google.api-ads/adwords-axis
org.apache.axis.client.Call _call = super._createCall();
if (super.maintainSessionSet) {
_call.setMaintainSession(super.maintainSession);
_call.setUsername(super.cachedUsername);
_call.setPassword(super.cachedPassword);
_call.setTargetEndpointAddress(super.cachedEndpoint);
_call.setTimeout(super.cachedTimeout);
_call.setPortName(super.cachedPortName);
_call.setProperty(key, super.cachedProperties.get(key));
if (firstCall()) {
_call.setEncodingStyle(null);
for (int i = 0; i < cachedSerFactories.size(); ++i) {
java.lang.Class cls = (java.lang.Class) cachedSerClasses.get(i);
代码示例来源:origin: com.google.api-ads/adwords-axis
org.apache.axis.client.Call _call = super._createCall();
if (super.maintainSessionSet) {
_call.setMaintainSession(super.maintainSession);
_call.setUsername(super.cachedUsername);
_call.setPassword(super.cachedPassword);
_call.setTargetEndpointAddress(super.cachedEndpoint);
_call.setTimeout(super.cachedTimeout);
_call.setPortName(super.cachedPortName);
_call.setProperty(key, super.cachedProperties.get(key));
if (firstCall()) {
_call.setEncodingStyle(null);
for (int i = 0; i < cachedSerFactories.size(); ++i) {
java.lang.Class cls = (java.lang.Class) cachedSerClasses.get(i);
代码示例来源:origin: com.google.api-ads/adwords-axis
org.apache.axis.client.Call _call = super._createCall();
if (super.maintainSessionSet) {
_call.setMaintainSession(super.maintainSession);
_call.setUsername(super.cachedUsername);
_call.setPassword(super.cachedPassword);
_call.setTargetEndpointAddress(super.cachedEndpoint);
_call.setTimeout(super.cachedTimeout);
_call.setPortName(super.cachedPortName);
_call.setProperty(key, super.cachedProperties.get(key));
if (firstCall()) {
_call.setEncodingStyle(null);
for (int i = 0; i < cachedSerFactories.size(); ++i) {
java.lang.Class cls = (java.lang.Class) cachedSerClasses.get(i);
代码示例来源:origin: com.google.api-ads/adwords-axis
org.apache.axis.client.Call _call = super._createCall();
if (super.maintainSessionSet) {
_call.setMaintainSession(super.maintainSession);
_call.setUsername(super.cachedUsername);
_call.setPassword(super.cachedPassword);
_call.setTargetEndpointAddress(super.cachedEndpoint);
_call.setTimeout(super.cachedTimeout);
_call.setPortName(super.cachedPortName);
_call.setProperty(key, super.cachedProperties.get(key));
if (firstCall()) {
_call.setEncodingStyle(null);
for (int i = 0; i < cachedSerFactories.size(); ++i) {
java.lang.Class cls = (java.lang.Class) cachedSerClasses.get(i);
代码示例来源:origin: com.google.api-ads/adwords-axis
org.apache.axis.client.Call _call = super._createCall();
if (super.maintainSessionSet) {
_call.setMaintainSession(super.maintainSession);
_call.setUsername(super.cachedUsername);
_call.setPassword(super.cachedPassword);
_call.setTargetEndpointAddress(super.cachedEndpoint);
_call.setTimeout(super.cachedTimeout);
_call.setPortName(super.cachedPortName);
_call.setProperty(key, super.cachedProperties.get(key));
if (firstCall()) {
_call.setEncodingStyle(null);
for (int i = 0; i < cachedSerFactories.size(); ++i) {
java.lang.Class cls = (java.lang.Class) cachedSerClasses.get(i);
代码示例来源:origin: com.google.api-ads/adwords-axis
org.apache.axis.client.Call _call = super._createCall();
if (super.maintainSessionSet) {
_call.setMaintainSession(super.maintainSession);
_call.setUsername(super.cachedUsername);
_call.setPassword(super.cachedPassword);
_call.setTargetEndpointAddress(super.cachedEndpoint);
_call.setTimeout(super.cachedTimeout);
_call.setPortName(super.cachedPortName);
_call.setProperty(key, super.cachedProperties.get(key));
if (firstCall()) {
_call.setEncodingStyle(null);
for (int i = 0; i < cachedSerFactories.size(); ++i) {
java.lang.Class cls = (java.lang.Class) cachedSerClasses.get(i);
代码示例来源:origin: com.google.api-ads/adwords-axis
org.apache.axis.client.Call _call = super._createCall();
if (super.maintainSessionSet) {
_call.setMaintainSession(super.maintainSession);
_call.setUsername(super.cachedUsername);
_call.setPassword(super.cachedPassword);
_call.setTargetEndpointAddress(super.cachedEndpoint);
_call.setTimeout(super.cachedTimeout);
_call.setPortName(super.cachedPortName);
_call.setProperty(key, super.cachedProperties.get(key));
if (firstCall()) {
_call.setEncodingStyle(null);
for (int i = 0; i < cachedSerFactories.size(); ++i) {
java.lang.Class cls = (java.lang.Class) cachedSerClasses.get(i);
代码示例来源:origin: com.google.api-ads/adwords-axis
org.apache.axis.client.Call _call = super._createCall();
if (super.maintainSessionSet) {
_call.setMaintainSession(super.maintainSession);
_call.setUsername(super.cachedUsername);
_call.setPassword(super.cachedPassword);
_call.setTargetEndpointAddress(super.cachedEndpoint);
_call.setTimeout(super.cachedTimeout);
_call.setPortName(super.cachedPortName);
_call.setProperty(key, super.cachedProperties.get(key));
if (firstCall()) {
_call.setEncodingStyle(null);
for (int i = 0; i < cachedSerFactories.size(); ++i) {
java.lang.Class cls = (java.lang.Class) cachedSerClasses.get(i);
代码示例来源:origin: com.google.api-ads/adwords-axis
org.apache.axis.client.Call _call = super._createCall();
if (super.maintainSessionSet) {
_call.setMaintainSession(super.maintainSession);
_call.setUsername(super.cachedUsername);
_call.setPassword(super.cachedPassword);
_call.setTargetEndpointAddress(super.cachedEndpoint);
_call.setTimeout(super.cachedTimeout);
_call.setPortName(super.cachedPortName);
_call.setProperty(key, super.cachedProperties.get(key));
if (firstCall()) {
_call.setEncodingStyle(null);
for (int i = 0; i < cachedSerFactories.size(); ++i) {
java.lang.Class cls = (java.lang.Class) cachedSerClasses.get(i);
代码示例来源:origin: com.google.api-ads/adwords-axis
org.apache.axis.client.Call _call = super._createCall();
if (super.maintainSessionSet) {
_call.setMaintainSession(super.maintainSession);
_call.setUsername(super.cachedUsername);
_call.setPassword(super.cachedPassword);
_call.setTargetEndpointAddress(super.cachedEndpoint);
_call.setTimeout(super.cachedTimeout);
_call.setPortName(super.cachedPortName);
_call.setProperty(key, super.cachedProperties.get(key));
if (firstCall()) {
_call.setEncodingStyle(null);
for (int i = 0; i < cachedSerFactories.size(); ++i) {
java.lang.Class cls = (java.lang.Class) cachedSerClasses.get(i);
代码示例来源:origin: com.google.api-ads/adwords-axis
org.apache.axis.client.Call _call = super._createCall();
if (super.maintainSessionSet) {
_call.setMaintainSession(super.maintainSession);
_call.setUsername(super.cachedUsername);
_call.setPassword(super.cachedPassword);
_call.setTargetEndpointAddress(super.cachedEndpoint);
_call.setTimeout(super.cachedTimeout);
_call.setPortName(super.cachedPortName);
_call.setProperty(key, super.cachedProperties.get(key));
if (firstCall()) {
_call.setEncodingStyle(null);
for (int i = 0; i < cachedSerFactories.size(); ++i) {
java.lang.Class cls = (java.lang.Class) cachedSerClasses.get(i);
内容来源于网络,如有侵权,请联系作者删除!