The supplied build file takes this approach, and the portion of the Listing 6 code shown in bold demonstrates how you can change the service address at runtime without modifying the WSDL.
Dynamic discovery of services freed the consumer from being bound to a particular provider at a particular address, but the opportunity for runtime discovery created its own problems.
动态发现服务使得不需要在特定的地址将使用者绑定到特定的提供者,但是运行时发现本身也带来了一些问题。
3
The queue manager name is required to fully qualify the address of a reply message, but it is determined at runtime and is only valid for the life of the reply message. Which brings us to.