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
99
votes
10 answers

Getting RAW Soap Data from a Web Reference Client running in ASP.net

I'm trying to trouble shoot a web service client in my current project. I'm not sure of the platform of the Service Server (Most likely LAMP). I believe there is a fault on their side of the fence as i have eliminated the potential issues with my…
Andrew Harry
  • 13,773
  • 18
  • 67
  • 102
99
votes
5 answers

What is the difference between JAX-RS and JAX-WS?

After reading a few articles about JAX-RS and JAX-WS, I had a few questions that I want to confirm? Can JAX-RS do Asynchronous Request like JAX-WS? Can JAX-RS access a web service that is not running on the Java platform, and vice versa? What does…
pmark019
  • 1,199
  • 5
  • 15
  • 24
98
votes
6 answers

Best/Most Comprehensive API for Stocks/Financial Data

What is the most recommended free/public API for accessing financial market stats and stock quotes (preferrably real-time quotes)? I'm not too picky about how it's exposed (SOAP, REST, some proprietary XML setup, etc.), as long as it's got some…
Wilco
  • 32,754
  • 49
  • 128
  • 160
98
votes
6 answers

In PHP how can you clear a WSDL cache?

In through php_info() where the WSDL cache is held (/tmp), but I don't necessarily know if it is safe to delete all files starting with WSDL. Yes, I should be able to just delete everything from /tmp, but I don't know what else this could effect if…
jW.
  • 9,280
  • 12
  • 46
  • 50
95
votes
6 answers

Can I stream a file upload to S3 without a content-length header?

I'm working on a machine with limited memory, and I'd like to upload a dynamically generated (not-from-disk) file in a streaming manner to S3. In other words, I don't know the file size when I start the upload, but I'll know it by the end. …
Tyler
  • 28,498
  • 11
  • 90
  • 106
92
votes
9 answers

Getting Raw XML From SOAPMessage in Java

I've set up a SOAP WebServiceProvider in JAX-WS, but I'm having trouble figuring out how to get the raw XML from a SOAPMessage (or any Node) object. Here's a sample of the code I've got right now, and where I'm trying to grab the…
Dan Lew
  • 85,990
  • 32
  • 182
  • 176
91
votes
10 answers

What's the best way to use SOAP with Ruby?

A client of mine has asked me to integrate a 3rd party API into their Rails app. The only problem is that the API uses SOAP. Ruby has basically dropped SOAP in favor of REST. They provide a Java adapter that apparently works with the Java-Ruby…
jcoby
  • 4,210
  • 2
  • 29
  • 25
90
votes
16 answers

No found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations:

I am trying to write a SOAP service using Spring, however I receive a Dependency Injection issue. I'm having problems using @Autowired through the Service like this: public interface UserDao { User getUser(String username); } Implementation…
user2659694
  • 1,160
  • 1
  • 12
  • 23
89
votes
7 answers

How do I get the XML SOAP request of an WCF Web service request?

I'm calling this web service within code and I would like to see the XML, but I can't find a property that exposes it.
Diskdrive
  • 18,107
  • 27
  • 101
  • 167
88
votes
3 answers

Do SOAP Web services support only "POST" http method

I faced this question on one of interviews, so could you please tell whether SOAP Web services support only "POST" http method or there is some way to accept other methods on the server side?
evgeniy44
  • 2,862
  • 7
  • 28
  • 51
87
votes
10 answers

How do I install soap extension?

How do I install Soap? I got this error: Fatal error: Class 'SoapClient' not found in /home/user/mysite.com/path/to/file.php on line 16 I am hosting my site in DreamHost and they don't support any third-party installation. UPDATE: I copied the…
Loreto Gabawa Jr.
  • 1,996
  • 5
  • 21
  • 33
86
votes
9 answers

What does Representational State mean in REST?

I have been reading all over the net to get the exact meaning of two words: REPRESENTATIONAL STATE I have a doubt. I am misunderstanding these terms. i want to clarify understanding with some one how has good idea about this. My understanding is…
KItis
  • 5,476
  • 19
  • 64
  • 112
85
votes
3 answers

What's the difference between XML-RPC and SOAP?

I've never really understand why a web service implementer would choose one over the other. Is XML-RPC generally found in older systems? Any help in understanding this would be greatly appreciated.
Scott Saad
  • 17,962
  • 11
  • 63
  • 84
85
votes
5 answers

Can a WSDL indicate the SOAP version (1.1 or 1.2) of the web service?

Is it possible to see if a web service uses SOAP 1.1 or 1.2, based on the information in the WSDL?
mjn
  • 36,362
  • 28
  • 176
  • 378
85
votes
1 answer

I am confused about SOAP namespaces

I am learning about SOAP implementation and have become somewhat confused regarding the appropriate namespace URI for a SOAP 1.2 Envelope. The w3c specification for SOAP refers to the "http://www.w3.org/2003/05/soap-envelope" namespace. However,…
Jon Trauntvein
  • 4,453
  • 6
  • 39
  • 69