Helena

BlogJava 联系 聚合 管理
  2 Posts :: 0 Stories :: 1 Comments :: 0 Trackbacks

2006年4月27日 #

SugarCRM supplies SOAP interfaces, including session management and other business related data operations, such as search, set, get, etc. Take opportunity on which we focus as an example, get_opportunity_array() and oppotunity_rby_search() are available.

l         API file location: %SugarCRM%\oss\httpd\htdocs\SugarCRM\soap.php

l         Invoke method:

1.         Create a SOAP client. PHP sample code:
$sugar_config['offline_server'] = "http://127.0.0.1/sugarpro/soap.php";
$online_soapclient = new nusoapclient($sugar_config['online_server']);

2.         Call functions. PHP sample code:
$online_soapclient->call($function_name, $params);

In this way, other systems for example ERP can call SugarCRM's functions through SOAP by indicating the name and parameters of a certain function. That has implemented communication on one direction, that is from other systems to SugarCRM. How about the method that SugatCRM call other systems? Let's research on it further.

posted @ 2006-05-11 15:44 Helena 阅读(571) | 评论 (0)编辑 收藏

SOA lifecycle involves five phases: model, assemble, deploy, manage, and process and governance. For each phase, IBM provides some tools to implement SOA as shown below.

SOA tools.GIF
reshipped from http://www-128.ibm.com/developerworks/webservices/newto/#7
posted @ 2006-04-27 13:44 Helena 阅读(597) | 评论 (1)编辑 收藏