Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的要求是在不构建客户端代码的情况下重新定位 web 服务(Jax ws)。我想知道有什么方法可以在不重建客户端的情况下使用客户端代码。?
感谢您。
为 JAX-WS 工件生成的客户端存根包括构造函数,用于指定与最初生成存根的 URL 不同的 URL。您需要在创建存根实例时使用这些构造函数,而不是使用默认构造函数。