Displaying 20 results from an estimated 10000 matches similar to: "Problem with ActionWebService and UTF-8 encoding"
2011 Sep 14
1
Hitting 500 status code on invalid UTF-8 byte sequence in params
Hello Core,
Background: with Redmine-1.2 on Rails-2.3.11 we''re experiencing a "500
Internal Server Error" every time a mail with invalid UTF-8 byte
sequence is hitting the MailHandler (the exception comes from the DB
complaining about invalid string in the INSERT statement.)
Since we do care about internal errors we''ve installed
exception_notification plugin and this
2012 Feb 28
4
JIRA anyone?
I''m trying to evaluate what use I can make of JIRA with Rails/Ruby and am
getting frustrated.
The jira4r gem will install but the soap4r gem won''t load.
literally: ''irb -r soap4r'' returns :cannot load such file...
I also set this up in a Gemfile and tried to run this from the rails
console:
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''
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 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 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 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,
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
2007 Mar 28
2
iconv does not work with french characters
Hello,
I am trying to convert french characters into latin ones using inconv
but I face some problems.
Here is what I am doing in ruby console:
>> $KCODE = ''u''
=> "u"
>> @x = ''x éèçà x''
=> "x éèçà x"
>> Iconv.new(''US-ASCII//TRANSLIT'', ''utf-8'').iconv @x
=> "x ???? x"
2005 Aug 28
7
Unicode support in FXRuby 1.6
All,
As some of you know, Jeroen has added support for Unicode strings in
the unstable development version of FOX (version 1.5). I''m trying to
plan ahead to decide how best to support this for FXRuby 1.6, but I
don''t really know anything about Ruby''s support for Unicode or i18n in
general. If you''re familiar with this topic (how/if Ruby deals with
Unicode
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
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 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
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:
2009 Jun 17
12
FasterCVS and Rails
Hello all,
I''m trying to import some csv data (that has latin characters) using
faster csv but I keep getting a MalformedCSVError:
"Unclosed quoted field on line 1."
"/ruby/lib/ruby/gems/1.8/gems/fastercsv-1.2.3/lib/faster_csv.rb:1592:in
`shift''"
I''ve tested the same code outside of the Rails application an it works
fine.
Can anyone help me?
Here is
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
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
2007 Apr 05
7
Re: how to use Chinese Characters in wxRuby?
yes,I'm using wxruby2
When I change
"samples/text/unicode.rb" 's content:
require 'wx'
into
begin
require 'wx'
rescue LoadError => no_wx_err
begin
require 'rubygems'
require 'wx'
rescue LoadError
raise no_wx_err
end
end
and run unicode.rb in this way:
ruby -Ku unicode.rb
I got the error message like this:
unicode.rb:119:
2007 Jun 19
4
ActionWebService for many APIs in rails?
Hi,
We''ve a pretty large rails application and we are currently deciding
moving a part of the application front-end to a desktop GUI.
For communication between application and GUI we decided to use an API.
So basically what I need is a way to have our models functionality
accessible by the GUI.
The basic idea:
Rails app provides API for models <-> HTTPS Connection <-> GUI
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