Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Access to multiple webservices over https from the same host  RSS feed

 
peter valencic
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
Can someone give me some advice how to properly configure or make a call to multiple webservices over https from the same host?
From webservice providers i get certificates. Then I have imported this certificates into keystore.
For example i have made two jsp or servlets. First servlet call first webservice (over https) and second servlet call second webservice (over https)..
The problem is if I run the first servlet at the first time then the second servlet won't work and viceversa (I get bad certificate exception etc..)
For the webservice communication i use Axis 1.4 library..
My question is how to setup or how to make a call to multiple webservices from the same host over https?

Here is my example for the servlet or JSP (A)


The second servlet code (B)


What I'am doing wrong and how to solve multiple calls from the APP server?


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