This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
The company has a WS Java client based on Axis1.4, that communicate with one endpoint over SSL with one certificate. That´s ok but now i have to modify the code to communicate with the same endpoint over SSL but with tree certificates that it´s use to identify the user in the WS.
For example i have one endpoint (192.168.0.15) and three certificates (Cert1, Cert2 and Cert3), each one in a different keystore.
Axis1.4 model doesn´t support 1 endpoint - more than one certificate, only support a certificate for one endopoint.
What i did to solve this was to eliminate Axis cache in Axis library jar so each time i wanted to connect to the WS all works fine because when i look for the endpoint to connect it doesn´t look in Axis cache to look for the entry endpoint - certificate used for it.
As i wrote before it works all fine for all methods, but now i modifiy the WS client to get a File as attachment and with the axis library jar modified it doesn´t work.
Does anyone how to solve this problem in Axis1.4?
Otherwise, Is there another technology to develop a WS client based on Java that support the model one endpoint -- several certificates to identify user? And also before sending ws request i need to add a childelement to the soap header.
Thanks in advance
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: Web Services over SSL - One Endpoint and serveral certificates