SugarCRM 6.5.10 Community Edition is installed, SOAP WEB Services is available out of the box.
SugarCRM SOAP URL:
http://127.0.0.1/sugarcrm//service/v4/soap.php?wsdl
Note that the password needs to be MD5 encoded. Find an online MD5 encoder code.
SOAP Requests:
<soapenv:envelope xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd= "http://www.w3.org/2001/ XmlSchema "xmlns:soapenv=" http://schemas.xmlsoap.org/soap/envelope/"xmlns:sug=" Http://www.sugarcrm.com/sugarcrm "xmlns:soapenc=" http://schemas.xmlsoap.org/soap/encoding/"> <soapenv:Header/> <soapenv:Body> & Lt;sug:login soapenv:encodingstyle= "http://schemas.xmlsoap.org/soap/encoding/" > <user_auth xsi:type= "Sug:us Er_auth "> <!--you may enter the following 2 items at any order--> <user_name xsi:type= "Xsd:string" >admin</user_name> <password xsi:type= "xsd:string" >21232f297a57a5a743894a0e4a801fc3 </password> </user_auth> <application_name xsi:type= "xsd:string" >test</application_ name> <name_value_list xsi:type= "sug:name_value_list" soapenc:arraytype= "sug:name_value[]"/> </ Sug:login> </soapenv:Body> </soaPenv:envelope>
return Result:
<soap-env:envelope soap-env:encodingstyle= "http://schemas.xmlsoap.org/soap/encoding/" xmlns:soap-env= "http// schemas.xmlsoap.org/soap/envelope/"xmlns:xsd=" Http://www.w3.org/2001/XMLSchema "xmlns:xsi=" http://www.w3.org/ 2001/xmlschema-instance "xmlns:soap-enc=" http://schemas.xmlsoap.org/soap/encoding/"xmlns:tns="/HTTP/ Www.sugarcrm.com/sugarcrm "> <SOAP-ENV:Body> <ns1:loginresponse xmlns:ns1=" Http://www.sugarcrm.com/sug Arcrm "> <return xsi:type=" tns:entry_value "> <id xsi:type=" xsd:string ">hrt4jic1h53gog5m jd5jfvk043</id> <module_name xsi:type= "xsd:string" >Users</module_name> <name_ Value_list xsi:type= "Soap-enc:array" soap-enc:arraytype= "tns:name_value[13" "> <item xsi:type=" Tns:nam E_value "> <name xsi:type=" xsd:string ">user_id</name> <value Xsi:type
= "Xsd:string" >1</value> </item> <item xsi:type= "Tns:name_value" > <name xsi:type= "xsd:string" >USER_NAME</NAME&G
T <value xsi:type= "xsd:string" >admin</value> </item> <item xsi:type= "TNS: Name_value "> <name xsi:type=" xsd:string ">user_language</name> <value Xsi:type= "xsd:string" >en_us</value> </item> <item xsi:type= "Tns:name_valu E "> <name xsi:type=" xsd:string ">user_currency_id</name> <value xsi:t
Ype= "xsd:string"/> </item> <item xsi:type= "Tns:name_value" > <name xsi:type= "xsd:string" >user_is_admin</name> <value xsi:type= "xsd:string" >1</v alue> </item> <item xsi:type= "Tns:name_value" > <name xsi : TyPe= "xsd:string" >user_default_team_id</name> <value xsi:nil= "true" xsi:type= "xsd:string"/> </item> <item xsi:type= "Tns:name_value" > <name xsi:type= "x Sd:string ">user_default_dateformat</name> <value xsi:type=" xsd:string ">m/d/y</value>
; </item> <item xsi:type= "Tns:name_value" > <name xsi:type= "xsd:string" >us er_default_timeformat</name> <value xsi:type= "xsd:string" >H:i</value> & lt;/item> <item xsi:type= "Tns:name_value" > <name xsi:type= "xsd:string" >use r_number_seperator</name> <value xsi:type= "xsd:string" >,</value> </i tem> <item xsi:type= "Tns:name_value" > <name xsi:type= "xsd:string" >user_dec Imal_seperator</name> <value xsi:type= "xsd:string" >.</value> </item> <item xsi:type= "Tns:name_value" > <name xsi:type= "xsd:string" >mobile_max_list_ent
Ries</name> <value xsi:nil= "true" xsi:type= "xsd:string"/> </item> <item xsi:type= "Tns:name_value" > <name xsi:type= "xsd:string" >mobile_max_subpanel_e
Ntries</name> <value xsi:nil= "true" xsi:type= "xsd:string"/> </item> <item xsi:type= "Tns:name_value" > <name xsi:type= "xsd:string" >user_currency_name&
lt;/name> <value xsi:type= "xsd:string" >us dollars</value> </item> </name_value_list> </return> </ns1:loginResponse> </SOAP-ENV:Body> < ;/soap-env:envelope>
Reference:
http://nchc.dl.sourceforge.net/project/sugarcrm/1%20-%20SugarCRM%206.5.X/FastStack/
Download: Sugarcrm-ce-6.5.10-windows-installer.exe
Installation Instructions:
The idea is that these parts will be installed automatically.
Apache 2.2.2.21
PHP 5.3.8
MySQL 5.5.16
phpMyAdmin 3.4.8
SugarCRM SOAP Interface Documentation-Webdevessential
Http://webdevessential.googlecode.com/svn/trunk/note/php/sugar/SugarCRM%20SOAP%E6%8E%A5%E5%8F%A3%E6%96%87%E6%A1%A3.doc
How To:retrieve a User ID via SOAP in SugarCRM
http://kovshenin.com/2010/retrieve-user-id-soap-sugarcrm/
A PHP example demonstrating how to log in and retrieve a session key using NUSOAP and the V4 SOAP API.
http://support.sugarcrm.com/04_Find_Answers/03_Developers/100Web_Services/100Soap_API/100Examples/100PHP/ logging_in_-_soap_and_php/
SugarCRM Soap Call
Http://dl.sugarforge.org/ws-testing/SOAPSonarforSugarCRM/GettingStarted/soapsonar_ Sugarcrm_getting_started.pdf