Sending SOAP Messages from a JAXMServlet to another JAXMServlet
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,
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL