-
Notifications
You must be signed in to change notification settings - Fork 130
Plugin: SOAP
tenzap edited this page Mar 9, 2022
·
2 revisions
Note: This is a plugin, you need to install it before use.
Access the API (API Endpoint) at: http://kalkun-url/index.php/plugin/soap/api
WSDL URL is located at http://kalkun-url/index.php/plugin/soap/api/wsdl
Sample SOAP request:
Request Header:
POST /kalkun/index.php/plugin/soap/api HTTP/1.0
Host: localhost
User-Agent: NuSOAP/0.9.5 (1.123)
Content-Type: text/xml; charset=ISO-8859-1
SOAPAction: "http://kalkun-url/index.php/plugin/soap/api/sendMessage"
Content-Length: 612
<?xml version="1.0" encoding="ISO-8859-1"?>
<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns9011="urn:Api">
<SOAP-ENV:Body>
<ns9011:sendMessage xmlns:ns9011="urn:Api">
<destinationNumber xsi:type="xsd:string">+1234</destinationNumber>
<message xsi:type="xsd:string">This is test from SOAP</message>
</ns9011:sendMessage>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
This is a plugin:
- To enable, install the plugin in Kalkun
- To disable, uninstall the plugin in Kalkun