Google Groups Home
Help | Sign in
webservice error: SOAP::HTTPStreamError
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Huy Ngo duc  
View profile
 More options May 7, 5:02 am
From: Huy Ngo duc <ruby-forum-incom...@andreas-s.net>
Date: Wed, 7 May 2008 11:02:28 +0200
Local: Wed, May 7 2008 5:02 am
Subject: 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('<br>')

    @results = driver.getUserNameById(1)

then i get a error as image file.

2. 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.
--
Posted via http://www.ruby-forum.com/.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Huy Ngo duc  
View profile
 More options May 7, 11:08 pm
From: Huy Ngo duc <ruby-forum-incom...@andreas-s.net>
Date: Thu, 8 May 2008 05:08:16 +0200
Local: Wed, May 7 2008 11:08 pm
Subject: Re: webservice error: SOAP::HTTPStreamError
why don't have any answers for me. :( hic hic
--
Posted via http://www.ruby-forum.com/.

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google