Displaying 20 results from an estimated 9000 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?
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
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 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 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
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 31
5
ActionWebService API
Hi *,
I need to pass a hash to a webservice, so I defined my API with:
api_method :search,
:expects => [{
:tags => :string,
:assignment => :string,
:resource => :string,
:lesson_plan => :string,
:subject => :string,
:all_types => :string
}], :returns => [[Resource]]
when I try to test the webservice with scaffold the
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?
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 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
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''
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
2005 May 04
1
trivial bug - or feature request
using simple menu and a timeout, and no menu default;
if I choose forex the 3rd boot-target, but dont hit return,
it will timeout, and reset the selection to thte 1st (default) boot target.
another timeout, and it boots that 1st target.
it seems more appropriate to either
a. end the timeout, and just wait for the user (grub, lilo do this iirc)
b. boot the manually selected target when timeout
2004 Aug 06
1
WinXP , Icecast2 OddCast
Re-Hi ,
I'm also trying to write a tutorial to teach to use Icecast2 with
AddCast + Winamp3 as source .
Unfortunately it doesnot worrk very vell:
When i dont play any file with WinAmp , and a connect WA+OddCast to
icecast , it works, but as soon as i play a file it breaks the
connection with thte message : connection reset by the server .
So .... What is the way to make it work ? is there
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