• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to Modify WSDL from HTTP to HTTPS

 
M K Rayapudi
Ranch Hand
Posts: 161
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
How to Modify WSDL from HTTP to HTTPS?

Currently, I am having my working wsdl with HTTP, In order to change it to HTTPS, what are the required steps?
Please help in this regard.

Thank you
 
Ivan Krizsan
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
You only need to modify the value of the location attribute in the <soapbind:address> element in the <port>. Example:


Note, do NOT change the transport attribute in the <soap:binding> element in the <binding> element - it is to have the same value regardless of whether HTTP or HTTPS is used.


In addition to the above, you should configure the web.xml deployment descriptor so that only POST requests to your web service endpoint require encryption - this way clients can get the WSDL without having to use encryption, but sending requests and receiving responses require HTTPS. Example:

Best wishes!
 
M K Rayapudi
Ranch Hand
Posts: 161
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you Ivan Krizsan for the response
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!