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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T21:14:14+00:00 2026-05-25T21:14:14+00:00

I am new to Java.I know that there are two types of web service

  • 0

I am new to Java.I know that there are two types of web service

  1. SOAP Webservice.
  2. RESTful Webservice.

can any one please tell me what is the basic difference between both of them.And in which situation the SOAP Webservice is created and in which situation RESTful Webservice is created.

Thank You,

  • 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-25T21:14:15+00:00Added an answer on May 25, 2026 at 9:14 pm

    As the first answer allready explains, SOAP Webservices and REST Webservices differ in various points.

    SOAP:

    • you define your interface in a .wsdl file, which describes exactly which input parameters are expected and how the return values will look like
    • there are tools to generate the .wsdl files out of java class hirarchies. JAXB for example
    • there are also tools to generate java objects/classes as part of eclipse for example (don’t know the name in the moment).
    • SOAP is very strict. Every request is validatet against the wsdl before processing.

    A good but not so easy to start with framework for SOAP WS is Apache CXF

    REST (no hands on experience up to now, feel free to correct and improve 😉 ):

    • a way to access a webserver or web application to retrieve data from or send to it.
    • it’s only negotiated, how it is accessed.
    • common is something like this http://server.domain.com/app/type/id=123 to retrieve object of type type with id=123
    • very intuitive, but no automatic validation of requests.
    • …

    I am sure, there are several other points I missed. But I think it’s a usefull start.

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

Sidebar

Related Questions

I am new to java, and came to know that there are two Right
I am starting a new Java web project that will be worked on by
I'm new to Scala and don't know Java. I want to create a jar
I know something about Java but completely new to Enterprise Java. I'm trying my
For a new Java web project I thought about using: Eclipse as IDE Mercurial
Almost every new Java-web-project is using a modern MVC-framework such as Struts or Spring
I have a web application that use Sring IoC framework. I use the Java
I know that more-dynamic-than-Java languages, like Python and Ruby, often allow you to place
I have some image processing Java code in Android that acts upon two large
For a java application:Why isn't there possible to start two different threads in the

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.