similar to: ActionWebService and namespaces

Displaying 20 results from an estimated 1000 matches similar to: "ActionWebService and namespaces"

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 10
1
ActionWebService PDF...
Hello all - I''ve been lurking around the forums for awhile now and just wanted to say that everyone here does a great job of helping each other out...I think it goes a long way in helping even more people adopt Ruby (and Rails) I just wanted to let everyone know that I''m working on an online booklet (PDF only) for O''Reilly that covers "Web Services with Ruby on
2005 Feb 24
8
web services with ActionWebService
<noobalert> Uh, yeah. So my noob self is showing through again. I''m trying to write a simple hello-world type web service with the ActionWebService thingy. I didn''t get very far. I''ve only done web services stuff in .NET, so I''m not exactly used to this sort of thing. Anyhow, I have a file, person_api.rb in my app/apis folder. I want to take a single
2006 Jul 23
4
ActionWebServices
Is there a problem with Direct Web Services on Windoze? A routing error occurs with simple controller/api configs as described in the AWDwR text. route.rb has a wsdl route, but I would like to scaffold it to render either wsdl or ws functions from localhost:3000/ctrlr/invoke or localhost:3000/ctrlr/wsdl. -- Posted via http://www.ruby-forum.com/.
2006 Mar 22
12
RJS page.replace(_html) problems
For some time now I try to get my code working. This Monday I switched to RJS (first with 1.0 + plugin) and yesterday to Edge Rails, so I guess I''ve been using the most recent version. I have a div with id="detail" which I want to update with a partial. If I''m using page.replace_html the content will be replaced with text, i.e. the javascript won''t become
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 Jan 31
2
Creating a web service with AWS
So I''ve read the Action Web Service bit of the documentation for a while, searched around and asked on the IRQ channel and I just can''t seem to get a simple Hello World type web service up and running with AWS on Rails. I have a file called hello_person_api.rb which looks like this: class HelloPersonAPI < ActionWebService::API::Base api_method :HelloName, :expects
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 Jan 22
0
ActionWebService::Struct --> minOccurs?
Howdy, In extending ActionWebService::Struct and naming members, is it possible to indicate them as optional (yielding minOccurs="0" in the wsdl)? For example, suppose I want to create a request object that can either work via a number id or a string name (think of it as a union). class Identifier < ActionWebService::Struct member :id, :int member :name, :string end
2006 Jan 27
0
Getting a basic web service up and running with ActionWebService
So I have created a bunch of code and had it wrappered nicely as a web service using the standard soap.rpc stuff that packs with Ruby, but I needed to be able to generate a WSDL file to go with it and from what I can tell the easiest way to do that is to switch to ActionWebService with Rails. I''ve read through the AWS book which is fine but I don''t quite know enough about how
2005 Jul 25
2
ActionWebService woes
I''m currently writing an app that provides a Web Service. I''ve got a model Header and an associated has_one HeaderImage and I''m trying to find a way to make this data available. Defining a normal API: api_method :header, :expects => [{''id'' => :int}], :returns => [Header] Only returns the header object without associations, has anyone got
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 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 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 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
2009 Jun 03
1
SSOAP failing
Dear list, I am trying to use the SSOAP package to access a very simple SOAP service, included as a demonstrator in the axis2 Apache package: "Version" (takes no input parameters and should return a string with the version number). The web service itself seems to be working as I could access it using an other client (eclipse Web Server tester). You will find the service wsdl here:
2007 Nov 03
1
Newbie: What is WSDL?
# Allow downloading Web Service WSDL as a file with an extension # instead of a file named ''wsdl'' map.connect '':controller/service.wsdl'', :action => ''wsdl'' That''s in the routes file, but what''s it for/mean? Thanks! Stedwick --~--~---------~--~----~------------~-------~--~----~ You received this message because you
2010 Jun 22
1
SSOAP fails with .types[[1]] : subscript out of bounds
Hi, I am trying to create a BioMoby client in R using SSOAP. BioMoby is a normal SOAP web service, with request and response messages wrapped in BioMoby XML dialect. Since the particular WSDL I am having problems with is autogenerated and used similarly by *many* services, it would be quite important to a) fix SSOAP or b) fix the WSDL generator. I am a bit lost how to continue debugging
2009 Nov 03
1
help with SSOAP (can't find working examples)
First of all, let me confess that I am a newbie to R and don't know much about the language or the environment. We have a need for plugging in R in our production runtime and need the ability to pull data out of our existing services. I am trying to see if I can take advantage of SSOAP such that we can expose the data via webservices and use SSOAP to call into them. Our runtime is mostly