Finally, we start a timer handler, as shown in Listing 6, to handle the scenario where the Web service client callback handler is never called, which will result in a timeout.
最后,我们启动了一个计时器处理程序(如清单6所示)来处理以下场景:Web服务客户机回调处理程序一直没有被调用,这将导致一个超时。
Creates a SOAP.Envelope encapsulating an RPC-Style request and sends that to the Web service, invoking a callback when a response is received.
创建一个封装rpc样式请求的SOAP . Envelope,并将其发送到Web服务。当接收到响应时,调用回调函数。
If you want to deploy it to a Web server, you may no longer want callback support.
如果您想将其部署到Web服务器,可能就不再需要回调支持。
应用推荐