Welcome Guest, Not a member yet? Register   Sign In
php5 SOAP, what is the URI for the WSDL?
#1

[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.
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();
  }
}
?>


Messages In This Thread
php5 SOAP, what is the URI for the WSDL? - by El Forum - 11-09-2009, 10:09 AM
php5 SOAP, what is the URI for the WSDL? - by El Forum - 11-10-2009, 03:36 PM



Theme © iAndrew 2016 - Forum software by © MyBB