Beginning PHP and Postgre SQL 8 From Novice to Professional phần 7

hoàn toàn loại bỏ một đối tượng thư mục là rất hiếm, có thể bạn sẽ muốn để loại bỏ các thuộc tính đối tượng hơn là một toàn bộ đối tượng. Feat này được thực hiện với các ldap_mod_del function (), giới thiệu tiếp theo. Giá trị này đòi hỏi một khởi động lại đầy đủ của PostgreSQL cho bất kỳ thay đổi có hiệu lực. | 508 CHAPTER 20 WEB SERVICES Scope PHP_INI_ALL Default value 1 This directive determines whether the WSDL caching feature is enabled. Scope PHP_INI_ALL Default value tmp This directive determines the location where WSDL documents are cached. Scope PHP_INI_ALL Default value 86400 This directive determines the time in seconds that a WSDL document is cached. SoapServer object SoapServer- SoapServer mixed wsdl array options The SoapServer constructor instantiates a new instance of the SoapServer class in WSDL or non-WSDL mode. If you require WSDL mode you need to assign the wsdl parameter the WSDL file s location or else set it to NULL. The discretionary options parameter is an array used to set one or both of the following options actor Identifies the SOAP server as an actor defining its URI. soap_version Determines the supported SOAP version and must be set with the syntax SOAP_x_y where x is an integer specifying the major version number and y is an integer specifying the corresponding minor version number. For example SOAP version would be assigned as SOAP_1_2. The following example creates a SoapServer object referencing the file soapserver new SoapServer Of course if the WSDL file resides on another server you can reference it using a valid URI. For example soapserver new SoapServer http However creating a SoapServer object is only one task of several required to create a basic SOAP server. Next you need to export at least one function a task accomplished using the addFunction method introduced next. Note If you re interested in exposing all methods in a class through the SOAP server use the method setClass introduced later in this section. CHAPTER 20 WEB SERVICES 509 addFunction void SoapServer- addFunction mixed functions You can make a function available to clients by exporting it using the addFunction method. In the WSDL file there is only .

Không thể tạo bản xem trước, hãy bấm tải xuống
TÀI LIỆU MỚI ĐĂNG
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.