I have an application which client-side sends a SOAPMessage (M1) to the first
JAXMServlet (from now on, A). This servlet sends if necessary another SOAPMessage
(M2) to the second JAXMServlet (from now on, B).
Then, when B builds the response message and returns it to A, A receives
this response message BUT the onMessage method stars again because A has
received M1 AGAIN. Why is this happening?

The SOAPMessage is sended in this way:

SOAPConnectionFactory scf = SOAPConnectionFactory.newInstance();
SOAPConnection conn = scf.createConnection();

SOAPMessage reply = conn.call(message, endPoint);

Thanks in advance,

Jorge Hidalgo