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
8
require_once(
'class.phpwsdl.php'
);
9
ini_set(
'soap.wsdl_cache_enabled'
,0);
// Disable caching in PHP
10
PhpWsdl::$CacheTime
=0;
// Disable caching in PhpWsdl
11
PhpWsdlMethod::$IsGlobalDefault
=
true
;
// Serve any method as global per default
12
PhpWsdl::RunQuickMode
();
// Run in quick mode
13
21
function
GlobalMethodDemo
(){
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.
PhpWsdlMethod\$IsGlobalDefault
static $IsGlobalDefault
Definição
class.phpwsdlmethod.php:57
PhpWsdl\$CacheTime
static $CacheTime
Definição
class.phpwsdl.php:256
PhpWsdl\RunQuickMode
static RunQuickMode($file=null)
Definição
class.phpwsdl.php:576
GlobalMethodDemo
GlobalMethodDemo()
Definição
demo5.php:21
classes
contrib
phpWsdl
demo5.php
Gerado por
1.10.0