Hi,

I'm currently integrating SugarCRM with one of our internal applications and I need to retrieve lists of different things, using Sugar's SOAP interface. I have already successfully retrieved the list of projects, but am failing with opportunities, which I don't understand.

Here's my call for the projects list (that's in PHP):

Code:
$projects = $soap->get_entry_list($session->id, 'Project', '', '', 0, array(), 100, 0);
The same code (with the obvious change of the module name) for opportunities:

Code:
$opportunities = $soap->get_entry_list($session->id, 'Opportunities', '', '', 0, array(), 100, 0);
returns a SoapFault object with the following message: "looks like we got no XML document".

Any ideas why I get such a different behaviour?

Precisions:

  • the user used to connect via SOAP has access rights to the Opportunities module
  • Sugar version is 4.5.0e
  • Apache/1.3.34 (Unix) PHP/5.1.4 mod_ssl/2.8.25 OpenSSL/0.9.8a
  • MySQL 5.0.22


Thanks in advance for any help