permaculture playing cards*
The moose likes Sockets and Internet Protocols and the fly likes http://xml.apache.org/axis/ HttpErrorCode:401 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "http://xml.apache.org/axis/ HttpErrorCode:401" Watch "http://xml.apache.org/axis/ HttpErrorCode:401" New topic
Author

http://xml.apache.org/axis/ HttpErrorCode:401

sanjay patel
Greenhorn

Joined: Sep 28, 2007
Posts: 8
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.

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: http://xml.apache.org/axis/ HttpErrorCode:401