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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T03:34:52+00:00 2026-05-19T03:34:52+00:00

okay this might be a pretty lame and basic question but its stuck in

  • 0

okay this might be a pretty lame and basic question but its stuck in my head since i never had chance to work on web-services.

We can get the same “text bases” response(xml, json etc) from our server by very basic/simple implementations (lets say servlet) then why do someone has to develop a web-service.

What is the exception thing a web-service gives over simple http response?

  • 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-19T03:34:52+00:00Added an answer on May 19, 2026 at 3:34 am

    At a basic level, you are quite correct, from a low level point of view, it’s just text (XML) on a socket.

    For simple web services, a servlet is adequate (I’m writing one of these as we speak).

    When talking about something like SOAP and WSS-* web services, however, there is a lot of boiler plate processing and features available from the standards that web service toolkits expose as higher level transactions.

    A simple example is data marshaling. If you treat it purely as XML, then your service basically gets to process the XML by hand — parse it, evaluate it, populate your internal models, etc.

    Contrast this to something like this from Java EE:

    @WebService
    public Person getPerson(String personId) {
        Person p;
        ...
        return p;
    }
    

    The web service stack will convert your Person object in to a SOAP compliant XML blob. It will also produce a WSDL that you can use to create client code (on many platforms: .NET, PHP, etc.) to make the web service code.

    In the end, your client and server have only a few lines of code, while the frameworks do all of the grunt work parsing, marshaling, and publishing for you.

    So, the value of the WS stack is that it handles much of the bureaucracy of writing WSS compliant web services.

    It’s no panacea, but for many modern implementations, SOAP <-> SOAP remote processing can be a, mostly, cross platform, drag and drop affair.

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

Sidebar

Related Questions

Okay, this might be a very silly beginner question, but: I've got an ClassA,
Okay, this might be a basic question. Here is my code: <?php $pageid =
Okay this is probably a rookie question, but I have never done GUI programming
Okay, this may be a dumb question, but I've not been able to find
Okay, I need help. I'm usually pretty good at SQL queries but this one
Okay, I might confuse some people who might be able to answer this question,
Okay this is a fairly broad question. This is my first App and I'm
Okay this is not a question of how to get all uniques or How
Okay so im working on this php image upload system but for some reason
Okay, so this probably sounds terribly nefarious, but I need such capabilities for my

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.