SOAP
[ class tree: SOAP ] [ index: SOAP ] [ all elements ]

Class: SOAP_Server

Source Location: /SOAP-0.9.3/Server.php

Class Overview

PEAR
   |
   --SOAP_Base_Object
      |
      --SOAP_Base
         |
         --SOAP_Server

SOAP Server Class


Author(s):

Variables

Methods


Child classes:

SOAP_Server_Email
SOAP Server Class that implements an email SOAP server.
SOAP_Server_TCP
SOAP Server Class that implements a TCP SOAP Server.

Inherited Variables

Inherited Methods


Class Details

[line 42]
SOAP Server Class

Originaly based on SOAPx4 by Dietrich Ayala http://dietrich.ganx4.com/soapx4



[ Top ]


Class Variables

$callHandler =  null

[line 52]


Type:   mixed


[ Top ]

$callValidation =  true

[line 53]


Type:   mixed


[ Top ]

$call_methodname =  null

[line 51]


Type:   mixed


[ Top ]

$dispatch_map = array()

[line 48]


Type:   array


[ Top ]

$dispatch_objects = array()

[line 49]


Type:   mixed


[ Top ]

$endpoint =  ''

[line 77]


Type:   mixed


[ Top ]

$headers = array()

[line 60]

A list of headers that are going to be sent back to the client.

Type:   array


[ Top ]

$method_namespace =  null

[line 80]


Type:   mixed


[ Top ]

$request =  ''

[line 66]


Type:   string


[ Top ]

$response_encoding =  'UTF-8'

[line 73]


Type:   mixed


[ Top ]

$result =  'successful'

[line 75]


Type:   mixed


[ Top ]

$service =  ''

[line 79]


Type:   mixed


[ Top ]

$soapobject =  null

[line 50]


Type:   mixed


[ Top ]

$xml_encoding =  SOAP_DEFAULT_ENCODING

[line 72]

  • Var: XML-Encoding

Type:   string


[ Top ]



Method Detail

SOAP_Server (Constructor)   [line 87]

SOAP_Server SOAP_Server( [mixed $options = null])


[ Top ]

addObjectMap   [line 676]

void addObjectMap( mixed &$obj, [mixed $namespace = null], [mixed $service_name = 'Default'], [mixed $service_desc = ''])


[ Top ]

addObjectWSDL   [line 775]

void addObjectWSDL( mixed &$wsdl_obj, mixed $targetNamespace, mixed $service_name, [mixed $service_desc = ''])


[ Top ]

addToMap   [line 728]

void addToMap( mixed $methodname, mixed $in, mixed $out, [mixed $namespace = null], [mixed $alias = null])

Adds a method to the dispatch map.

[ Top ]

bind   [line 754]

void bind( mixed $wsdl_url)

  • Deprecated: use bindWSDL from now on

[ Top ]

bindWSDL   [line 763]

void bindWSDL( string $wsdl_url)


Parameters:

string   $wsdl_url     a url to a WSDL resource

[ Top ]

buildResult   [line 316]

void buildResult( mixed &$method_response, mixed &$return_type, [mixed $return_name = 'return'], [mixed $namespace = ''])

Creates SOAP_Value object with return values from method.

Uses method signature to determine type.


[ Top ]

callMethod   [line 282]

void &callMethod( mixed $methodname, mixed &$args)


[ Top ]

parseRequest   [line 353]

void parseRequest( [mixed $data = ''], [mixed $attachments = null])


[ Top ]

service   [line 154]

void service( mixed $data, [mixed $endpoint = ''], [mixed $test = false])

Parses request and posts response.

Overridden in child classes as:

SOAP_Server_Email::service()
SOAP_Server_Email_Gateway::service()
SOAP_Server_TCP::service()

[ Top ]

setCallHandler   [line 745]

void setCallHandler( mixed $callHandler, [mixed $validation = true])


[ Top ]

validateMethod   [line 629]

void validateMethod( mixed $methodname, [mixed $namespace = null])


[ Top ]

verifyMethod   [line 548]

void verifyMethod( mixed $request)


[ Top ]


Documentation generated on Thu, 02 Feb 2006 07:03:18 -0500 by phpDocumentor 1.2.3. PEAR Logo Copyright © PHP Group 2004.