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

  • Home
  • SEARCH
  • 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 6100117
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T13:20:58+00:00 2026-05-23T13:20:58+00:00

With Java it is easy to consume a Web Service over HTTPS but how

  • 0

With Java it is easy to consume a Web Service over HTTPS but how do you publish one?

The standard JAX-WS implementation doesn’t support it. We tried Jetty but Jetty does not have support for Web Services over HTTPS either (JettyHttpServerProvider‘s createHttpsServer() throws an UnsupportedOperatonException). I think this problem should be really easy. But somehow I always run against walls.

Additionally this has to work with OSGi so I’d prefer if most or all dependencies are available as bundles. Currently I try to get CXF running but it has a lot of non-OSGi dependencies which makes deployment very hard.

We also need client authentication via certificates but my hope is this will be relatively easy once HTTPS is enabled.

Why is this such a big deal? For example to provide static content with Jetty, all you need to do is create a server, add any SSL connector and you’re done. Why can’t it be that easy for Web Services?

  • 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-23T13:20:59+00:00Added an answer on May 23, 2026 at 1:20 pm

    Our system uses cxf and jetty in OSGi, and it works fine with HTTPS.

    When you publish your service to WebService, you should not concern it is HTTP or HTTPS. Configure your jetty to support HTTPS by passing the following properties to OSGi:

    org.eclipse.equinox.http.jetty.http.enabled=false
    org.eclipse.equinox.http.jetty.https.enabled=true
    org.eclipse.equinox.http.jetty.https.port=443
    org.eclipse.equinox.http.jetty.ssl.keystore=...
    org.eclipse.equinox.http.jetty.ssl.password=...
    

    You can check out the other properties in

    org.eclipse.equinox.http.jetty_2.0.0.v20100503.jar\OSGI-INF\metatype\config.xml
    

    By doing this, you can try to use IE to access the wsdl of your service through https.

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

Sidebar

Related Questions

Is there any easy way to automatically deploy a web service / java web
In Java it is easy enough to get the default Locale, but is there
We are busy developing a Java web service for a client. There are two
This should be an easy one. Just so you know, I normally write java
In the past, and intermittently now, I've used simulation tools like Easy Java Simulations
It looks quite easy to find such a tool for Java ( Checkstyle ,
Is there an easy way to convert between color models in Java (RGB, HSV
Is there some easy way to pad Strings in Java? Seems like something that
Is there an easy way to use DirectX in Java? In particular, DirectX's video
Is there an easy way to manipulate PNGs in Java? I know I can

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.