Results 1 to 3 of 3

Thread: Set_entry XML fields empty on SOAP call

  1. #1
    jsgoecke is offline Junior Member
    Join Date
    Nov 2008
    Posts
    4

    Default Set_entry XML fields empty on SOAP call

    I am attempting to insert a new Lead into SugarCRM via the SOAP set_entry method using Ruby. Below you will see how I construct the Hash in Ruby and then invoke the method converting the hash into XML in the process. The right number of fields are there, but they are all blank. Any recommendations on how best to get the hash into XML for this method?

    - Code snippet:

    http://gist.github.com/30066

    - Resulting XML:

    http://gist.github.com/30063

  2. #2
    jsgoecke is offline Junior Member
    Join Date
    Nov 2008
    Posts
    4

    Default Re: Set_entry XML fields empty on SOAP call

    After looking at this example more closely:

    http://www.sugarcrm.com/wiki/index.p...e=SOAP_in_RUBY

    I tried this:

    http://gist.github.com/30072

    But same result.

  3. #3
    jsgoecke is offline Junior Member
    Join Date
    Nov 2008
    Posts
    4

    Default Re: Set_entry XML fields empty on SOAP call

    Okay, I stopped converting to xml using ActiveSupport and just sent the Hash to the set_entry method call, and with the name/value pair done properly in the hash per my second post above, I now get properly generated XML:

    http://gist.github.com/30073

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. SOAP API not returning custom fields
    By sugar7478 in forum Developer Help
    Replies: 2
    Last Post: 2008-07-29, 01:11 PM
  2. Custom fields are empty
    By Sergey.Rybets in forum Help
    Replies: 1
    Last Post: 2008-06-27, 04:12 PM
  3. Soap & New Custom Fields
    By sacramentojoe in forum Developer Help
    Replies: 0
    Last Post: 2007-04-17, 04:04 PM
  4. BUG: Soap Call get_entry_list()
    By StephaneZ in forum Developer Help
    Replies: 2
    Last Post: 2005-10-30, 03:37 AM
  5. Update Custom Fields with SOAP
    By dtobias in forum Developer Help
    Replies: 3
    Last Post: 2005-08-31, 06:05 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
  •