Win a copy of Terraform in Action this week in the Cloud forum!
  • 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 ...
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • Al Hobbs
  • salvin francis

Implementing SSL, JAX-WS Webservice IBM websphere JAX-WS runtime

Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Guys,

I am trying to make SSL work on a webservice created by using IBM Websphere JAX-WS runtime for quite a while now but am unable to make it work somehow.

Need your help in resolving the problem.

These are the steps I have taken.

Its a simple Add Numbers Web service which adds two numbers and returns the output.

I deployed the webservice on WAS 7.0

the endpoint for the ws is http://localhost:9080/WebServiceProject/AddNumbersSvc/AddNumbersSvc.wsdl

Than to configure the ssl I took the following steps:

In WAS admin console: Services->Policy Sets->Application Policy Sets. Than I selected WSHTTPS default. copied it and rename it to WS SSL Policy, I dint chnage anything in it.
Next, I went to Security->SSl ceritificate and key management ->Key stores and certificates I created ServerKeyStore with a self signed certificate and ServerTrustStore with the client public key
Than, I went to Security->SSl ceritificate and key management -> SSL Configurations and I created a new configuration WS SSL conf set the trust store as ServerTrustStore and Keystore as ServerKeyStore
Next, I went to QOP setting of WS SSL conf. There I set client authentication as required , protocol as ssl and rest all default.
Than, I went to Services->Policy Sets->General provider policy set bindings. Than I selected WSHTTPS default. copied it and rename it to WS SSL Binding. seleced it. than selected SSL transport and selected WS SSL conf as SSL settings
Finally I went to Services->Service providers. selected AddNumbers service and apllied WS SSL Policy as policy set and WS SSL Binding as Binding.

Now when i restated the application and tried to execute the ws through

i got a 404 and also when i triggered the ws through SOAPUi with http i got the repsonse but not with https.

Please help me to figure out what i did wrong .
Consider Paul's rocket mass heater.
    Bookmark Topic Watch Topic
  • New Topic