service/core/SugarSoapService.php
Constants
\SugarSoapService
Package: SugarCRM
This ia an abstract class for the soapservice. All the global fun
All type of web services should provide proper implementation of all the abstract methods
- Parent(s)
- \SugarWebService
- Children
- \PHP5Soap
- \NusoapSoap
Properties

$excludeFunctions= 'array()'
inheritedInherited from:
\SugarWebService::$$excludeFunctions
Default value
array()Details- Type
- n/a
- Inherited_from
- \SugarWebService::$$excludeFunctions

$namespace= ''http://www.sugarcrm.com/sugarcrm''
Default value
'http://www.sugarcrm.com/sugarcrm'Details- Type
- n/a

$server= 'null'
inheritedInherited from:
\SugarWebService::$$server
Default value
nullDetails- Type
- n/a
- Inherited_from
- \SugarWebService::$$server
Methods

getNameSpace(
)
:
StringThis method returns the namespace
Returns
Details
| Type | Description |
|---|---|
| String | - namespace |
- Access
- public

getRegisteredClass(
)
:
StringThis mehtod returns registry class
Returns
Details
| Type | Description |
|---|---|
| String | - registryClass |
- Access
- public

getRegisteredImplClass(
)
:
StringThis mehtod returns registered implementation class
Returns
Details
| Type | Description |
|---|---|
| String | - implementationClass |
- Access
- public

getServer(
)
:
StringThis mehtod returns server
Returns
Details
| Type | Description |
|---|---|
| String | -server |
- Access
- public

getSoapURL(
)
:
StringThis method returns the soapURL
Returns
Details
| Type | Description |
|---|---|
| String | - soapURL |
- Access
- public

registerFunction(
String $function, Array $input, Array $output
)
:
void
abstract
This is an abstract method. The implementation method should registers all the functions you want to expose as services.
Parameters
Details
| Name | Type | Description |
|---|---|---|
| $function | String |
|
| $input | Array |
|
| $output | Array |
|
- Access
- public

registerType(
String $name, String $typeClass, String $phpType, String $compositor, String $restrictionBase, Array $elements, Array $attrs
=
array(), String $arrayType
=
''
)
:
void
abstract
This is an abstract method. This implementation method should register all the complex type
Parameters
Details
| Name | Type | Description |
|---|---|---|
| $name | String |
|
| $typeClass | String |
|
| $phpType | String |
|
| $compositor | String |
|
| $restrictionBase | String |
|
| $elements | Array |
|
| $attrs | Array |
|
| $arrayType | String |
|
- Access
- public