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.
wsdl_url = ‘http://localhost:3000/webservice/service.wsdl’
soap = SOAP::WSDLDriverFactory.new(wsdl_url).create_rpc_driver
[“findHardwareByVendor”, “FindHardwareByVendor”, “getAllHardware”,
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.
This communication is the property of Qwest and may contain confidential
privileged information. Unauthorized use of this communication is
prohibited and may be unlawful. If you have received this communication
in error, please immediately notify the sender by reply e-mail and
all copies of the communication and any attachments.