SOAP client not seeing all of my AWS service methods


#1

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.