File: examples/startup_example/run_with_service.php

Recommend this page to a friend!
  Classes of Jorge Castro  >  Cloud King PHP SOAP Server  >  examples/startup_example/run_with_service.php  >  Download  
File: examples/startup_example/run_with_service.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Cloud King PHP SOAP Server
Implement an SOAP server API with handler classes
Author: By
Last change:
Date: 2 months ago
Size: 411 bytes
 

Contents

Class file image Download
<?php

use www\examplenamespace\cl\service\ExampleHelloService;

include
'ExampleDefinition.php';
include
'service\IExampleHelloService.php';
include
'service\ExampleHelloService.php';

ExampleDefinition::init();
ExampleDefinition::$service->folderServer=__DIR__; // or you could select any folder.run_initial.php
ExampleDefinition::$service->serviceInstance=new ExampleHelloService();
ExampleDefinition::run();


For more information send a message to info at phpclasses dot org.