similar to: Exceptions in Response (ActionWebservice)

Displaying 20 results from an estimated 8000 matches similar to: "Exceptions in Response (ActionWebservice)"

2005 Mar 08
2
ActionWebService SOAP Faults aren''t schema valid
I''m working with an ActionWebService client talking to an ActionWebService server through one of DataPower''s XS40 XML Security Gateways. One of the intrinsic functions of this gateway is automatic SOAP schema validation. When testing some failure cases, I noticed that SOAP Faults returned by ActionWebService aren''t schema valid to the SOAP 1.1 schema, specifically:
2006 Jan 07
1
AWS, SOAP, and Exceptions
Can someone shed some light on how to convert an Exception to a SOAPFault on Rails 1.0/AWS 1.0? I''ve been digging through the source code and see that in soap_protocol.rb there is a method called encode_response() that seems to perform the translation of an Exception to a SOAPFault. However, if I use the following code block within my Web Service controller: def
2007 Sep 21
2
ActionWebServer and SOAPFault
I''m really new to RoR and my first task is to write SOAP web service. The problem is that I don''t understand how to send custom SOAPFault messages in case of the errors. For example, I have FindCustomerById API signature: api_method :find_customer_by_id, :expects => [{:customer_id => :int}], :returns => [Customer] And controller: def
2009 Jul 03
1
ActionWebService - omit backtrace in error response
I''m using ActionWebService to expose a WebService of my application, and I would like to control the error responses sent back to the client. At very least, I would like to prevent the XML to include the backtrace. How can I do this?
2006 Apr 06
2
Directory for ActionWebService classes?
Hi all, If ApplicationController subclasses live in app/controllers, and ActionWebService::API::Base subclasses live in app/apis, do subclasses of ActionWebService::Base live in app/services? This may be a "duh" question, but I couldn''t find an explicit mention of it anywhere. Thanks, Dan
2005 Dec 30
4
soap4r 1.5.5 seems to break actionWebService tests
Hi, I just upgraded to soap4r 1.5.5, and now all my Rails Functional tests for the action_web_services fail as follows, any ideas what I did wrong? Thanks TypeError: can''t modify frozen object /usr/local/lib/ruby/1.8/xsd/qname.rb:78:in `name='' /usr/local/lib/ruby/1.8/soap/rpc/element.rb:118:in `set_param''
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 May 19
1
Getting a list of available methods from ActionWebService
Hi all, I dug around a bit, may have missed it. Is there a method automatically generated by ActionWebService (or XMLRPC::Server) that a client can use to list all available service methods (perhaps along with docs)? Or do I have to roll that myself? Thanks, Dan This communication is the property of Qwest and may contain confidential or privileged information. Unauthorized use of this
2006 Mar 28
11
ActionWebService date casting error
I have defined a web service to return information from a database as follows. class BackendApi < ActionWebService::API::Base api_method :find_all_vobs, :returns => [[:int]] api_method :find_vob_by_id, :expects => [:int], :returns => [Vob] class BackendController < ApplicationController wsdl_service_name ''Backend''
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
2005 Apr 19
3
Rails 0.12.0 / ActionWebService 0.7 bug?
Hi, Just upgraded to Rails 0.12.0 and ActionWebService 0.7. I''m using the special struct class to create custom structs. In version 0.6.2 I was able to receive nil values for members of the struct. As of version 0.7 all nil values seem to be rewritten to some default value (empty string for string member, 0 for int etc.), which breaks my application. Is this a bug or a feature?
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 Mar 31
2
How to secure web services created by ActionWebService?
Hi, Does anyone know how I can go about securing web services created from ActionWebService? The manual from rubyonrails.org (http://manuals.rubyonrails.com/read/book/10) doesn''t say anything at all on this ... or do I have to implement my own access control? -- Sau Sheong http://www.saush.com http://read.saush.com http://jaccal.sourceforge.net -------------- next part
2004 Oct 25
2
library gregmisc
I write to ask you an help about the package gregmisc. I saw the instructions, and I need some functionalities of this package, but I am unable ti download it. On friday I was able to download thte .zip, but R does not install this package, today there is no possibility to download it. What I have to do? Thanks Anna Maria Paganoni Anna
2006 Jul 28
3
ActionWebService Struct member name including ''-''
Hi I am tryng to mirror a locked away, secure web service for testing purposes and am almost there. Hoever as part of the definition for the structure of the call to the webservice, I have this struct. class MyCall < ActionWebService::Struct member :username, :string member :password, :string member :"remote-ip", :string end However this does not work... Should
2008 Nov 24
2
Actionwebservice as a SOAP client to .NET services.
I have read the (scant) documentation on the datanoise actionwebservice gems and can''t figure out how you are supposed to structure the SOAP client. Has anybody ever used actionwebservice as a client? If so could somebody please put a sample someplace? Thanks. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google
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
2009 Feb 26
1
Problem w/ActionWebService and Inheritance in Service Params
I have a service method that takes a PaymentMethod which can either be a CreditCard or a PayPal account. When I request the service and pass one or the other it always comes over as a PaymentMethod; the service doesn''t seem to know that the parameter is really a CreditCard or PayPal. Here''s some sample code that illustrates what I''m talking about more concretely:
2006 Jun 06
1
Returning related models with ActionWebService
Hi, I have an ActionWebService set up and I am wondering if it is possible to return related models through its intrinsic support for ActiveRecord. For instance, suppose I have an Author model that has_many Books. I would like to return a particular author and all of their books in one SOAP message. For now, I''ve been deconstructing the ActiveRecord Model and stuffing it all into
2006 Dec 17
1
actionwebservice soap client
So I''ve created a few actionwebservice soap servers now and have been accessing them from a stand alone ruby client using soap4r. Now I have a rails app that needs to act as a client to one of my soap servers. From what I can tell, I basically have to copy all the api definitions from the server and put them on the client? Is that correct? Makes sense and seems kind of strange all at