R
Romain
Hello everybody,
I want to have a program that do something like that:
1. A client sends a SOAP message to a servlet.
2. The servlet receives this message and gives it to a server (which is
installed on the same PC than the Tomcat server).
3. The server sends back the response to the servlet as a SOAP message.
4. The client receives the response from the servlet.
The communication between my client and my servlet is ok and works fine.
My problem is for the second step. I don't know exactly what kind of
mechanism I have to use to send from my servlet a SOAP message to a
local application (using the port 12345 for example) and get a SOAP
response. I also don't know how the code must looks like on the server
side in order to receive a SOAP message from the servlet (and send the
response).
Any help welcome! Thanks in advance.
Romain.
I want to have a program that do something like that:
1. A client sends a SOAP message to a servlet.
2. The servlet receives this message and gives it to a server (which is
installed on the same PC than the Tomcat server).
3. The server sends back the response to the servlet as a SOAP message.
4. The client receives the response from the servlet.
The communication between my client and my servlet is ok and works fine.
My problem is for the second step. I don't know exactly what kind of
mechanism I have to use to send from my servlet a SOAP message to a
local application (using the port 12345 for example) and get a SOAP
response. I also don't know how the code must looks like on the server
side in order to receive a SOAP message from the servlet (and send the
response).
Any help welcome! Thanks in advance.
Romain.