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

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

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

Call.setReturnClass介绍

[英]Sets the desired return Java Class. This is a convenience method which will cause the Call to automatically convert return values into a desired class if possible. For instance, we return object arrays by default now for SOAP arrays - you could specify: setReturnClass(Vector.class) and you'd get a Vector back from invoke() instead of having to do the conversion yourself. Note: Not part of JAX-RPC specification. To be JAX-RPC compliant, use setReturnType(QName, Class).
[中]

代码示例

代码示例来源:origin: axis/axis

call.setReturnClass(SOAPMessage.class);
call.setProperty(Call.CHECK_MUST_UNDERSTAND,Boolean.FALSE);
call.invoke((Message) request);

代码示例来源:origin: org.apache.axis/axis

call.setReturnClass(SOAPMessage.class);
call.setProperty(Call.CHECK_MUST_UNDERSTAND,Boolean.FALSE);
call.invoke((Message) request);

代码示例来源:origin: org.apache.axis/com.springsource.org.apache.axis

call.setReturnClass(SOAPMessage.class);
call.setProperty(Call.CHECK_MUST_UNDERSTAND,Boolean.FALSE);
call.invoke((Message) request);

代码示例来源:origin: axis/axis

try {
  Class clazz = ClassUtils.forName(javaType);
  this.setReturnClass(clazz);
} catch (ClassNotFoundException swallowedException) {

代码示例来源:origin: org.apache.axis/axis

try {
  Class clazz = ClassUtils.forName(javaType);
  this.setReturnClass(clazz);
} catch (ClassNotFoundException swallowedException) {

代码示例来源:origin: org.apache.axis/com.springsource.org.apache.axis

try {
  Class clazz = ClassUtils.forName(javaType);
  this.setReturnClass(clazz);
} catch (ClassNotFoundException swallowedException) {

相关文章

微信公众号

最新文章

更多