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

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

android - ConstraintLayout: Realign baseline constraint in case if dependent view visibility was set to GONE -

c# - Populating Gridview inside Listview ItemTemplate On Web User Control from Code Behind -