This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I have written the code below to send a soap message built from a file to a webservice. It does exactly what I want, but I need to encrypt the message using TLS. Can anybody give me any pointers on how to go about doing this?
You can send it over HTTPS instead of HTTP, which would use SSL or TLS.
If you want to specifically encode it, you would normally use WS-Security, for which an implementation is available at http://ws.apache.org/wss4j/. I'm not sure if it supports TLS, though. [ November 16, 2005: Message edited by: Ulf Dittmer ]