Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1001543
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T07:41:26+00:00 2026-05-16T07:41:26+00:00

I am using a gem which uses soap/wsdlDriver. When I post I get back

  • 0

I am using a gem which uses soap/wsdlDriver.

When I post I get back a SOAP response and am unable to easily parse it.

This is the response I get back:

#<SOAP::Mapping::Object:0x159e95faf098 {}id="27b907f8-da51-f611-ab02-4c5f88a8ec8
8" {}error=#<SOAP::Mapping::Object:0x159e95fae33c {}number="0" {}name="No Error"
 {}description="No Error">>

I need to get the entire value in the id=”xxxx”

This is what on get on heroku (note: it works locally). This comes from testing various variations of response.id (where response.inspect is what created the output above)

f”
{}error=#>
response[id]
/disk1/home/slugs/220752_47a08bb_10e7/mnt/app/controllers/sugarcrm_controller.rb
:77: warning: Object#id will be
deprecated; use Object#object_id nil
response.id:
/disk1/home/slugs/220752_47a08bb_10e7/mnt/app/controllers/sugarcrm_controller.rb
:79: warning: Object#id will be
deprecated; use Object#object_id
23891500658740
/disk1/home/slugs/220752_47a08bb_10e7/mnt/app/controllers/sugarcrm_controller.rb
:80: warning: Object#id will be
deprecated; use Object#object_id this
is the contact_id: 23891500658740
events:

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T07:41:27+00:00Added an answer on May 16, 2026 at 7:41 am

    Ok, I’m 95% sure that is the output of SOAP::Mapping::Object#inspect and not the actual response. And from that class it looks you use the [] method to pull out attributes.

    So if I am reading that right, then it looks like you might want:

    response_id = response_object['id']
    

    Though each attribute being prefaced with {} seems pretty odd. So if that is actually part of the attribute name, you may need:

    response_id = response_object['{}id']
    

    But that seems pretty strange, and may indicate that the SOAP library you are using is not parsing the response properly.

    Disclaimer: I’ve never used this lib before, and posted this from just perusing the docs… This may or may not be very accurate in the ways using this class is described.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using rugged gem which uses libgit2 to operate on a git repository.
Whenever I try installing anything using gem, I get this error - murtaza@murtaza-dev:~$ sudo
Background: I'm using a ruby gem called bane which in turn uses GServer to
I am using this gem to search for youtube videos and display with ajax
I'm using a twitter gem which basically accesses twitter and lets me grab tweets,
I'm using backbone with the backbone-rails gem which does its own templating and project
I'm using gem gmaps4rails and gem cells both of which by themselves work brilliantly.
I am using activeadmin gem which is going fine, now i want to add
I am working on a rails app which uses a gem also in development.
I'm writing a spec for a form page which uses DragonFly gem to handle

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.