Hi
I need Axis2 to elaborate some headers in the SOAP message and relay the 
message to the final legacy service in my lan.
The SOAP message should not be modified since it can bring WS-Security.
The addressing module is engaged in AXIS2 but there is no addressing header in 
the message. 
I tried to write an handler to change the To property with the following 
commands 
EndpointReference er = new 
EndpointReference(http://localhost:8888/FinalService/services/MyService.MyServiceHttpSoap11Endpoint/);
 
ctx.setTo(er); 
I tried to put this handler in the inFlow (tried the transport phase, the 
addressing phase, the pre-dispatch phase, the dispatch phase) but nothing 
happens, the soap message is not redirected to the endpoint and it completes on 
Axis2. 
Debugging the application I see the handler is executed and the To property is 
set properly. 
Any suggestions?
Thanks and regards.
 

Reply via email to