本文整理了Java中org.apache.axis.client.Call.setReturnClass()
方法的一些代码示例,展示了Call.setReturnClass()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Call.setReturnClass()
方法的具体详情如下:
包路径:org.apache.axis.client.Call
类名称: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) {
内容来源于网络,如有侵权,请联系作者删除!