• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Enabling both HTTP and HTTPS for an Web Service, deployed in the Same WAR

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

I am new to web service deployment. I have created a simple web service using JAX-WS 2.0 implementation in IBM WebSphere 6.1. The webservice resides in a .WAR file.
The web service is deployed and fully functional in HTTP. Now I need to enable HTTPS access to this web service.

If I enable HTTPS, will the HTTP access to the service be affected? Is it possible to have the web service or the web module support both HTTP and HTTPS?

Please provide your valuable inputs.

Thanks.
 
Ranch Hand
Posts: 2198
1
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi!
To expose both a HTTP and a HTTPS endpoint for one and the same service, you can have two different <wsdl:port> elements in the <wsdl:service> element in the WSDL, like in this example:

Note that both <wsdl:port> elements refer to one and the same binding.
Best wishes!
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic