П О Р Т А Л                            
С Е Т Е В Ы Х                          
П Р О Е К Т О В                        
  
Поиск по сайту:
                                                 
Главная

О проекте

Web-мастеру
     HTML & JavaScript
     SSI
     Perl
     PHP
     XML & XSLT
     Unix Shell

MySQL

Безопасность

Хостинг

Другое








Самое читаемое:

Учебник PHP - "Для Чайника".
Просмотров 5961 раз(а).

Иллюстрированный самоучитель по созданию сайтов.
Просмотров 8105 раз(а).

Учебник HTML.
Просмотров 4797 раз(а).

Руководство по PHP5.
Просмотров 1811 раз(а).

Хостинг через призму DNS.
Просмотров 6802 раз(а).

Подборка текстов стандартных документов.
Просмотров 57454 раз(а).

Учебник PHP - Самоучитель
Просмотров 5073 раз(а).

Документация на MySQL (учебник & справочное руководство)
Просмотров 11179 раз(а).

Внешние атаки...
Просмотров 6932 раз(а).

Учебник PHP.
Просмотров 4109 раз(а).

SSI в примерах.
Просмотров 1128 раз(а).



 
 
| Добавить в избранное | Сделать стартовой | Помощь





Руководство по PHP
Пред. След.

SoapServer->__construct()

(no version information, might be only in CVS)

SoapServer->__construct() --  SoapServer constructor

Описание

class SoapServer {

__construct ( mixed wsdl [, array options] )

}

This constructor allows the creation of SoapServer objects in WSDL or non-WSDL mode.

Список параметров

wsdl

If you want the WSDL mode, you must set this to the URI of a WSDL file. In the other case, you must set this to NULL and set the uri option.

options

Allow setting a default SOAP version (soap_version), internal character encoding (encoding), and actor URI (actor). The classmap option can be used to map some WSDL types to PHP classes. This option must be an array with WSDL types as keys and names of PHP classes as values.

Примеры

Пример 1. Some examples

<?php

$server
= new SoapServer("some.wsdl");

$server = new SoapServer("some.wsdl", array('soap_version' => SOAP_1_2));

$server = new SoapServer("some.wsdl", array('actor' => "http://example.org/ts-tests/C"));

$server = new SoapServer("some.wsdl", array('encoding'=>'ISO-8859-1'));

$server = new SoapServer(null, array('uri' => "http://test-uri/"));

class
MyBook {
    
public $title;
    
public $author;
}

$server = new SoapServer("books.wsdl", array('classmap' => array('book' => "MyBook")));

?>


Пред. Начало След.
SoapServer->addFunction() Уровень выше SoapServer->fault()


Если Вы не нашли что искали, то рекомендую воспользоваться поиском по сайту:
 





Copyright © 2005-2016 Project.Net.Ru