soap - JAX-WS - CXF - Interceptor - change Endpoint Adress with interceptor -


how can dynamically change endpoint address jaxws client using cxf interceptor not before invoquing web service method !

i try code in interceptor phase prepare_send not working :

@override public void handlemessage(soapmessage msg) throws fault{     try {          msg.put(soapmessage.endpoint_address,"http://newhost:8080/project");      }     catch(exception ex ) {         throw new fault(ex);     }  } 


Comments

Popular posts from this blog

javascript - Confirm a form & display message if form is valid with JQuery -

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -