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

Class: SOAP_Base

Source Location: /SOAP-0.13.0/SOAP/Base.php

Class Overview

PEAR
   |
   --SOAP_Base_Object
      |
      --SOAP_Base

Common base class of all SOAP classes.


Author(s):

Methods


Child classes:

SOAP_Server
SOAP Server Class
SOAP_WSDL
This class parses WSDL files, and can be used by SOAP::Client to properly register soap values for services.
SOAP_WSDL_Cache
Common base class of all SOAP classes.
SOAP_WSDL_Parser
Common base class of all SOAP classes.
SOAP_WSDL_ObjectParser
Parses the types and methods used in web service objects into the internal data structures used by SOAP_WSDL.
SOAP_Transport
SOAP Transport Layer
SOAP_Parser
SOAP Parser
SOAP_Client_Overload

Inherited Variables

Inherited Methods


Class Details

[line 157]
Common base class of all SOAP classes.
  • Author: Shane Caraveo <shane@php.net> Conversion to PEAR and updates
  • Access: public


[ Top ]


Method Detail

SOAP_Base (Constructor)   [line 282]

SOAP_Base SOAP_Base( [string $faultcode = 'Client'])

Constructor.

Parameters:

string   $faultcode     Error code.

[ Top ]

makeEnvelope   [line 890]

string makeEnvelope( SOAP_Value $method, array $headers, [string $encoding = SOAP_DEFAULT_ENCODING], [array $options = array()])

Creates the SOAP envelope with the SOAP envelop data.
  • Return: The complete SOAP message.

Parameters:

SOAP_Value   $method     SOAP_Value instance with the method name as the name, and the method arguments as the value.
array   $headers     A list of additional SOAP_Header objects.
string   $encoding     The charset of the SOAP message.
array   $options     A list of encoding/serialization options.

[ Top ]

setDefaultNamespace   [line 329]

void setDefaultNamespace( string $namespace)

Sets the default namespace.

Parameters:

string   $namespace     The default namespace.

[ Top ]

setTypeTranslation   [line 1085]

void setTypeTranslation( string $type, [string $class = null])

Explicitly sets the translation for a specific class.

Auto translation works for all cases, but opens ANY class in the script to be used as a data type, and may not be desireable.


Parameters:

string   $type     A SOAP type.
string   $class     A PHP class name.

[ Top ]

SOAPENCPrefix   [line 315]

string SOAPENCPrefix( [string $prefix = null])

Sets the SOAP-ENC prefix and returns the current value.
  • Return: current SOAP-ENC prefix.
  • Access: public

Parameters:

string   $prefix     SOAP-ENC prefix

[ Top ]

SOAPENVPrefix   [line 297]

string SOAPENVPrefix( [string $prefix = null])

Sets the SOAP-ENV prefix and returns the current value.
  • Return: current SOAP-ENV prefix.
  • Access: public

Parameters:

string   $prefix     SOAP-ENV prefix

[ Top ]


Documentation generated on Thu, 26 Jan 2012 14:00:06 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.