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

How to understand 2 main() functions after using uftrace to profile the C++ program? -

c# - Update a combobox from a presenter (MVP) -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -