Results 1 to 3 of 3

Thread: SOAP APIs....

  1. #1
    Jacob's Avatar
    Jacob is offline Senior Member
    Join Date
    Oct 2004
    Posts
    331

    Default SOAP APIs....

    All SOAP calls into Sugar use soap.php as their entry point. There are several SOAP APIs at this point. The original API implementation is actually in soap.php. This API has been deprecated. All new development should use the APIs located in the soap subfolder.


    SoapSugarUsers.php -- Should be used for single user connections. This is the primary API and is able to control all bean types. The Sugar Plug-in for Microsoft Outlook uses this API.

    SoapPortalUsers.php -- Should be used for portal applications. Sugar Portal uses this API.
    SoapSync.php -- Should be used for bulk data transfer and getting lists of recent changes.


    SoapSugarUsers.php has been updated to have JavaDoc comments in the code. This should help developers leverage the API and speed the development process.

    There are also a whole bunch of soap test files in the examples folder. Look under examples for all files that start with soap.

    Jacob

  2. #2
    skaag is offline Sugar Community Member
    Join Date
    May 2008
    Posts
    14

    Default Re: SOAP APIs....

    Hi,

    is this post relevant for Sugar v5.1? None of the official (outdated!) docs for SOAP access with Sugar mention different access points for SOAP access.
    I am using the nusoap client library included with sugar and all my calls go to SUGAR_ROOT/soap.php?wsdl
    Should I change it?

    TIA!

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

    Default Re: SOAP APIs....

    You still call soap.php. The files he references are the files that implement the different functions. For example, you'll notice some functions that start with "portal_". You can find those type of functions in SoapPortalUsers.php to look at. You'd still call soap.php to access those functions though.

    Does that help?

Thread Information

Users Browsing this Thread

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

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
  •