I have a webservice which is hosted on sap xi server. I want to invoke that webservice through my
tomcat server. The Requirement is to have https ssl handshake between the two servers. For that I imported the sap xi certificate into tomcat's jre cacerts. And As I (tomcat) am a client to SAP XI, I generated the ceritificate, and gave it to xi. They also imported it into their trustStore. Everything seems to be fine, However, when i tried invoking that webservice, i got the {http://xml.apache.org/axis/}HttpErrorCode:401 'Unauthorised' exception. I enabled the ssl log and it seems sap xi's server could be found in tomcat's truststore. But not very sure if the tomcat's certificate could be found in sap xi's truststore. and even if it is found, there could be some encryption-decryption problem too............Not sure, because don't know how to debug the ssl log. Can anyone please tell me what is the exact problem ? Its very urgent. Thanks in advance.