本教程将展示如何利用WBSF中的动态端点选择功能,将来自一个租户的用户的服务请求绑定到特定于租户的端点。
In this tutorial, we will demonstrate how to exploit the dynamic endpoint selection capability in WBSF to bind service requests from a tenant's user to tenant specific endpoints.
本文讲述了如何完成这样的动态服务绑定。
This article explains how to achieve such a dynamic service binding.
动态发现服务使得不需要在特定的地址将使用者绑定到特定的提供者,但是运行时发现本身也带来了一些问题。
Dynamic discovery of services freed the consumer from being bound to a particular provider at a particular address, but the opportunity for run time discovery created its own problems.
实际上,很多SOA专业人员都已经将服务注册中心作为用于进行后期绑定和动态路由的机制加以引入了。
In reality many SOA practitioners have been introducing service registry as a mechanism for late binding and dynamic routing.
它不需要客户动态绑定-所有的服务调用请求都被路由到中介点。
It does not require consumer dynamic routing — all of the service invocation requests are always routed to the intermediary.
然而,如果使用EndpointReferenceType来进行动态服务绑定,就只有地址部分是必须设定的。
However, if you are using an EndpointReferenceType for dynamic service binding, only the address part must be set.
Web服务与以前的集成方法的不同之处在于,使用者可以动态绑定到服务的提供者。
What distinguishes Web services from previous integration approaches is that a consumer can dynamically bind to the provider of a service. This works because of the following two main capabilities!
在我们的实现中,服务消费者通过使用。NET的ChannelFactory类来根据服务接口,端点和绑定动态生成一个服务代理。
In our implementation a service consumer leverages.net's ChannelFactory class, which allows us to dynamically generate a service proxy, based on the service's interface and endpoint and binding.
请注意,此信息不是用于服务的动态绑定,而是用于静态绑定。
Note that this is not used for dynamic binding of the services, but for static binding.
在此情况下,将启用使用者应用程序,通过使用存储库中的特定名称或属性查找服务以动态地绑定到不同的服务实例。
In this case the consumer application is enabled to dynamically bind to a different service instance by looking up services with a specific name or property in the repository.
图5展示了对备选服务统计数据的检索以及某个服务端点的动态选择和延迟绑定。
Figure 5 shows the retrieval of candidate service statistics and the dynamic selection and late binding to a service endpoint.
ESB提供了第三种选择,承诺在支持使用者动态地一次性绑定到服务代理的同时,仍然能够通过代理使用多个提供者和选择新的提供者。
An ESB offers a third choice, a compromise enabling a consumer to dynamically bind to a service proxy just once and yet still be able to use multiple and future providers using the proxy.
在此情况下,服务定义在使用者开发期间可用,注册中心的使用仅限于服务端点地址和动态绑定的运行时解析。
In this case services definitions are available during consumer development time, and registry usage is limited to the run time resolution of the services endpoint addresses and dynamic binding.
最后,我将向您展示如何在流程运行时重写服务绑定,并完成实现使用动态服务绑定的BPEL业务流程所必需的各个步骤。
Finally, I show you how a service binding might be overwritten at process runtime, and go through each step that is necessary to implement a BPEL business process that USES dynamic service bindings.
中介服务允许动态处理消息传输、动态路由和服务绑定解析服务。
Mediation services enable dynamic in-flight message transformation, dynamic routing, and service binding resolution services.
副本的绑定信息保存在配置中,并在运行时动态获得,所以添加冗余服务器只需更新配置,不用修改源码。
The binding information for replicas is kept in configuration and is dynamically acquired at runtime, so adding a redundant server requires only a configuration update, not changes in source code.
根据特定的仿真需求在运行时动态组合相关服务即可完成空战仿真系统中协调逻辑的绑定,从而提升了系统的敏捷性。
According to the specific simulation task, coordination logics are dynamic bind by interconnecting related services at run time, therefore promoting system agility in ACS.
根据特定的仿真需求在运行时动态组合相关服务即可完成空战仿真系统中协调逻辑的绑定,从而提升了系统的敏捷性。
According to the specific simulation task, coordination logics are dynamic bind by interconnecting related services at run time, therefore promoting system agility in ACS.
应用推荐