H
H. Wade Minter
I'm trying to create a simple test script to hit Amazon's web services via
their WSDL listing (specifically the Wishlist Lookup). I'm going on the
examples in the Pickaxe.
Here's my sample script:
#####
#!/usr/bin/env ruby
require 'soap/wsdlDriver'
wsdl = 'http://webservices.amazon.com/AWSECommerceService/AWSECommerceService.wsdl'
soap = SOAP::WSDLDriverFactory.new(wsdl).createDriver
result = soap.ListLookup
#####
However, when I run it, I'm getting a ton of error messages to the screen
that look like:
Unknown element {http://www.w3.org/2001/XMLSchema}annotation.
Unknown attr {}ref.
Unknown attr {}ref.
Followed by a final error like:
soap.rb:10: undefined method `ListLookup' for #<SOAP::WSDLDriver:0x84f7898>
(NoMethodError)
I'm not a WSDL expert, so I'm confused as to whether the problem is on my
end, or on the Amazon end. Anyone better-versed than I willing to take a
look?
Thanks,
Wade
their WSDL listing (specifically the Wishlist Lookup). I'm going on the
examples in the Pickaxe.
Here's my sample script:
#####
#!/usr/bin/env ruby
require 'soap/wsdlDriver'
wsdl = 'http://webservices.amazon.com/AWSECommerceService/AWSECommerceService.wsdl'
soap = SOAP::WSDLDriverFactory.new(wsdl).createDriver
result = soap.ListLookup
#####
However, when I run it, I'm getting a ton of error messages to the screen
that look like:
Unknown element {http://www.w3.org/2001/XMLSchema}annotation.
Unknown attr {}ref.
Unknown attr {}ref.
Followed by a final error like:
soap.rb:10: undefined method `ListLookup' for #<SOAP::WSDLDriver:0x84f7898>
(NoMethodError)
I'm not a WSDL expert, so I'm confused as to whether the problem is on my
end, or on the Amazon end. Anyone better-versed than I willing to take a
look?
Thanks,
Wade