<<< Previous question <<< Question ID#0492.md >>> Next question >>>
Given a class called SoapFunctions and a working WSDL for the methods in that class, what needs to be added to the code below to serve those methods over SOAP?
require("SoapFunctions.php");
$s = new SoapServer($wsdl);
$s->handle();
- A) $s->setClass("SoapFunctions");
- B) $s->setHandler("SoapFunctions");
- C) set_soap_class($s, "SoapFunctions");
- D) set_soap_handler($s, "SoapFunctions");
Answer
Answer: A