Help for Server SOAP on SWI Prolog

13 views
Skip to first unread message

Lo que sea video

unread,
Jul 10, 2016, 7:11:42 PM7/10/16
to SWI-Prolog
Hi everybody, i want to know how i can implement (migrate) this code on swi prolog.

<?php
if(!extension_loaded("soap")){
     dl("php_soap.dll");
}
 
ini_set("soap.wsdl_cache_enabled","0");
$server = new SoapServer("mywsdl.wsdl");
 
function add($param1,$param2){
     return $param1+$param2;
}
 
function sub($param1, $param2){
     return $param1-$param2;
}
 
$server->AddFunction("add");
$server->AddFunction("sub");
$server->handle();
?>
Reply all
Reply to author
Forward
0 new messages