本文整理了Java中org.apache.axis.client.Call.setPortTypeName()
方法的一些代码示例,展示了Call.setPortTypeName()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Call.setPortTypeName()
方法的具体详情如下:
包路径:org.apache.axis.client.Call
类名称:Call
方法名:setPortTypeName
[英]Sets the port type name of this Call object. This call will not set any additional fields, nor will it do any checking to verify that this port type is actually defined in the WSDL - for now anyway.
[中]设置此调用对象的端口类型名称。这个调用不会设置任何额外的字段,也不会进行任何检查以验证这个端口类型实际上是在WSDL中定义的——至少现在是这样。
代码示例来源:origin: stackoverflow.com
Call call = service.createCall();
call.setPortTypeName(portQName);
call.setOperationName(new QName(namespace, operation));
call.setProperty(Call.ENCODINGSTYLE_URI_PROPERTY, "http://schemas.xmlsoap.org/soap/encoding/");
call.setProperty(Call.OPERATION_STYLE_PROPERTY, "rpc");
call.addParameter("in0", org.apache.axis.Constants.XSD_STRING ,ParameterMode.IN);
call.addParameter("in1", org.apache.axis.Constants.XSD_STRING ,ParameterMode.IN);
call.setReturnType(serviceQName);
String targetEndpoint = "http://113.160.19.218:8312/axis/services/WeatherForecastTest1";
call.setTargetEndpointAddress(targetEndpoint);
String result = (String) call.invoke(params);
out.println(result);
代码示例来源:origin: axis/axis
portName) );
this.setPortTypeName(portType.getQName());
代码示例来源:origin: org.apache.axis/axis
portName) );
this.setPortTypeName(portType.getQName());
代码示例来源:origin: org.apache.axis/com.springsource.org.apache.axis
portName) );
this.setPortTypeName(portType.getQName());
内容来源于网络,如有侵权,请联系作者删除!