Questions tagged [soap]

Simple Object Access Protocol (SOAP) is a protocol specification for exchanging structured information in the implementation of Web Services.

The SOAP specification defines the messaging framework which consists of:

  • The SOAP processing model defining the rules for processing a SOAP message
  • The SOAP extensibility model defining the concepts of SOAP features and SOAP modules
  • The SOAP underlying protocol binding framework describing the rules for defining a binding to an underlying protocol that can be used for exchanging SOAP messages between SOAP nodes
  • The SOAP message construct defining the structure of a SOAP message

XML was chosen as the standard message format because of its widespread use by major corporations and open source development efforts.

Frequently Asked Questions

People often ask these questions related to SOAP:

27664 questions
158
votes
2 answers

JSON, REST, SOAP, WSDL, and SOA: How do they all link together

Currently doing some exams and I'm struggling through some concepts. These have all been 'mentioned' in my notes really but I didn't really understand how they all linked together. As far as my understanding is: SOA - a solution to make service…
Jay
  • 2,107
  • 4
  • 20
  • 24
155
votes
13 answers

How to make a PHP SOAP call using the SoapClient class

I'm used to writing PHP code, but do not often use Object-Oriented coding. I now need to interact with SOAP (as a client) and am not able to get the syntax right. I've got a WSDL file which allows me to properly set up a new connection using the…
user1305445
153
votes
1 answer

SOAP server and client application VCL+indy demo for Delphi XE?

Delphi used to include a demos folder for web Services, but no longer seems to include this. I just tried the Delphi 7 demo projects (SOAPDMServerWAD, a server with almost no UI at all, and SOAPDMClient) and was unable to get them to function, even…
Warren P
  • 65,725
  • 40
  • 181
  • 316
146
votes
5 answers

Should a Netflix or Twitter-style web service use REST or SOAP?

I've implemented two REST services: Twitter and Netflix. Both times, I struggled to find the use and logic involved in the decision to expose these services as REST instead of SOAP. I hope somebody can clue me in to what I'm missing and explain why…
Josh M.
  • 26,437
  • 24
  • 119
  • 200
136
votes
10 answers

How can I consume a WSDL (SOAP) web service in Python?

I want to use a WSDL SOAP based web service in Python. I have looked at the Dive Into Python code but the SOAPpy module does not work under Python 2.5. I have tried using suds which works partly, but breaks with certain types (suds.TypeNotFound:…
davidmytton
  • 38,604
  • 37
  • 87
  • 93
130
votes
7 answers

Working Soap client example

I'm trying to find a simple (ha) SOAP example in JAVA with a working service, any I seem to be finding are not working. I have tried this one from this example but it's just not working, it's asking me to put a forward slash in but it's in there and…
M_K
  • 3,247
  • 6
  • 30
  • 47
129
votes
8 answers

Why do we need RESTful Web Services?

I'm going to learn RESTful web services (it's better to say that I'll have to do this because it's a part of CS master degree program). I've read some info in Wikipedia and I've also read an article about REST at Sun Developer Network and I see…
Roman
  • 64,384
  • 92
  • 238
  • 332
117
votes
4 answers

How to do a SOAP Web Service call from Java class?

I'm relative new to the webservices world and my research seems to have confused me more than enlighten me, my problem is that I was given a library(jar) which I have to extend with some webservice functionality. This library will be shared to other…
jpz
  • 1,181
  • 3
  • 8
  • 4
115
votes
8 answers

How to do a SOAP wsdl web services call from the command line

I need to make a SOAP webservice call to https://sandbox.mediamind.com/Eyeblaster.MediaMind.API/V2/AuthenticationService.svc?wsdl and to use the operation ClientLogin while passing through the parameters: ApplicationKey, Password, and UserName. The…
Marina
  • 3,222
  • 5
  • 25
  • 35
111
votes
16 answers

Node.js: how to consume SOAP XML web service

I wonder what is the best way to consume SOAP XML web service with node.js Thanks!
WHITECOLOR
  • 24,996
  • 37
  • 121
  • 181
108
votes
10 answers

Difference between a SOAP message and a WSDL?

I am confused about how SOAP messages and WSDL fit together? I have started looking into SOAP messages such as: POST /InStock HTTP/1.1 Host: www.example.org Content-Type: application/soap+xml; charset=utf-8 Content-Length: nnn
James
  • 2,951
  • 8
  • 41
  • 55
107
votes
8 answers

How do I set the timeout for a JAX-WS webservice client?

I've used JAXWS-RI 2.1 to create an interface for my web service, based on a WSDL. I can interact with the web service no problems, but haven't been able to specify a timeout for sending requests to the web service. If for some reason it does not…
ninesided
  • 23,085
  • 14
  • 83
  • 107
103
votes
6 answers

What is the difference between Document style and RPC style communication?

Can somebody explain to me the differences between Document and RPC style webservices? Apart from JAX-RPC, the next version is JAX-WS, which supports both Document and RPC styles. I also understand document style webservices are meant for…
Amrin
  • 1,495
  • 6
  • 14
  • 14
103
votes
2 answers

Sending SOAP request using Python Requests

Is it possible to use Python's requests library to send a SOAP request?
Deepankar Bajpeyi
  • 5,661
  • 11
  • 44
  • 64
100
votes
1 answer

Public free web services for testing soap client

Are there any publicly available SOAP 1.2/WSDL 2.0 compliant free web services for testing a Python based soap client library (e.g. Zolera SOAP Infrastructure)? So far, it appears to me that Google Web API may be the only option. Otherwise, how can…
bhadra
  • 12,887
  • 10
  • 54
  • 47