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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T15:05:44+00:00 2026-05-23T15:05:44+00:00

I want to implement a web service for an Enterprise Application. Security is a

  • 0

I want to implement a web service for an Enterprise Application. Security is a key concern over there.
I am little bit confused regarding Security prospective of Rest and Soap.

What I read is, Soap with WS-Security (As can be implemented using Rampart and Axis2) can provide Application Layer Security, whereas REST can be used with HTTPS to provide Transport Layer Security.

Now, here I got a doubt.
For the current scenario, let Confidentiality of the data is of prime importance.
Now, while using REST with SSL, to have end to end security if I encrypt the Data and thereby create the xml/json file on the data (say for example, using some libraries like Jersey), will that be a good option compared to WS-Security with SOAP?

  • 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-23T15:05:45+00:00Added an answer on May 23, 2026 at 3:05 pm

    The reason that SOAP has WS-Security is that SOAP is meant to be transport neutral, meaning it can work over HTTPS, JMS, or whatever new protocol is created tomorrow. The specification owners felt the need to define a consistent approach to implementing authentication for SOAP and naturally couldn’t rely on a transport specific mechanism such as HTTP authentication for example. So SOAP has WS-Security as a result. WS-Security also provides for other aspects of security such as encryption for the same reason.

    For a REST based approach, it is possible to use HTTPS to get the same type of security. HTTP defines a few different approaches to authentication that can be used in a RESTful architecture. It is also possible to use other authentication mechanisms on top of HTTP if the default mechanisms aren’t sufficient.

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

Sidebar

Related Questions

I'm trying to implement a web service which accepts a list of strings, each
I'm using ASP.NET MVC 2 to implement a web service and I have a
I want to send a request to a web service, and read the response.
I want to send a request to a web service, and read the response.
I'm creating a REST web service using spring and I need to implement login/logout
I have a web app in http://domain1/app1/called.html , and I want to embed that
I'm working on an open source project (Logbus-ng), and I need to implement a
I am starting development of the new project and since I am new in
I have a query, like such: var query = from sessions in dataSet where
I am quite familiar with ASP.NET MVC and know that a controller’s method 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.