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:
- user_api.rb
- feedback_api.rb
in the model folders: - user.rb
- feedback.rb
- user_service.rb
- feedback_service.rb
in the controllers folder - sgs_controller
i have some problems with my service.
- 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.
- 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.