For each interaction with the Web service, the client first must authenticate with the service using the login method call, as in Listing 2.
对于与Web服务的每次交互,客户机必须使用登录方法调用来进行验证,如清单2所示。
In this situation, where you are caching the resulting response of a web service call, you are caching the soap body, as delineated by the soapenv: body tag in Listing 2.
在这种情况下,您可以在高速缓存一个Web服务调用产生的响应的地方高速缓存soap体,如清单2中的soapenv: Body标记描述的那样。
Listing 2 shows a sample global cachespec.xml file with a single cache entry for the web service call.
清单2显示一个样例全局cachespec . xml文件以及Web服务调用的一个缓存条目。
应用推荐