Results 1 to 7 of 7

Thread: Soap - how?

  1. #1
    otm187 is offline Junior Member
    Join Date
    Sep 2008
    Posts
    3

    Default Soap - how?

    Hi everybody,
    I'm encoutering some problems in implementing a soap interface between my Joomla and my sugarcrm.
    Actually I don't know where to start so I'm searching for basic tutorial plus some documentations. What I found is the official documentation but that didn't help me a lot.

    What I want to do is retrieve my contacts and / or my leads having only an email. I currently using a sugarcrm 5.0g and plan to upgrade to 5.1 soon.

    Would you be kind enought to point me a link or a practical example I can use?
    thanks in advance!

  2. #2
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: Soap - how?

    Hi otm187

    Edit the file examples/SoapTest.php in the sugar folder.
    It contains some examples of implementation of soap.
    You can also access the address: http://address_of_your_sugar/soap.php

    It will display all available SOAP methods.
    Also you can find documentation in the sugar wiki.

    Cheers
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

  3. #3
    otm187 is offline Junior Member
    Join Date
    Sep 2008
    Posts
    3

    Default Re: Soap - how?

    Thanks a lot, it helps a lot to understand soap, but i still have a problem.
    I'm trying to see if an email is in the database by soap but i don't have any result...
    I found the 'contact_by_email' function but it has been depreciated for my version of sugar.
    So i explain what i want to do, i need to find if an email adress already exist and if exist i will update the contact.
    If not i create it (this part is ok an i think i know how to update). So my problem is to compare and to have the id of contact to update.

    Any idea?

  4. #4
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: Soap - how?

    Hi otm187

    There are some threads discussing how to check an email through soap.
    Make a search and you will find several posts.

    Best regards
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

  5. #5
    otm187 is offline Junior Member
    Join Date
    Sep 2008
    Posts
    3

    Default Re: Soap - how?

    Hi andopes, thanks for respond quickly.
    I made made many search before to post the second message, and i saw many threads about the email search, but no one helps me, i thinks it's because it's not really the same function i need.

    the i found was to use those function : get_entry_list, get_relationships, get_entry.
    But it doesn't help as i want... Maybe it's because i don't have the good query...
    If it's just about query, can someone help to find i an email adress already exist in sugar? Or if it's that, do you know another function.

    I'm sorry to insist, but i really seach on internet, and in this forum and i didn't find how to proceed...

    Thanks to care about my problem.

  6. #6
    kuske's Avatar
    kuske is offline Sugar Community Member
    Join Date
    Oct 2007
    Location
    Germany
    Posts
    2,597

    Default Re: Soap - how?

    Which version do you use?
    Harald Kuske
    Pre-Sales Engineer Central Europe

    SUGARCRM Deutschland GmbH
    Erika-Mann-Str. 53, 80636 Munich, Germany
    Email: hkuske@sugarcrm.com
    Home: http://www.sugarcrm.com


  7. #7
    eggsurplus's Avatar
    eggsurplus is offline Sugar Community Member
    Join Date
    Dec 2005
    Location
    Minnesota
    Posts
    2,343

    Default Re: Soap - how?

    To turn the portal soap functions on run this query against your database:

    insert into config(category,name,value) values('portal','on','1')

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. SOAP login() - Invalid Username/Password.
    By dsandor in forum Developer Help
    Replies: 12
    Last Post: 2010-12-07, 09:13 AM
  2. SugarCRM, SOAP and Fonality ... the fun continues...
    By sprunka in forum Developer Help
    Replies: 10
    Last Post: 2009-04-17, 10:06 PM
  3. nusoap vs. soap: which to use and why?
    By hanmari in forum General Discussion
    Replies: 6
    Last Post: 2008-05-12, 05:20 PM
  4. SOAP login() - Invalid Username/Password.
    By linzhixua34 in forum Developer Help
    Replies: 3
    Last Post: 2008-04-27, 08:17 PM
  5. SOAP Performance Issue Loading Accounts
    By artisticlight in forum General Discussion
    Replies: 1
    Last Post: 2007-07-20, 01:39 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
  •