[jboss-user] [JBossWS] - Re: how to dynamically change URL where client is connecting

alessio.soldano@jboss.com do-not-reply at jboss.com
Wed Nov 14 15:02:04 EST 2007


If you only need to use different endpoint (with different addresses) and the services publish the same wsdl contract, just use this:


  | ((BindingProvider)myPort).getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, endpoint);
  | 

where "endpoint" is your runtime selected endpoint address.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104763#4104763

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104763



More information about the jboss-user mailing list