Results 1 to 3 of 3

Thread: SugarCRM SOAP Web Services

  1. #1
    ahmay85 is offline Junior Member
    Join Date
    Jan 2009
    Posts
    4

    Default SugarCRM SOAP Web Services

    I have look on the forum regarding the SOAP API. I got many code inside the forum but i dont where the code apply for.
    My boss need me to call the sugarcrm web services to return a records so that can display another application.
    can using on java, asp or php.
    Thank for reply.

  2. #2
    mvngti is offline Sugar Community Member
    Join Date
    Oct 2007
    Location
    South Africa
    Posts
    510

    Default Re: SugarCRM SOAP Web Services

    Have a look at the web services section in the Developers manual
    http://developers.sugarcrm.com/docs/...uide.1.43.html

    M
    --


    Marnus van Niekerk

    There are only 10 types of people in the world
    those who can read binary and those who don't

    Modules:
    CE Teams - Upgrade safe teams module for Community Edition
    FieldACL - Field Level Access Control for Community Edition
    EditLogicHooks - Create and edit Logic Hooks from the Admin GUI
    FlexibleChartDashlet - Display any data in a Dashlet Chart
    DocumentThumbnails - Thumbnails for Documents module

    Many questions can be answered by reading the Developers Manual

  3. #3
    ahmay85 is offline Junior Member
    Join Date
    Jan 2009
    Posts
    4

    Default Re: SugarCRM SOAP Web Services

    Yes, i already go throught all the step with using the soapsonor. But for the following code is apply for?

    Logging in via SOAP and getting a Sugar user's GUID
    <?php
    require_once('nusoap/nusoap.php');
    $client = new soapclient('http://www.example.com/sugar/soap.php?wsdl',true);
    $auth_array = array(
    'user_auth' => array(
    'user_name' => 'bob',
    'password' => md5('mysecretpassword'),
    )
    );

    $login_results = $client->call('login',$auth_array);
    $session_id = $login_results['id'];
    $user_guid = $client->call('get_user_id',$session_id);
    printf("\n".$auth_array['user_auth']['user_name'].' has a GUID of ' . $user_guid . "\n\n");
    ?>

    I dont which folder need to put? is create a new .php file? please give me some guide.
    Thanks.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. SugarCRM SOAP Web Services
    By George in forum Developer Help
    Replies: 16
    Last Post: 2006-04-04, 01:23 PM
  2. Help w/Soap Services And PHP
    By hopelab in forum Developer Help
    Replies: 2
    Last Post: 2006-03-23, 02:41 AM
  3. SOAP Services
    By Loerincz in forum Developer Help
    Replies: 5
    Last Post: 2006-03-03, 08:59 PM
  4. SOAP Web Services
    By MarkTyrrell in forum Help
    Replies: 1
    Last Post: 2005-10-21, 12:37 AM
  5. Web Services,SOAP and SugarCRM
    By kiran in forum Developer Help
    Replies: 0
    Last Post: 2005-09-02, 12:18 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
  •