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
83
votes
3 answers

How do I enable --enable-soap in php on linux?

That's much the question. I have PHP 5.2.9 on Apache and I cannot upgrade PHP. Is there a way for me to enable SOAP in PHP 5.2.9? The PHP manual did not help at all when it said, "To enable SOAP support, configure PHP with --enable-soap ." How do I…
netrox
  • 5,224
  • 14
  • 46
  • 60
80
votes
6 answers

SOAP client in .NET - references or examples?

Background: I am creating a webservices site which will provide many types of simple services over SOAP and possibly other protocols too. The goal is to make it easy to do for example conversions, RSS parsing, spam checks and many other types of…
Emil Vikström
  • 90,431
  • 16
  • 141
  • 175
78
votes
2 answers

What is the difference between SOAP 1.1, SOAP 1.2, HTTP GET & HTTP POST methods for Android?

I am working on a code for SOAP Web services, I would like to know the variations in SOAP 1.1, SOAP 1.2, HTTP GET & HTTP POST methods for Android, and which is the preferred one among them. Please site out a sample of its usage URL or its…
Karthik
  • 4,943
  • 19
  • 53
  • 86
77
votes
2 answers

Compare and contrast REST and SOAP web services?

I currently figure out the similar is both using internet protocol (HTTP) to exchange data between consumer and provider. The difference is: SOAP is a XML-based message protocol, while REST is an architectural style SOAP uses WSDL for…
Huppo
  • 971
  • 2
  • 10
  • 11
75
votes
3 answers

What SOAP libraries exist for Python 3.x?

I searched the web for an existing and supported SOAP library for Python 3. (both client and server) Here the list of libraries I've found: Python 2: Zeep: active and well documented in Python 2.7/3 SOAPy: discontinued Python 2 project ZSI:…
gecco
  • 17,969
  • 11
  • 51
  • 68
75
votes
1 answer

SOAP request in PHP with CURL

Since the SOAP manual on php.net is not very noob friendly and I could not find any good examples I will post my question here. How can I create PHP SOAP request to look like this? POST /MySERVER/myWSDLservice.asmx HTTP/1.1 Host:…
Iladarsda
  • 10,640
  • 39
  • 106
  • 170
73
votes
5 answers

c# Soap Client Issue - more than one endpoint configuration for th at contract was found

I am trying to write a simple c# console application to test the SOAP API from here: https://www.imailtest.co.uk/webservice/imail_api.asmx?wsdl (or https://www.imailtest.co.uk/webservice/imail_api.asmx to see the api methods) So, I added this…
Latheesan
  • 23,247
  • 32
  • 107
  • 201
71
votes
9 answers

How can I make Spring WebServices log all SOAP requests?

I need all SOAP requests logged in the CommonLogFormat (see http://en.wikipedia.org/wiki/Common_Log_Format), plus the duration (the amount of time it takes to process the request). What's the best way to do this? It looks like it's possible to…
Nate Reed
  • 6,761
  • 12
  • 53
  • 67
69
votes
4 answers

What is the relationship between WCF, Rest and SOAP?

What is the relationship between WCF and REST&SOAP? Is WCF based on one of those technologies (REST or SOAP) or it is a separate technology?
user1460819
  • 2,052
  • 5
  • 26
  • 35
68
votes
4 answers

Disable certificate verification in PHP SoapClient

Summary: Is there a way to force the built in SoapClient-class in PHP to connect over HTTPS to a server with an invalid certificate? Why would I want to do that? I have deployed a new application on a server that has no DNS entry or certificate yet.…
MW.
  • 12,550
  • 9
  • 36
  • 65
67
votes
17 answers

SOAP-ERROR: Parsing WSDL: Couldn't load from - but works on WAMP

This works fine on my WAMP server, but doesn't work on the linux master server!? try{ $client = new SoapClient('http://ec.europa.eu/taxation_customs/vies/checkVatService.wsdl', ['trace' => true]); $result = $client->checkVat([ …
clarkk
  • 27,151
  • 72
  • 200
  • 340
66
votes
7 answers

How do I see the actual XML generated by PHP SOAP Client Class?

Consider this example SOAP Client script: $SOAP = new SoapClient($WDSL); // Create a SOAP Client from a WSDL // Build an array of data to send in the request. $Data = array('Something'=>'Some String','SomeNumber'=>22); $Response =…
Nick
  • 10,904
  • 10
  • 49
  • 78
65
votes
1 answer

Python sign SOAP request using BinarySecurityToken

I'm trying to sign a SOAP request with a certificate using python. I've tried python-zeep and its Signature methods and suds with py-wsse. Both don't give me the expected result. Zeep gives me:
pawni
  • 761
  • 5
  • 3
65
votes
8 answers

How to parse SOAP XML?

SOAP XML:
Anton
  • 651
  • 1
  • 5
  • 4
64
votes
4 answers

Python SOAP Client - use SUDS or something else?

I am currently looking into implementing a client which will use an existing extensive SOAP management API. I looked into different SOAP implementations like pysimplesoap and SUDS. While the first had problems parsing the WSDL because of too much…
circus
  • 2,470
  • 3
  • 21
  • 25