MIOLO20
Carregando...
Procurando...
Nenhuma entrada encontrada
demo5.php
Ir para a documentação deste ficheiro.
1<?php
2
3// This is an example how to use global methods in a SOAP webservice.
4//
5// You can't mix class and global methods within one webservice, if you're not
6// using the PhpWsdlProxy class (see demo3.php).
7
8require_once('class.phpwsdl.php');
9ini_set('soap.wsdl_cache_enabled',0); // Disable caching in PHP
10PhpWsdl::$CacheTime=0; // Disable caching in PhpWsdl
11PhpWsdlMethod::$IsGlobalDefault=true; // Serve any method as global per default
12PhpWsdl::RunQuickMode(); // Run in quick mode
13
22 return utf8_encode('Response of the global method demo');
23}
24
25// If you want PhpWsdl to handle all methods as global per default, set the
26// PhpWsdlMethod::$IsGlobalDefault to TRUE. Then you don't need to set the
27// setting "global" to "1" for every method.
static $CacheTime
static RunQuickMode($file=null)
GlobalMethodDemo()
Definição demo5.php:21