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

Class: SOAP_Server

Source Location: /SOAP-0.9.2/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( [ $options = null])


Parameters:

   $options   — 

[ Top ]

addObjectMap   [line 676]

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


Parameters:

   &$obj   — 
   $namespace   — 
   $service_name   — 
   $service_desc   — 

[ Top ]

addObjectWSDL   [line 775]

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


Parameters:

   &$wsdl_obj   — 
   $targetNamespace   — 
   $service_name   — 
   $service_desc   — 

[ Top ]

addToMap   [line 728]

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

Adds a method to the dispatch map.

Parameters:

   $methodname   — 
   $in   — 
   $out   — 
   $namespace   — 
   $alias   — 

[ Top ]

bind   [line 754]

void bind( $wsdl_url)

  • Deprecated: use bindWSDL from now on

Parameters:

   $wsdl_url   — 

[ 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( &$method_response, &$return_type, [ $return_name = 'return'], [ $namespace = ''])

Creates SOAP_Value object with return values from method.

Uses method signature to determine type.


Parameters:

   &$method_response   — 
   &$return_type   — 
   $return_name   — 
   $namespace   — 

[ Top ]

callMethod   [line 282]

void &callMethod( $methodname, &$args)


Parameters:

   $methodname   — 
   &$args   — 

[ Top ]

parseRequest   [line 353]

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


Parameters:

   $data   — 
   $attachments   — 

[ Top ]

service   [line 154]

void service( $data, [ $endpoint = ''], [ $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()

Parameters:

   $data   — 
   $endpoint   — 
   $test   — 

[ Top ]

setCallHandler   [line 745]

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


Parameters:

   $callHandler   — 
   $validation   — 

[ Top ]

validateMethod   [line 629]

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


Parameters:

   $methodname   — 
   $namespace   — 

[ Top ]

verifyMethod   [line 548]

void verifyMethod( $request)


Parameters:

   $request   — 

[ Top ]

__decodeRequest   [line 488]

void &__decodeRequest( $request, [ $shift = false])


Parameters:

   $request   — 
   $shift   — 

[ Top ]


Documentation generated on Mon, 11 Mar 2019 14:33:03 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.