downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

Our source is open

The syntax highlighted source is automatically generated by PHP from the plaintext script. If you're interested in what's behind the several functions we used, you can always take a look at the source of the following files:

Of course, if you want to see the source of this page, we have it available. You can also browse the SVN repository for this website on svn.php.net.

Source of: /manual/en/class.soapserver.php

<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$PARENTS = array();
include_once
dirname(__FILE__) ."/toc/book.soap.inc";
$setup = array (
 
'home' =>
  array (
   
0 => 'index.php',
   
1 => 'PHP Manual',
  ),
 
'head' =>
  array (
   
0 => 'UTF-8',
   
1 => 'en',
  ),
 
'this' =>
  array (
   
0 => 'class.soapserver.php',
   
1 => 'SoapServer',
  ),
 
'up' =>
  array (
   
0 => 'book.soap.php',
   
1 => 'SOAP',
  ),
 
'prev' =>
  array (
   
0 => 'soapclient.soapclient.php',
   
1 => 'SoapClient::SoapClient',
  ),
 
'next' =>
  array (
   
0 => 'soapserver.addfunction.php',
   
1 => 'SoapServer::addFunction',
  ),
);
$setup["toc"] = $TOC;
$setup["parents"] = $PARENTS;
manual_setup($setup);

manual_header();
?>
<div>

 <h1 class="title">The SoapServer class</h1>
 

 <div class="partintro">


  <div id="soapserver.intro" class="section">
   <h2 class="title">Introduction</h2>
   <p class="para">
    The SoapServer class provides a server for the <a href="http://www.w3.org/TR/soap11/" class="link external">&raquo; SOAP 1.1</a> and <a href="http://www.w3.org/TR/soap12/" class="link external">&raquo; SOAP 1.2</a> protocols. It can be used with or without a WSDL service description.
   </p>
  </div>


  <div id="soapserver.synopsis" class="section">
   <h2 class="title">Class synopsis</h2>


   <div class="classsynopsis">
    <div class="ooclass"><b class="classname">SoapServer</b></div>


    <div class="classsynopsisinfo">
     <span class="ooclass">
      <b class="classname">SoapServer</b>
     </span>
     {</div>

   
    <div class="classsynopsisinfo classsynopsisinfo_comment">/* Methods */</div>
    <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">void</span> <span class="methodname"><a href="soapserver.addfunction.php" class="function">addFunction</a></span>
    ( <span class="methodparam"><span class="type">string</span> <tt class="parameter">$functions</tt></span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">void</span> <span class="methodname"><a href="soapserver.addsoapheader.php" class="function">addSoapHeader</a></span>
    ( <span class="methodparam"><span class="type">string</span> <tt class="parameter">$object</tt></span>
   )</div>
<div class="methodsynopsis dc-description">
    <span class="methodname"><a href="soapserver.construct.php" class="function">__construct</a></span>
    ( <span class="methodparam"><span class="type"><a href="language.pseudo-types.php#language.types.mixed" class="type mixed">mixed</a></span> <tt class="parameter">$wsdl</tt></span>
   [, <span class="methodparam"><span class="type">array</span> <tt class="parameter">$options</tt></span>
  ] )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">void</span> <span class="methodname"><a href="soapserver.fault.php" class="function">fault</a></span>
    ( <span class="methodparam"><span class="type">string</span> <tt class="parameter">$code</tt></span>
   , <span class="methodparam"><span class="type">string</span> <tt class="parameter">$string</tt></span>
   [, <span class="methodparam"><span class="type">string</span> <tt class="parameter">$actor</tt></span>
   [, <span class="methodparam"><span class="type">string</span> <tt class="parameter">$details</tt></span>
   [, <span class="methodparam"><span class="type">string</span> <tt class="parameter">$name</tt></span>
  ]]] )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">array</span> <span class="methodname"><a href="soapserver.getfunctions.php" class="function">getFunctions</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">void</span> <span class="methodname"><a href="soapserver.handle.php" class="function">handle</a></span>
    ([ <span class="methodparam"><span class="type">string</span> <tt class="parameter">$soap_request</tt></span>
  ] )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">void</span> <span class="methodname"><a href="soapserver.setclass.php" class="function">setClass</a></span>
    ( <span class="methodparam"><span class="type">string</span> <tt class="parameter">$class_name</tt></span>
   [, <span class="methodparam"><span class="type">string</span> <tt class="parameter">$args</tt></span>
  ] )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">void</span> <span class="methodname"><a href="soapserver.setobject.php" class="function">setObject</a></span>
    ( <span class="methodparam"><span class="type">string</span> <tt class="parameter">$object</tt></span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">void</span> <span class="methodname"><a href="soapserver.setpersistence.php" class="function">setPersistence</a></span>
    ( <span class="methodparam"><span class="type">string</span> <tt class="parameter">$mode</tt></span>
   )</div>
<div class="methodsynopsis dc-description">
    <span class="methodname"><a href="soapserver.soapserver.php" class="function">SoapServer</a></span>
    ( <span class="methodparam"><span class="type"><a href="language.pseudo-types.php#language.types.mixed" class="type mixed">mixed</a></span> <tt class="parameter">$wsdl</tt></span>
   [, <span class="methodparam"><span class="type">array</span> <tt class="parameter">$options</tt></span>
  ] )</div>

   }</div>


  </div>

 </div>

 







































































<h2>Table of Contents</h2><ul class="chunklist chunklist_reference"><li><a href="soapserver.addfunction.php">SoapServer::addFunction</a> — Adds one or more functions to handle SOAP requests</li><li><a href="soapserver.addsoapheader.php">SoapServer::addSoapHeader</a> — Add a SOAP header to the response</li><li><a href="soapserver.construct.php">SoapServer::__construct</a> — SoapServer constructor</li><li><a href="soapserver.fault.php">SoapServer::fault</a> — Issue SoapServer fault indicating an error</li><li><a href="soapserver.getfunctions.php">SoapServer::getFunctions</a> — Returns list of defined functions</li><li><a href="soapserver.handle.php">SoapServer::handle</a> — Handles a SOAP request</li><li><a href="soapserver.setclass.php">SoapServer::setClass</a> — Sets the class which handles SOAP requests</li><li><a href="soapserver.setobject.php">SoapServer::setObject</a> — Sets the object which will be used to handle SOAP requests</li><li><a href="soapserver.setpersistence.php">SoapServer::setPersistence</a> — Sets SoapServer persistence mode</li><li><a href="soapserver.soapserver.php">SoapServer::SoapServer</a> — SoapServer constructor</li></ul>
</div>
<?php manual_footer(); ?>
 
show source | credits | sitemap | contact | advertising | mirror sites