Amila, thank you! I've tested what you said, but I've got this exception:
"A message was added that is not valid. However, the operation context was
complete."
Here's the code I'm using:
contextomensagem.setCurrentHandlerIndex(0);
contextomensagem.setCurrentPhaseIndex(0);
AxisEngine engine = new
AxisEngine(contextomensagem.getConfigurationContext());
try {
engine.receive(contextomensagem);
} catch (AxisFault e1) {
e1.printStackTrace();
return (e1.getReason());
}
"contextomensagem" is a static variable that keeps a copy of the
MessageContext received at the invoke method. As I'm testing I didin't
change the SOAPEnvelope, I'm just trying to re-send the same message. Is
there something else to do?
Thanks!