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 3961728
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T03:00:35+00:00 2026-05-20T03:00:35+00:00

I am trying to call a web service in rhosync application.rb, I see a

  • 0

I am trying to call a web service in rhosync application.rb, I see a 500 error response in rhosync console .. and ‘server returned an error’ in BB simulator .. 🙁

Some info about my setup –

I have created a rhodes app that connects to a rhosync app when user enters user name and password and clicks on “login”. I am calling this webservice through “authenticate” method of application.rb of the rhosync application ..

def authenticate(username,password,session)
    Rho::AsyncHttp.get(:url => 'http://mywebserviceURL',:callback => (url_for :action => :httpget_callback),:callback_param => "" )
end

UPDATE

Instead of http:async, I tried consuming a soap based webservice and it worked just fine .. here is code if anyone cones here in search of a sample.. in application.rb of rhosync app

  require "soap/rpc/driver"


        class Application < Rhosync::Base
          class << self
           def authenticate(username,password,session)
              driver = SOAP::RPC::Driver.new('http://webserviceurl')
              driver.add_method('authenticate', 'username', 'password')
              ret=driver.authenticate(username,password)
              if ret=="Success" then
            true
              else
                false
              end
            end
        end

        Application.initializer(ROOT_PATH)
  • 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-20T03:00:36+00:00Added an answer on May 20, 2026 at 3:00 am

    You can typically find the problem if you crank up your log. Edit rhoconfig.txt in your app
    set these properties –

    # Rhodes runtime properties
    MinSeverity  = 1
    LogToOutput = 1
    LogCategories = *
    ExcludeLogCategories =
    

    then try again and watch the terminal output. Feel free to post the log back and I’ll take a look.
    You also might want to echo out puts the mywebserviceURL if you’re using that as a variable, I trust you just changed that for the post here. Can you access the webservice if you hit it with a browser?

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

Sidebar

Related Questions

I am trying to call a web service from asp.net 3.5 application. I have
I am trying to call a web service that is defined inside a server
I am trying to call a web service, the response contains a big string,
I'm trying to call a RESTful web service from an Android application using the
I'm trying to call a web service from .NET 3.5 using WCF. The error
I am trying to call a web service (using nusoap ), which work well
I'm trying to call a web service in VFP 9.0 SP2. The site hosting
I using VB.NET 2.0. I am trying to call a web service. This web
I'm running into this problem when trying to call a SOAP Web Service from
Trying to call a SAP SOAP Web Service from a generated sudzc app shows

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.