Results 1 to 2 of 2

Thread: Soap issue, get_relationships, ProspectLists->Prospects

  1. #1
    bnp
    bnp is offline Junior Member
    Join Date
    Jun 2008
    Posts
    3

    Default Soap issue, get_relationships, ProspectLists->Prospects

    Hiya all, new to the forum and hope someone might be able to clarify this issue for me.

    I'm trying to retrive the Prospects for a particular ProspectList like this

    Code:
    get_relationships_result prospects = SugarComm.get_relationships(varSessionId, "ProspectLists", varProspectListId, "Prospects", "", 0);
    But the line fails with an error that roughly translates to "the server did not return a meaningful answer"

    Now i do't have any problems getting relationships for Campaigns -> ProspectLists, or other relationships i've tried, just this one so I am a bit puzzled about it.

    the Sugar is Version 5.0.0b (Build 3150)
    I've looked through the changelogs for the c, d and e patch but not seeing anything that looks related, i'm still going to ask to get the server patched though.

    the relationship seems to be defined in sugar's table relationships.

    my client is done in .Net3.5 C# using a generated proxy object.

    So anyone run into this issue before? maybe got a solution? suggestions?

    Thanks in advance,
    bnp

  2. #2
    bnp
    bnp is offline Junior Member
    Join Date
    Jun 2008
    Posts
    3

    Default Re: Soap issue, get_relationships, ProspectLists->Prospects

    it seems that the Prospect.php file doesnt get included and therefore isn't available at the point where get_relationships attempts to create the class. A hack that seems to solve the problem is to simply hardcode

    "require_once('modules/Prospects/Prospect.php');"

    directly in the soap.php file. not exactly optimal, but it looks like it gets the job done.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 5
    Last Post: 2010-03-16, 02:30 PM
  2. SOAP Opportunities to Accounts issue
    By iastor in forum Developer Help
    Replies: 3
    Last Post: 2008-06-18, 02:02 AM
  3. Debugging SOAP Issue
    By math0ne in forum Help
    Replies: 10
    Last Post: 2007-10-13, 12:51 AM
  4. SOAP Performance Issue Loading Accounts
    By artisticlight in forum General Discussion
    Replies: 1
    Last Post: 2007-07-20, 01:39 PM
  5. SOAP Issue
    By bobfejes in forum Developer Help
    Replies: 1
    Last Post: 2006-12-17, 06:45 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •