similar to: Soap4R

Displaying 20 results from an estimated 900 matches similar to: "Soap4R"

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
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:
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
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
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 May 02
1
SOAP client not seeing all of my AWS service methods
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 =
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,
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
2005 Dec 27
0
Newbie: Getting Book Data from Amazon
As part of my inaugural Ruby project, I''ve been trying to get data for books from Amazon''s web services. The first thing I tried was Ruby/Amazon <http://www.caliban.org/ruby/ruby-amazon.shtml>. It works great, but is based on an earlier version of Amazon''s Web Services, which apparently doesn''t return a complete set of data for the items it
2006 Aug 12
0
doc/lit ws consumption
I am new to ruby and rails. I am having trouble consuming a java web service with the soap/wsdlDriver library. My java web service, FooService, has one method, search(String). I am sending the data from a form to this method in my controller: def search searchTerm = params[:searchTerm] factory = SOAP::WSDLDriverFactory.new("http://localhost:8080/services/FooService?wsdl")
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 May 09
1
SSOAP: arguments passed as
Hi, I have a SOAP service, provided by BioMoby which I'd like to call via SSOAP. My service breaks during genSOAPClientInterface() genSOAPClientInterface(def=service, verbose = TRUE) Operation MassBank_Simple_2 Error: Cannot resolve SOAP type in empty context Problem seems to be that there are no <types> defined in the WSDL, and that the service passes input/output as a single
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:
2011 Jul 20
1
SSOAP & chemspider
Dear all, I've been trying on and off for the past few months to get SSOAP to work with chemspider. First I tried the WSDL file: cs<-processWSDL("http://www.chemspider.com/MassSpecAPI.asmx?WSDL") Error in parse(text = paste(txt, collapse = "\n")) : <text>:1:29: unexpected input 1: function(x, ..., obj = new( ? ^ In addition:
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
2005 Mar 02
0
Re: AWS Client Usage
On Wed, 2 Mar 2005 11:51:51 -0600, Chris Brinker <chris.brinker-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > I was talking on #rubyonrails some more and they seem to think that > the model classes have to be copy and pasted/available to the > ruby:client, in addition to the api. I find this advice a little odd > considering .Net and apparently ColdfusionMX need no such
2006 Apr 17
5
XML-RPC Webservice API
Hi, After following the excellent tutorials in the Agile Web Development with Rails book, I was able to get my webservice working pretty much perfectly :) I can access it via SOAP and XML-RPC and look at service.wsdl to find the API. What I can''t do however is get the API for the XML-RPC call. It fails with : Internal protocol error: NilClass is not a valid input stream. It must
2009 Jun 24
1
Qualified parameters in SOAP body using .SOAP
Hello, I am trying to reach a web service using the SOAP package. I succeeded calling the web service, but not sending parameters to it. After much research and tries, I think I found that the problem lies in the namespace including the parameters in the SOAP body. In short, my question is: how can I send unqualified parameters in the SOAP body of a call produced through the SOAP package?
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).
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