所有这些都可以在客户端代码中没有可变状态的情况下完成。
This all can be done with no mutable state in the client code.
您将在下一节中找到客户端代码。
客户端代码对基本例处理不一致。
The base cases are then handled inconsistently by client code.
用于客户端代码开发的ide。
此后,即可将精力集中在客户端代码。
客户端代码与以下内容类似。
客户端代码将该消息传递给包装器函数。
The client code hands this message up to the wrapper function.
这里是客户端代码的摘录。
ClearCase远程客户端代码优化。
从您的客户端代码调用REST处理程序。
显然,它使用了由SDK安装的其他客户端代码。
Apparently, it USES some of the other client code installed by the SDK.
清单6显示了用于调用计算器服务的客户端代码。
Listing 6 illustrates client code for invoking the calculator service.
可以从编写这个例子的客户端代码开始。
客户端代码调用数据逻辑方法可以捕获用户定义的异常。
Client code calling the data logic method can catch the user-defined exception.
下面是在使用延迟响应的调用模式时调用的客户端代码。
Here is the client code for a call using the invocation pattern for deferred response.
这种支持包括生成WSDL和样本客户端代码来调用服务。
This support includes generation of the WSDL and sample client code for invoking the service.
在某个意义上,由于只侧重于客户端代码,本例省略了安全性。
In one sense, by focusing only on client-side code, this example has cheated.
这种情况中,假设同步服务调用的客户端代码如下:this。
In this, if the client code for a synchronous service invocation is like this.
然后就可以测试生成的客户端代码,确保一切都是按照需要运行。
You can then test the generated client code and ensure that everything is working as required.
在客户端代码中,您现在需要获得该客户端代理的实例。
In your client code, you now need to obtain an instance of the client proxy.
另外一个选择是集成测试,使您能够验证客户端代码的异步功能。
A second option would be an integration test, which would allow you to validate the asynchronous functionality of the client-side code.
不管哪种方法,实际上您必须在您的客户端代码中激活安全性处理。
Either way, you must actually activate the security handling in your client code.
安排假期的客户端代码可能需要调用服务来安排航班、酒店、出租车。
Client code setting up a vacation may need to call services to set up flights, hotels, rental cars.
在动态链接库的世界中,客户端代码就更容易受到API变化的影响了。
In the world of dynamically linked code, the client code is particularly vulnerable to API changes.
默认生成的没有实现错误处理,而这对健壮的客户端代码来说是必须的。
The default generation does not implement error handling, which is essential for robust client code.
解析XML(而不是直接使用HTML)的新客户端代码位于清单7中。
The new client-side code that parses XML instead of using the HTML directly is in Listing 7.
另一个情况是客户端代码能在等待被调用服务完成的同时能干些别的事情。
Another case is where the client code could be doing other things while it waits for the called service to complete.
但是此处还有另一种有效方式,这种方式只依赖客户端代码:老式的标记。
But there's another valid way to handle this, one that relies on only client-side code: the good old-fashioned tag.
在客户端代码如何使用WSDL服务定义方面,这两种栈之间也有不同。
The two stacks also differ in terms of how the client code uses WSDL service definitions.
它提供了一层抽象,解耦了客户端代码与要访问的服务及其位置与底层实现。
It provides a layer of abstraction to decouple client code from access to a service, as well as its location and underlying implementation.
应用推荐