Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 615 Bytes

0492.md

File metadata and controls

21 lines (17 loc) · 615 Bytes

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