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
Post a Comment