PHP 매뉴얼
이전 |  | 다음

# SoapServer::SoapServer

(no version information, might be only in CVS)

SoapServer::SoapServer -- SoapServer constructor

## Description

object SoapServer::SoapServer ( mixed wsdl [, array options])

This constuctor allows the creatiion of SoapServer objects in WSDL or non-WSDL mode. In the first case, `wsdl` must be set to the URI of a WSDL file. In the second case, `wsdl` must be set to `NULL` and the `uri` option must be set. Additional `options` allow setting a default SOAP version (`soap_version`) and actor URI (`actor`).

예 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(null, array('uri' => "http://test-uri/")); ?>`

이전 | 처음으로 | 다음
SoapParam::SoapParam | 위로 | SoapServer::addFunction