Web service - Interview Questions and Answers for 'Cogent infotech corp' | Search Java Interview Question - javasearch.buggybread.com
Javasearch.buggybread.com

Search Interview Questions


 More than 3000 questions in repository.
 There are more than 900 unanswered questions.
Click here and help us by providing the answer.
 Have a video suggestion.
Click Correct / Improve and please let us know.
Label / Company      Label / Company / Text

   



Web service - Interview Questions and Answers for 'Cogent infotech corp' - 2 question(s) found - Order By Newest

 Q1. In which cases using SOAP is preferred over REST ?Web Service2017-04-27 18:08:18

Ans. SOAP services are better in case we need to establish a formal and detail contract with the client or callers and hence suitable for

1. Services published for much wider unknown audience
2. Require large input payload
3. Requiring different level for authentication

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     soap vs rest  soap  rest     Asked in 2 Companies


Related Questions

  What are RESTful Web Services ?
 What is the relationship between VPC and subnet ? Can you tell with an example ?
 Difference between GET and POST Requests ?
 What is cloud computing ?
 Why is cloud infrastructure so powerful ?
  Which markup languages can be used in restful web services ?
  Why Web services use HTTP as the communication protocol ?
  Name some Java REST services frameworks ?
  In Spring , Which class handles the Http requests for RESTful web services ?
 If you are given a choice to have a functionality shared either through dependency or through a Web service, which one will you choose ?


 Q2. If SOAP is more secure than Rest, Why many applications today use Rest ?Web Service2018-07-04 16:21:38

Ans. SOAP supports only xml whereas Rest support many other formats.

Rest services are very light weight compared to SOAP.

SOAP services are code heavy as they require creation. of stubs and skeltons.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     soap  rest  soap vs rest     Asked in 2 Companies


Related Questions

  What are RESTful Web Services ?
 Difference between GET and POST Requests ?
 How can we restrict CloudFront access to a particular Geography ?
  What are the restrictions for the entity classes ?
 In which cases using SOAP is preferred over REST ?
 What could be the reasons for restricting inheritance using final class ?
  What restrictions are placed on method overriding?
  If you have access to a function that returns a random integer from one to five, write another function which returns a random integer from one to seven.
  Which markup languages can be used in restful web services ?
  Why Web services use HTTP as the communication protocol ?



Help us and Others Improve. Please let us know the questions asked in any of your previous interview.

Any input from you will be highly appreciated and It will unlock the application for 10 more requests.

Company Name:
Questions Asked: