Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7607279
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T00:37:19+00:00 2026-05-31T00:37:19+00:00

Consuming Webservice over HTTPS We have a webservice that we are consuming from our

  • 0

Consuming Webservice over HTTPS

We have a webservice that we are consuming from our end.

Webservice can run both on HTTP and HTTPS protocol.
With HTTP no issues, but how to access with HTTPS.

Can anybody tell me the java code for the same. I need to do this at the application level.

Keystores and truststores will be required but how to use in java code and and trust them.

Any help will be appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T00:37:21+00:00Added an answer on May 31, 2026 at 12:37 am

    The server authentication part should be easy. Just stick the required cert(s) in the provided cacerts truststore.. see this documentation for some info on using keytool to work with the cacerts truststore.

    As far as the client authentication part, I’d look at some other questions here on Stack Overflow for your answer or at least some code to get you started. Here are some questions you should look at:

    Creating SSL Client with Axis2/JAVa, and
    Choosing SSL client certificate in Java should be a couple for you to look at.

    Last, I’m going to submit another edit to add the ‘axis2’ tag to your question. That should get some more people looking at this that have the appropriate experience.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Note: I am just consuming webservice I have no control over webservice code. So
I'm consuming a webservice from my application in C# .net (2.0) that return values
I have some code I've written in PHP for consuming our simple webservice, which
I'm consuming a webservice from another company, they have multiple versions running, each newer
I have a program that requests HTML from a webservice, modifies the HTML to
hey all i have a problem in webservice that i am consuming. it takes
I have a Flash Movie (SWF) that is consuming a .NET WebService (located on
When consuming a .NET WCF webservice I get the following response (error): Unsupported HTTP
I have some internal-facing ASP.NET web services that have had numerous API additions over
I am consuming one webservice, while consuming there can different types expception might occur

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.