Webservice error: SOAP::HTTPStreamError

hi all,

i have learned the ROR for one month. i have a small web service
program.

my program have some file divide into some folder:
in the apis folder:

  1. user_api.rb
  2. feedback_api.rb
    in the model folders:
  3. user.rb
  4. feedback.rb
  5. user_service.rb
  6. feedback_service.rb
    in the controllers folder
  7. sgs_controller

i have some problems with my service.

  1. when i call my service via soap and wsdl as follow:

wsdl = ‘http://localhost:3000/sgs/wsdl
driver = SOAP::WSDLDriverFactory.new(wsdl).create_rpc_driver

@results = driver.public_methods.sort.join(’
’)

@results = driver.getUserNameById(1)

then i get a error as image file.

  1. in the sgs_controller, i was called web_service two times for user
    service and feedback service as follow:
    web_service :user, UserService.new
    web_service :feedback, FeedbackService.new
    but i can’t see methods of feedback service in driver. i don’t know why
    ???

Please help me to resolve my problems.

many thank if any reply.

why don’t have any answers for me. :frowning: hic hic

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs