But as lazy I am, I would still like my client code to be auto generated. So here are the steps via which I was able to do it.
Firefox User(other browser user look for ways to get the certificate)
Download Cert Viewer Plus from https://addons.mozilla.org/en-US/firefox/addon/1964/
Restart firefox
Go to the url where the web service has been exposed https://www.xxxx/xxxx.asmx
Accept the certificate permanently which the browser will ask for acceptance
Go to Tools -> Certficate Manager. Go to Websites tab
Select your concerned site and export and save to some
Then type in the following command
keytool -import -alias
Actually you should go to your jdk.../gre/lib/security folder
For me it was c:/j2sdk1.4.2_16/jre/lib/security
and type in
keytool -import -keystore cacerts -alias
After doing this now you can let the eclipse do the magic for you and create your web service client code base even for those secured services
Well I am learning the art of outsourcing. Right, I am limited to outsourcing my work to my IDE. Oh technology ...Oh technology !! makes a man/woman inherently an out-sourcer so why there is so much hullabaloo over it.
No comments:
Post a Comment