Hi, Yep, client proxy can specify BindingProvider.ENDPOINT_ADDRESS_PROPERTY on the fly, some code like
((BindingProvider) port).getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, "http://whatever_address_you_want"); Freeman ------------- Freeman Fang FuseSource Email:[email protected] Web: fusesource.com Twitter: freemanfang Blog: http://freemanfang.blogspot.com http://blog.sina.com.cn/u/1473905042 weibo: http://weibo.com/u/1473905042 On 2012-8-8, at 上午6:22, Mark Streit wrote: > Perhaps this thread, on what appears to be similar, will help: > > http://cxf.547215.n5.nabble.com/Connect-to-url-not-in-WSDL-tp5711974p5712059.html > > > > On Tue, Aug 7, 2012 at 5:51 PM, Aaron Stromas <[email protected]> wrote: > >> Hi, >> >> I thought it should be simple but I'm really struggling with this one. The >> WSDL I have received specifies one endpoint but in the client I need to use >> a different one, essentially, a different hostname and port. >> >> Can I do it programmatically, or do I have to edit the WSDL? >> >> Thanks, >> >> -- >> Aaron Stromas >> > > > > Mark
