Questions tagged [soap]

Simple Object Access Protocol a.k.a SOAP

Simple Object Access Protocol is a protocol for exchanging structured data.

59 questions
85
votes
3 answers

What is REST (in simple English)

Lately I have become interested in familiarizing myself with REST. I tried reading wiki entry on REST, but it was of no help. I would really appreciate it if someone can explain in simple English (that is without unnecessary tech jargon) What is…
Gaurav
  • 3,729
  • 2
  • 25
  • 43
63
votes
3 answers

What is the present-day significance of SOAP

Last I encountered a SOAP based service was during my internship in a financial firm in 2013. That was the time when I started my career in IT. I remember having some study material about SOAP in one of my engineering course. Outside of that, I…
Abhas Tandon
  • 723
  • 1
  • 5
  • 8
37
votes
7 answers

How do I convince my boss to use REST over SOAP?

We need to create an API to our system. How do I convince my boss that REST is a better option than SOAP (or XML-RPC)? I say REST is... easier to implement and maintain not much new to learn -- plain old HTTP lot of people have chosen it Yahoo ~…
treecoder
  • 9,475
  • 10
  • 47
  • 84
32
votes
7 answers

What are the deciding factors in choosing to expose a web service as a SOAP or REST service?

As far as I can see consuming SOAP requires a SOAP stack, so it is harder for your clients to consume i.e. they need to ensure that they have a SOAP stack in place that formats the POST data and the headers correctly and then gives you back some…
user23157
23
votes
4 answers

Why do people think SOAP is deprecated?

While browsing SO today I found this question here and it starts with this: Sure, you're gonna tell me that SOAP is depracated and all, well i'm forced to use it Found lots of statement like this one on SO up till now, this one just triggered me…
user98q37479
  • 239
  • 1
  • 2
  • 3
21
votes
10 answers

When does SOAP make more sense than REST?

From my understanding of REST, the implicit assumption is that all operations are CRUD operations. Sometimes, you are not doing CRUD operations and are doing some more complex logic. In this case, is not SOAP more suitable? Or is it the case that…
Sachin Kainth
  • 385
  • 1
  • 2
  • 7
9
votes
1 answer

Design thoughts on a schema based request object for CXF endpoint

Trying to seek design suggestion on a schema based request object for a CXF endpoint. I've created a CXF SOAP endpoint which takes the following object as an input. The request object will have required fields, non-mandatory fields as well as…
Shamik
  • 191
  • 2
8
votes
1 answer

What security is used by default in WSHttpBinding (service side) or the WCF Test client (client side)?

I recently moved a service from BasicHttpBinding to WSHttpBinding (i.e. SOAP 1.1 -> SOAP 1.2). In WCF, using WSHttpBinding() makes it start using some default security settings. I presume the same default security settings are also used by the WCF…
DeepSpace101
  • 1,394
  • 5
  • 14
  • 26
8
votes
6 answers

What was SOAP invented for?

This question is inspired by this one. What was the initial goal of inventing SOAP? Why was it invented when we had old kind HTTP and REST?
SiberianGuy
  • 4,753
  • 6
  • 34
  • 46
7
votes
2 answers

What's the best practice to do SOA exception handling?

Here's some interesting debate going on between me and my colleague when coming to handle SOA exceptions: On one side, I support what Juval Lowy said in Programming WCF Services 3rd Edition: As stated at the beginning of this chapter, it is a…
neolei
  • 195
  • 1
  • 1
  • 4
7
votes
3 answers

Can a webservice that uses JSON over POST be classified as RESTful?

Recently I have started using a new(to me) paradigm for web services. I use the controller to accept JSON strings sent over POST, process it and return JSON strings. GET, PUT, DELETE and other methods throw HTTP 405. This pattern is proving to be…
Jit B
  • 373
  • 2
  • 9
6
votes
6 answers

Are SOAP services better than RESTful services for interfacing with complex scientific models?

I have a scientific model that is typically run by providing it a complex text-based input file. I would like to provide a service endpoint to allow users to instantiate the underlying model. The simplest thing I could do would be to create a…
Ethan H
5
votes
2 answers

Multiple DTOs vs Single DTO vs primitives

I'm wondering what's the best approach, and its advantages, when specifying parameters for the Web Service methods. Best to explain it through examples. In my (SOAP) WebService, used by a Xamarin mobile app, I have a WebMethod SubmitForm(int,…
Jeff Nama
  • 53
  • 1
  • 4
5
votes
3 answers

How to prevent multiple form submissions when user reloads the page

I'm currently working on a project which requires that we integration a 3rd party SOAP API to handle a number of basic CRUD type operations. Our current implementation allows us to leveraging the Laravel framework's form validation classes prior…
user2308097
  • 485
  • 8
  • 10
5
votes
1 answer

Layers and layers of SOAP

I am designing the back-end to a SOAP web-service and have a question about how I am thinking of doing it. I am going to go with a simple layered design which consists of 3 separate layers. Layer 1 -> Layer 2 -> Layer 3 Layer 1 : Will implement the…
user115440
1
2 3 4