java - webservice服务端有什么方法可以请求客户端吗
天蓬老师
天蓬老师 2017-04-18 10:49:06
0
2
530

项目需求是:采用webservice。客户端将传参至服务端,服务端响应通知,告知接收成功,并对参数进行处理后。。随后需要对客户端进行通知,告知处理成功,客户端响应通知。
但是查找了好久都没有发现有什么方式可以实现webservice服务端请求或再次通知客户端的方法,请问有没有什么解决方案呢?

天蓬老师
天蓬老师

欢迎选择我的课程,让我们一起见证您的进步~~

reply all(2)
PHPzhong

No, webservice is based on http. The correct posture is that the client initiates a request, the server processes the request, and returns the result to the client after the processing is completed. You need to follow the basic http protocol.

The parameter transfer must be successful, and the server does not need to return to accept the success

PHPzhong

You can try client-side ajax polling or websocket

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!