SOAP 1.2 integration into WordPress
-
Hello,
I have a SOAP 1.2 API code from a client that I need to integrate into their wordpress website, except I have never worked with SOAP before. I was wondering how do I go about putting this code into their website? Thank you!
POST /asknow.asmx HTTP/1.1
Host: webservices.asknow.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length<?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:Header>
<AuthenticationHeader xmlns=”http://tempuri.org/”>
<Username>string</Username>
<Password>string</Password>
</AuthenticationHeader>
</soap12:Header>
<soap12:Body>
<GetHoroscopeBySign xmlns=”http://tempuri.org/”>
<sign>string</sign>
<htype>long</htype>
</GetHoroscopeBySign>
</soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length<?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>
<GetHoroscopeBySignResponse xmlns=”http://tempuri.org/”>
<GetHoroscopeBySignResult>xml</GetHoroscopeBySignResult>
</GetHoroscopeBySignResponse>
</soap12:Body>
</soap12:Envelope>
The topic ‘SOAP 1.2 integration into WordPress’ is closed to new replies.