Forum: Ruby on Rails SOAP client not seeing all of my AWS service methods

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
F3b7b8756d0c7f71cc7460cc33aefaee?d=identicon&s=25 Berger, Daniel (Guest)
on 2006-05-03 19:00
(Received via mailing list)
Hi all,

Ruby 1.8.4
Rails 1.1.2

I'm a newb when it comes to SOAP, but I thought I'd give it a shot.  I
have several web services defined.  However, when I try to connect with
a SOAP client it seems the client is only picking up one of the
services, called Hardware.

require 'soap/wsdlDriver'

wsdl_url = 'http://localhost:3000/webservice/service.wsdl'
soap = SOAP::WSDLDriverFactory.new(wsdl_url).create_rpc_driver

p soap.methods(false)

["findHardwareByVendor", "FindHardwareByVendor", "getAllHardware",
"GetAllHardware", "findHardwareBy
Model", "findHardwareById", "FindHardwareByModel", "FindHardwareById"]

These methods are valid (though the dup'ed method names is interesting,
if unexpected), but these are only methods for one service.  Where are
the other service methods?  There is nothing special about
hardware_service.rb, hardware_api.rb or any of the other services, so
I'm not sure why it's just picking this one.

Have I messed up the wsdl_url?  Is there something else I need to set? I
have no problem with XMLRPC, btw.

Thanks,

Dan


This communication is the property of Qwest and may contain confidential
or
privileged information. Unauthorized use of this communication is
strictly
prohibited and may be unlawful.  If you have received this communication
in error, please immediately notify the sender by reply e-mail and
destroy
all copies of the communication and any attachments.
This topic is locked and can not be replied to.