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 8061065
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T10:12:21+00:00 2026-06-05T10:12:21+00:00

I created an axis client to WCF service (the client was generated by Eclipse,

  • 0

I created an axis client to WCF service (the client was generated by Eclipse, using the WSDL as an input).

The client works fine when using HTTP.

When using HTTPS I’m getting the following exception:

javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

I understand the error, but I don’t want to give it a place where the certificates are located.

I want to tell Axis to avoid this step (accept any certificate without checking it).

I know how to do it with HttpsURLConnection (create a custom validator which does nothing), but I don’t know how to do it with axis… (How can I tell axis to use my custom validator, or better, how can I tell it to ignore this step at all).

Can someone help me?

Thanks,

Mattan

  • 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-06-05T10:12:23+00:00Added an answer on June 5, 2026 at 10:12 am

    I had the same problem and fixed it using:

    AxisProperties.setProperty("axis.socketSecureFactory","org.apache.axis.components.net.SunFakeTrustSocketFactory");
    

    In case this doesn’t work, have a look here.

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

Sidebar

Related Questions

I just created a web service client using axis and eclipse that does not
Created .NET WCF service, tested it - works. Generated schemas from Data and service
I'm getting this error when testing my web service created by exlipse using Axis
I've created an axis client for a web service. I exported as a jar
I'm using a .NET 2.0 Client to communicate with an AXIS Web service. The
I have followed this tutorial http://netbeans.org/kb/docs/websvc/gs-axis.html and successfully created the web service. When i
I used eclipse Helios to create a Web Service Client for consuming an axis
I'm getting the following error when I run a webservice client I've created using:
I have created an Axis web service as a Java 6 application running on
Created a new Android project. Added the library (https://github.com/johannilsson/android-actionbar) for instructions http://www.jetbrains.com/idea/webhelp/sharing-android-source-code-and-resources-using-library-projects.html . In

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.