similar to: Newbie: Getting Book Data from Amazon

Displaying 20 results from an estimated 1100 matches similar to: "Newbie: Getting Book Data from Amazon"

2006 Dec 04
0
Paypal and soap4r gems
WSDL conversion as proposed in the paypal plugin howto doesn''t work. Any idea what goes wrong? See the output below. rsp@hollerith:~/workspace/pptest/vendor/plugins/paypal$ wsdl2ruby.rb --wsdl http://www.sandbox.paypal.com/wsdl/PayPalSvc.wsdl --type client --force F, [2006-12-04T16:30:43.136405 #11579] FATAL -- app: Detected an exception. Stopping ... undefined method `new'' for
2008 Dec 10
3
How to stop SOAP4R/OpenSSL requiring cert?
Hi I want to consume some web services that are only available over HTTPS. My method looks like this: def lookup_id myid=params[:id] driver = SOAP::WSDLDriverFactory.new("https://server.com/xxx.wsdl").create_rpc_driver @p=driver.verifyId(AUTH_TOKEN, PIN, myid) end Although this works fine on my local box (with a warning), when deployed to the staging server I get:
2008 Oct 23
4
Soap4R
The following two line code creates the issue: factory = SOAP::WSDLDriverFactory.new("http://aspire388:8080/ClubConcierge306/axis/LWFlowerService?wsdl") soap = factory.create_rpc_driver The error message is: part: requestParams cannot be resolved RAILS_ROOT: E:/Pavo/csat Application Trace | Framework Trace | Full Trace c:/ruby/lib/ruby/1.8/wsdl/soap/methodDefCreator.rb:144:in
2005 Nov 19
1
Rails as SOAP client with .NET web service
Hi For an application we need to obtain data from a .NET based web service. I''ve been "playing" with some sample code to invoke web services as a soap client. They work ok with services that offer a .wsdl link. However, .NET based services are called with "*.asmx?WSDL". The wsdlDriver (I guess SOAP4R) barfs on this. Anybody have practical experience and willing/able
2006 Apr 11
2
Uploading files using a web service
i am writting a web service that will enable users to upload image files...but then the problem is...i will have to use Soap4R, now my question is....the API generated(or whatever you call it, wsdl file that i get) will support standard SOAP implementation??...so i can use Mono.NET to call this web service and upload files. I ask this because as per my knowledge SOAP4R is different...so will
2006 Jun 15
2
AWS Client - There has to be a better way
I''m working on building a SOAP client with AWS, i.e: class PersonAPI < ActionWebService::API::Base api_method :find_all, :returns => [[Person]] end soap_client = ActionWebService::Client::Soap.new(PersonAPI, "http://...") persons = soap_client.find_all This works well but I think it breaks down quickly when you try to do real world work. Lets take a moderately
2006 Feb 17
4
PayPal WSDL API on Rails anyone ?
Hi ! Has anyone connected to the Mass Pay API of PayPal using Rails ? I need to do this for a customer, and I wanted to know how easy/hard it was. I have no experience using SOAP, WSDL, etc. I saw soap4r[1] on the RAA[2]. This is probably what I''ll need to use. One question I haven''t answered yet is whether soap4r will accept PayPal''s certificates ? Thanks for any
2006 Jan 31
0
webservice problem (cant make client)
hey, i have made a webservice http://twodecode.pilot.localhost.be:3000/backend/wsdl here i can see the wsdl file i have a method string Authenticate(string twa, string login, string pass) when i do /invoke i can test it, this all works backend_api.rb class BackendApi < ActionWebService::API::Base api_method :authenticate, :expects => [{:twa =>:string},{:login
2006 Apr 22
2
ruby/amazon isssue
hi all. we''re using the ruby/amazon library (http://www.caliban.org/ruby/ruby-amazon.shtml), which totally rocks. but i''m noticing that when nobody has used our site in a while (it''s under development, so basically nobody uses it at night), the ruby/amazon calls sometimes fail. seems like something times out, perhaps. anybody have similar issues, or know what might be
2006 May 31
0
Ruby calling wsdl for authenticate() Help
Hi, I have an url: "http://localhost:7000/Webservices/testService.jws?WSDL=" which i need to call from a ruby''s controller file TestWebService.rb for authenticating the user-id. Can someone help me out to solve my issue?. I have downloaded SOAP4R but nothing much I m able to get info for calling this webservice. Can someone help me out with proper steps to follow for
2006 Jan 31
0
I need a wsdl tutorial.
I have a wsdl, and I have run soap4r''s wsdl2ruby, but now I need a tutorial on what to do with it. Any Suggestions? Enrico --------------------------------- What are the most popular cars? Find out at Yahoo! Autos -------------- next part -------------- An HTML attachment was scrubbed... URL:
2007 Jul 31
0
wsdlDriver won't run under Rails (SSL)
I have a wsdl client that will work standalone but as soon as I put identical code into a Rails controller I get an Errno::ECONNREFUSED #(Connection refused -connect(2)...) Any ideas? ======================= ||Standalone: (works) || ======================= require ''soap/wsdlDriver'' require ''http-access2'' user = ''fwkaufm'' wsdl
2005 Dec 28
4
AJAX works in Safari, broken in Firefox
I''ve been working on an AJAX search, very similar to the Flickr one in the screencast linked from the main rails page. I''ve been doing my testing in Safari, where everything has worked fine, only to now discover the results of the search action seem disinclined to load in Firefox. I can enter a URL to return the HTML fragment that''s supposed to be dropped into
2006 Jan 26
3
Calling a SOAP service from within a Rails controller
The following works fine as a standalone ruby program: ********************************************************************************************** t = Time.now starter = Time.local(t.year,t.mon, t.day) + (24 *3600) ender = starter + 7 * 24 *3600 lat = 40.352039 lon = -74.191961 require ''soap/wsdlDriver'' params = {:maxt => false, :mint => false, :temp => true, :dew
2006 Jun 27
0
Calling SOAP based Web Services over SSL
Ok, here we go. 1) I am trying to talk to a soap web service @ the url https://rsvcstage.e2ma.net/emmaTestCalls 2) I can talk to the web service in plain ruby if I: 2.1) disable site ruby (by renaming the site_ruby directory to something else) 2.2) use the WDSLDriverFactory instead of an actionwebservice The working ruby code looks like this:
2006 Apr 07
2
ActionWebService and namespaces
Hi all, I''ve tried to search the mailing list, web, etc. and haven''t found anything that seems to answer my question. I have a WSDL for a web service written in Java, and I''m trying to consume it in ruby using ActionWebService. I''ve created my API and some struct classes. I''ve found the :namespace option to ActionWebService::Client::Soap.new, but
2006 Jan 30
3
webservice consumption over SSL
Hi, as long as nobody answered to my previous question, i''ll try to write in another way. I have: webservice WSDL link (https://something?WSDL, that''s .net webservice) pem file (certificate, needed to authentificate for gettting data) i need : to consume that webservice without describing API''s for each method (i mean use WSL to construct needed structures or objects).
2005 Dec 21
1
ActionWebService and WSDL
The suggested approach for developing a web service using ActionWebService appears to be start by defining the API you want and then you can generate WSDL. I want to start from WSDL. I''ve tried wsdl2ruby but the Ruby code it generates does not appear to play well with Rails. Is there a way I can get what I want? I''m new at this so if the answer is a forehead slapper,
2010 Nov 27
6
invalid date
Hi!! Somebody knows why throws me an exception?? invalid date C:/Ruby/lib/ruby/1.8/date.rb:1482:in `civil'' C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/ core_ext/string/conversions.rb:23:in `to_datetime'' C:/Ruby/lib/ruby/gems/1.8/gems/soap4r-1.5.8/lib/xsd/datatypes.rb: 579:in `screen_data''
2006 Jan 13
1
Send XML Document with SOAP
Hello, yes it''s another ruby-nuby question but i cant find the right docs so I hope either someone has an answer or can provide links to what i havent been able to find. I am trying to call a wsdl web service running on .net server with a ruby client. I can make the request and with a wiredump I see the SOAP request and responce XML files, the files are correct but I am not sure