Displaying 20 results from an estimated 400 matches similar to: "web services on the client side"
2006 May 02
0
RE: Rails Digest, Vol 20, Issue 39
All assumptions aside, "rectest" and "salt" are usernames not
databases/schemas according to the pasted config. If they were in fact
different databases/schemas, this problem could never have happened. While
different database brands may have tricks for ways to handle users and what
they perceive as a database/schema, the fact remains that if 2 literally
separate databases
2007 Jan 18
2
How to use API from AWS -- help!
I''m building a users web service (direct dispatching) that will (I hope)
allow several other applications to manage the same pool of users. Plus
it will act as a single-sign-on solution for what I''m doing. But I''m
having difficulty accessing the UserAPI. Here''s what I''ve done so far:
$> rails usermanagement
- "usermanagement" is the
2006 Jul 25
2
web services client problem
hi all,
i have been trying to study web services using rails so far i succesful
with server implementations in REST,SOAP,XML-RPC but the client code is
troubling me.
i have done most of the coding as per the rails book agile web development
i.e implementations of the servers and when i invoke them they give result
but when i try to acces them through another controller it gives time out
error
2005 Dec 25
2
SOAP Client Connections
I''m trying to connect to a SOAP interface using Rails and I''m running
into a snag. I''m relatively new to Rails at this point and am in the
very beginning stages of understanding how the system works. Currently
I''m running into a error that looks like this:
--------------------------------------------
Missing API definition file in apis/amazon_api.rb
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
2013 Nov 28
1
RTP packets send, but no audio
Hello,
What does it mean when "rtp set debug ip" shows RTP packets that have
been send, but there is no audio ?
There was no audio on my call in both directions, but "rtp set debug"
shows that there were RTP packets send.
There is no firewall active on my Asterisk server :
[root at sip asterisk]# /sbin/service iptables status
iptables: Firewall not running.
Kind
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 May 24
2
array parameters in web services
I''m working in a web service, actually, I have:
class UnifiedLoginApi < ActionWebService::API::Base
class CLL_Metadata < ActionWebService::Struct
member :key, :string
member :type, :string
member :value, :string
member :webapplication_id, :string
member :user_tenfold_id, :string
member :login_username, :string
2009 Aug 25
5
uninitialized constant
API-> hello_message_api.rb.
class HelloMessageApi < ActionWebService::API::Base
api_method :hello_message, :expects => [{:firstname=>:string},
{:lastname=>:string}], :returns => [:string]
end
controller ->
class HelloMessageController < ApplicationController
web_service_api HelloMessageApi
web_service_dispatching_mode :direct
wsdl_service_name
2006 Nov 04
1
layere dispatching - please help!
Hi Folks,
I''m having trouble with setting up web services with layered
dispatching.
I''ve defined my controller (backend_controller.rb) as:
class BackendController < ApplicationController
web_service_dispatching_mode :layered
web_service_scaffold :invoke
web_service (:car) {CarService.new}
end
and my service (node_service.rb) as:
2007 Dec 13
3
Realise a web service with ruby on rails.
Hi ,
I want realize a web service with rails, but it''s the response it''s
very slow. I want only saw all element present in my base.
I did a base Customers (with element like id, name, phone,...). I
added two elements.
I did a model customer, a web_service customer.
In the file /app/apis/customer_api.rb
class CustomerApi < ActionWebService::API::Base
api_method :listid,
2006 Jan 12
1
activewebservice::struct
So I''m playing with AWS. I''ve got a thing called a gallery. I''d like
to return a list of them. I can do this fine if I want to return my
ActiveRecord objects:
class WxApiApi < ActionWebService::API::Base
api_method :list_galleries,
:expects=>[{:login=>:string}],
:returns => [[Gallery]]
end
But the ActiveRecord object exposes a
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
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''
2019 Mar 01
2
pjsip: don't require authentication from remote i register to
On Fri, 2019-03-01 at 14:15 -0500, Joshua C. Colp wrote:
> you can try line functionality on the outbound registration which
> may or may not work[2] (requires the upstream to adhere to the RFC,
> which not all do).
My provider seems to implement this.
However even with the line=... in the:
SIP to address: sip:5555551212@<my_IP_address>:5060;line=dpnlyiu
res_pjsip is still
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 May 31
2
Rails Bug when loading required files for API?
Hello,
I have seen some odd behaviour of my Web Services code plus some
''similar'' postings to this list, so I believe this may be a bug in
Rails. But I''m failry new to RoR, so maybe I''m doing something wrong.
I''ll explain:
I have a WS API defined, communicating with a remote system that
expects a stucture:
When defined like this (all
2006 Jul 13
8
can''t convert true into integer
I have a method:
? def reduceProuctInventoryBy(product_id, reduction)
? ? t=Product.find(:first, :conditions =>["id = ?", product_id])
? ? t.qty=(t.qty-reduction)
? ? t.save
? end
and the model:
class Product < ActiveRecord::Base
? validates_presence_of :qty, :specialDescription
? validates_numericality_of :qty
end
but when i run my method, I get this:
"can''t
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
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,