similar to: changing activerecord associations at runtime

Displaying 20 results from an estimated 10000 matches similar to: "changing activerecord associations at runtime"

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 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 =
2006 Jan 05
3
ActiveRecord model classes not allowed in :expects
Hi, I have a strange problem while using WebService API which expects an ActiveRecord derivate. This is the code of the API ... ------ class HarvesterApi < ActionWebService::API::Base api_method :send_measurand, :expects => [{:measurand => Measurand}, {:eaiSystemName => :string}] end ------ ... and this of my Model ------ class Measurand < ActiveRecord::Base
2006 Jan 11
1
HELP!! - ActiveRecord derivates in AWS :expects method
Hi, I have a strange problem while using WebService API which expects an ActiveRecord derivate. This is the code of the API ... ------ class HarvesterApi < ActionWebService::API::Base api_method :send_measurand, :expects => [{:measurand => Measurand}, {:eaiSystemName => :string}] end ------ ... and this of my Model ------ class Measurand < ActiveRecord::Base
2014 Jul 22
3
Question: Publishing R/S objects with WebServices (SOAP/WSDL)
Hello, Can anyone tell me if there is a package which will allow me to write a package in R, then publish the package using WebServices? The idea is that I want to be able to pass a data set into R, have R perform the calculations, then send the result back to either a .Net application or a LIMS BASIC application. So far I see many packages that allow R to consume WebServices, but I haven't
2006 Jul 24
1
XMLRPC WebService and Structs
Hi First off, I apologise if this is covered somewhere and I just don''t get it... I''ve looked far and wide .... As a part of my current project I need to hook up to a particular XMLRPC webservice that won''t be available for me to use until close to launch date... So I am trying to recreate the webservice that mirrors the live one so I can test my application
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 Aug 07
1
ActionWebService: associations unavailable in SOAP response
I have create a web service to expose data from my application and am wondering why the associations are not showing up as values in my WSDL or SOAP response. In active record I have enabled eager loading so that the object set as the return type for the service call has all the associated data prior to the response. However, the associations are not showing up. Anyone have any ideas? I can
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
2006 May 17
6
Problem Consuming a Web Service
I''m trying to consume a webservice from my rails application and have discovered an interesting problem. I can call webservice functions just fine, as long as they do not require any arguments, but function that do require arguments do not work. The arguments are sent as either null or an empty string. My API has these method definitions: api_method :otherFunction,
2006 Nov 28
8
how to update index from a script
Hello all, I''m using AAF right now to index my ~3million db records. However, any additions to these records are added to the database through an external script so the aaf activerecord hooks will not catch any updates. Since new records are only added rarely, I figured I could just add the new records manually in ferret from some type of script. I''ve been looking at the
2013 Jan 08
6
Fwd: HOW TO USE SSL IN SAVON
HI All, I want to consume the SOAP apis using SSL in the SAVON gem, but I am facing the below error while trying to access the soap services. client = Savon.client(wsdl: "https://xxx?WSDL") client.operations HTTPI GET request to xxxxx (curb) HTTPI::SSLError: Curl::Err::SSLPeerCertificateError In the Savon site <http://savonrb.com/version2.html#globals-ssl> I found that options
2009 Nov 06
1
issues with SSOAP when wsdl has ComplexTypes
I recently started trying R and SSOAP and was able to successfully try a "hello world" service. I am now trying to get a more complicated interface to work with SSOAP and so far failed miserably at that and so need any help I can get from here. The service I am attaching is a prototype for a full service that would take information to identify a data source and a query to run and return
2006 Mar 07
6
fcgi dispatcher crashing
I''m trying to set deploy an app on apache2 with the fcgid module, but can''t seem to get anywhere. Things work fine with cgi, but when i switch to fcgi, i''m stuck with a ''503: Service Temporarily Unavailable''. There''s no error being logged anywhere, afaik. Trying to run dispatch.fcgi from the shell doesn''t work either. It bombs out,
2006 Jul 30
1
slightly OT: opinions on best webservice implementation
We have been using more and more Ror for new applications. Right now we are debating on the best way to implement some new webservices that will interact with our payment gateway. These webservices will be backend type functions. Updating customer/billing records, retrieving data, etc.. The interface for actually processing transactions won''t be changing. Ideally, the webservice will
2006 Jan 26
1
Webservices and submitting object with associations
Hi - is there an easy way to submit an object with its associations as an :expects parameter to a AWS webservice? I know I could first create a webservice method for the object, and then call - in a loop - another webservice for each of my association objects. Is there an easier more elegant way, so that I don''t have to make so many expensive webservice calls? I was thinking
2006 Jul 30
3
Returning custom error messages in ActionWebService
I want to return my own error messages from an API instead of letting the client see the stack trace. I''m returning a custom structure so I guess I could just put a member in that structure for the error message, although that seems like kind of a hack. Any suggestions? Chris
2007 Oct 19
2
How to create Web service in R?
Hello all, Is it possible to create web service in R? Any links or book i can refer! My second question is i'm trying to call a web service using RCurl package. The pdf from google doesnt have entire code in it.[ R as web client - RCurl package]. It's not written how to send parameter for a function or i'm missing something. I want to pass parameter to a function of a
2007 Nov 06
1
Pass Array input to web service
Hello everybody, I'm using SSOAP and RCurl to call webservice. I got success in calling webservice with string as an input. Now i want to pass array as an input(can be single or multidimensional). When i do that i get error. unable to find an inherited method for function "toSOAP", for signature "data.frame", "textConnection", "NULL" When i remove
2006 Mar 22
14
currency conversion webservice in a rails app?
Hi, I''m interested in using a currency conversion web service in my rails app. Does anyone have a free service that they use and like? I found this one http://www.webservicex.net/WS/WSDetails.aspx?CATID=2&WSID=10 I''ve tried to make a simple, plain Ruby script to connect to this and get a conversion rate without success. How do I integrate a webservice into my rails app? I