本文整理了Java中org.apache.axis.client.Call.invokeOneWay()
方法的一些代码示例,展示了Call.invokeOneWay()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Call.invokeOneWay()
方法的具体详情如下:
包路径:org.apache.axis.client.Call
类名称:Call
方法名:invokeOneWay
[英]Invokes the operation associated with this Call object using the passed in parameters as the arguments to the method. This will return immediately rather than waiting for the server to complete its processing. NOTE: the return immediately part isn't implemented yet
[中]使用传入的参数作为方法的参数,调用与此调用对象关联的操作。这将立即返回,而不是等待服务器完成其处理。注意:立即返回部分尚未实现
代码示例来源:origin: OpenNMS/opennms
public void ticketStateUpdate(org.opennms.integration.otrs.ticketservice.TicketStateUpdate ticketStateUpdate, org.opennms.integration.otrs.ticketservice.Credentials request_header) throws java.rmi.RemoteException {
if (super.cachedEndpoint == null) {
throw new org.apache.axis.NoEndPointException();
}
org.apache.axis.client.Call _call = createCall();
_call.setOperation(_operations[5]);
_call.setUseSOAPAction(true);
_call.setSOAPActionURI("http://opennms.org/integration/otrs/ticketservice#TicketStateUpdate");
_call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
_call.setOperationName(new javax.xml.namespace.QName("http://opennms.org/integration/otrs/ticketservice", "TicketStateUpdate"));
setRequestHeaders(_call);
setAttachments(_call);
_call.invokeOneWay(new java.lang.Object[] {ticketStateUpdate, request_header});
}
代码示例来源:origin: org.apache.openejb/openejb-axis
call.invokeOneWay(unwrapped);
return null;
} else {
内容来源于网络,如有侵权,请联系作者删除!