• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to invoke a webservice running on https  RSS feed

 
chandra shekar yeruva
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,

Is there any special mechanism required to invoke the web service running on https server ?
If needed please tell me how to invoke the same?

thanks
Chandra.
 
Srikanth Kumar
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You have to set the system properties to load the trusted certificates which java will trust. and also provide the password for keystore file.


Then create the configuration context object and locate where the rampart and rahasa are located
For example if rampart and rahas modules are in xyz/web-inf/modules give path till web-inf


Create stub and pass the configuration context and get the service client



Engage rampart on the clients machine and give the certificate details through service client options



and make a call through the secured stub.

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!