11-09-2009, 10:09 AM
[eluser]Unknown[/eluser]
Normally the URI to the WSDL would be
http://hostname/Webservice.php?WSDL
how would i navigate to the WSDL with code igniter?
Sample SOAP Service code I Found for Code Igniter.
Normally the URI to the WSDL would be
http://hostname/Webservice.php?WSDL
how would i navigate to the WSDL with code igniter?
Sample SOAP Service code I Found for Code Igniter.
Code:
<?php
class Webservice extends Controller{
function Webservice(){
parent::Controller();
}
function index(){
// dont cache the WSDL
ini_set("soap.wsdl_cache_enabled", "0");
// listen for SOAP Requests
$server = new SoapServer('SomeWSDL.wsdl');
// set the handler to class zomp
$server->setClass('SomeClass');
$server->handle();
}
}
?>