diff options
author | nahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-10-03 17:15:23 +0000 |
---|---|---|
committer | nahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-10-03 17:15:23 +0000 |
commit | 6ea9e723ea7ccff688c7bc093d868314d29fe95a (patch) | |
tree | ee655fc699db0b3ecacd5f0153b4315442546a57 /sample/wsdl/amazon/wsdlDriver.rb | |
parent | 18b1fd953f5df852ce0298ddb8bf4ab5833ebd2e (diff) |
* lib/xsd/datatypes.rb: dump sign by itself. under the problematic platform,
sprintf("%+.10g", -0.0) => +0. Sigh.
* sample/wsdl/amazon/*: update schema ver2 to ver3.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'sample/wsdl/amazon/wsdlDriver.rb')
-rw-r--r-- | sample/wsdl/amazon/wsdlDriver.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sample/wsdl/amazon/wsdlDriver.rb b/sample/wsdl/amazon/wsdlDriver.rb index 3abf40bb39..00ef6135a4 100644 --- a/sample/wsdl/amazon/wsdlDriver.rb +++ b/sample/wsdl/amazon/wsdlDriver.rb @@ -3,7 +3,8 @@ require 'soap/wsdlDriver' book = ARGV.shift || "Ruby" # AmazonSearch.rb is generated from WSDL. -# Run "wsdl2ruby.rb --wsdl http://soap.amazon.com/schemas2/AmazonWebServices.wsdl --classDef --force" +# Run "wsdl2ruby.rb --wsdl http://soap.amazon.com/schemas3/AmazonWebServices.wsdl --classdef --force" +# http://soap.amazon.com/schemas3/AmazonWebServices.wsdl require 'AmazonSearch.rb' =begin @@ -32,7 +33,8 @@ end #devtag = File.open(File.expand_path("~/.amazon_key")).read.chomp devtag = nil -AMAZON_WSDL = 'http://soap.amazon.com/schemas2/AmazonWebServices.wsdl' +# v2: AMAZON_WSDL = 'http://soap.amazon.com/schemas2/AmazonWebServices.wsdl' +AMAZON_WSDL = 'http://soap.amazon.com/schemas3/AmazonWebServices.wsdl' amazon = SOAP::WSDLDriverFactory.new(AMAZON_WSDL).create_driver p "WSDL loaded" amazon.generate_explicit_type = true |