static function GetWebServiceDesc()
{
$wsdesc = new CWebServiceDesc();
$wsdesc->wsname = "bitrix.crm.contact.webservice";
$wsdesc->wsclassname = "CCrmContactWS";
$wsdesc->wsdlauto = true;
$wsdesc->wsendpoint = CWebService::GetDefaultEndpoint();
$wsdesc->wstargetns = CWebService::GetDefaultTargetNS();
$wsdesc->classTypes = array();
$wsdesc->structTypes = array();
$wsdesc->classes = array(
"CCrmContactWS" => array(
"GetList" => array(
"type" => "public",
"name" => "GetList",
"input" => array(
"listName" => array("varType" => "string"),
),
"output" => array(
"GetListResult" => array("varType" => 'any'),
),
'httpauth' => 'Y'
),
'GetListItemChanges' => array(
'type' => 'public',
'name' => 'GetListItemChanges',
'input' => array(
"listName" => array("varType" => "string"),
"viewFields" => array("varType" => "any", 'strict'=> 'no'),
'since' => array('varType' => 'string', 'strict' => 'no'),
),
'output' => array(
'GetListItemChangesResult' => array('varType' => 'any'),
),
'httpauth' => 'Y'
),
'GetListItemChangesSinceToken' => array(
'type' => 'public',
'name' => 'GetListItemChangesSinceToken',
'input' => array(
"listName" => array("varType" => "string"),
"viewFields" => array("varType" => "any", 'strict'=> 'no'),
'query' => array('varType' => 'any', 'strict' => 'no'),
'rowLimit' => array('varType' => 'string', 'strict' => 'no'),
'changeToken' => array('varType' => 'string', 'strict' => 'no'),
),
'output' => array(
'GetListItemChangesSinceTokenResult' => array('varType' => 'any'),
),
'httpauth' => 'Y'
),
'GetAttachmentCollection' => array(
'type' => 'public',
'name' => 'GetAttachmentCollection',
'input' => array(
"listName" => array("varType" => "string"),
"listItemID" => array("varType" => "string"),
),
'output' => array(
'GetAttachmentCollectionResult' => array('varType' => 'any'),
),
'httpauth' => 'Y'
),
'GetFieldsList' => array(
'type' => 'public',
'name' => 'GetFieldsList',
'input' => array(),
'output' => array(
'GetFieldsListResult' => array('varType' => 'any')
),
'httpauth' => 'Y'
),
'Add' => array(
'type' => 'public',
'name' => 'Add',
'input' => array(
'data' => array('varType' => 'any')
),
'output' => array(
'result' => array('varType' => 'string')
),
'httpauth' => 'Y'
)
)
);
return $wsdesc;
}