Developer
Supported
Rest
ExpressionEngine 2
Back to this add-on's main page
View Other Add-ons From Phil Sturgeon
SOAP Requests
General
timmo26
|
Posted: 03 May 2011 03:19 PM |
|
|
|
This looks great, will it also handle SOAP requests?
|
|
|
philsturgeon
|
Posted: 09 May 2011 07:25 PM |
# 1
|
|
Developer
|
It would depend on the content. This works with any API that expects normal HTTP requests and outputs XML, JSON, CSV, Serialised, etc.
You could point it at a SOAP request and pick it apart, but it does not handle WSDL’s or anything crazy like that. If you’d like to post an example of a response I could tell you how easy or hard it would be to work with.
|
|
|
uuitservices
|
Posted: 18 May 2011 12:29 PM |
# 2
|
|
|
Phil,
I may have a need to work with SOAP 1.2 and saw this thread. I have your plugin on my EE site and love it! Here is an example Request Response from this SOAP Service. Any chance we can work with it?
Request:
<?xml version=“1.0” encoding=“utf-8”?>
<soap12:Envelope xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance” xmlns:xsd=“http://www.w3.org/2001/XMLSchema” xmlns:soap12=“http://www.w3.org/2003/05/soap-envelope”>
<soap12:Body>
<GetEventTypes >
<userName>string</userName>
string</password>
</GetEventTypes>
</soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
Response:
<?xml version=“1.0” encoding=“utf-8”?>
<soap12:Envelope xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance” xmlns:xsd=“http://www.w3.org/2001/XMLSchema” xmlns:soap12=“http://www.w3.org/2003/05/soap-envelope”>
<soap12:Body>
<GetEventTypesResponse >
<GetEventTypesResult>string</GetEventTypesResult>
</GetEventTypesResponse>
</soap12:Body>
</soap12:Envelope>
|
|
|
philsturgeon
|
Posted: 18 May 2011 12:42 PM |
# 3
|
|
Developer
|
Sorry but I’m going to guess at no. SOAP is just such a mess its hard to generically resolve such data.
|
|
|
uuitservices
|
Posted: 18 May 2011 12:43 PM |
# 4
|
|
|
Yea I figured! Thanks for your very prompt response!
|
|
|
esotm
|
Posted: 28 July 2014 11:42 AM |
# 5
|
|
|
If you don’t mind me asking, what was your solution for handling SOAP requests?
|
|
|