Displaying 20 results from an estimated 100 matches similar to: "rails and .net webservices"
2006 May 17
6
Problem Consuming a Web Service
I''m trying to consume a webservice from my rails application and have
discovered an interesting problem. I can call webservice functions
just fine, as long as they do not require any arguments, but function
that do require arguments do not work. The arguments are sent as
either null or an empty string.
My API has these method definitions:
api_method :otherFunction,
2006 Jun 14
5
Rails SOAP tutorial
Hi all..
I new in Ruby/Rails.. Where could i get some good tutorial about SOAP
using Rails?
I''ve been googling yet still did''nt find good tutorial.
Thank you in advance.. :)
--
Regards,
Ananda Putra
2010 Jun 15
1
"cyclic" dependencies
Hi all,
I would like to reference a resource twice, with different
configurations.
At the moment I do this:
service { "service1":
ensure => running,
enable => true,
require => Exec["some stuff"]
}
exec { "some stuff":
command => "/etc/init.d/service1 stop; do some stuff required for
service1",
unless => "find out if already
2007 Jan 19
2
Newbee-Question General Syntax
Hi there!
I´ve started looking into puppet for about one week now, I have to say
that I am NOT a developer, i occasionally write a shellscript or another
but thats about it, so maybe my problem is that i dont see the whole
picture yet.. I kind of know what i want to do, but at the moment i
don´t realy see how i can accomplish that.. :/
thing is, I have (for now "just") about 100
2016 Jan 26
2
Persistent tun/tap
It would be nice if in a next tinc release you'll add some service variables tinc propagates to its scripts.
So for example you can define in tinc.conf env variables like:
SERVICE1=
...
SERVICEn=
and tinc will propagates all SERVICEx Variables found in tinc.conf to all scripts it calls. One can use theoretically infinite Env Var for custom behavior (like custom debug messages, conditional
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
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,
2011 Sep 29
6
Variable interpolation in class parameters
Hi,
In class parameters, things like x="x", y="y${x}" don''t always evaluate
right (y="yx"), seems random. I''m using 2.7.1
class test1(
$servicex = "sonar",
$logfoldera = "${homex}/logs",
$logfoldere = "${homey}/logs",
$logfolderh = "${homez}/logs",
$logfolder =
2005 Jul 08
5
HTB Rate and Prio
Hi,
I wanted to implement some QOS on my Linux Box with HTB, but after some time
spend
on the configuration and tests, I still don''t manage to have some correct
results. Here are the details :
-ROOT 2000 kbits
-HIGHPRIO SUBCLASS 50 kbits prio 0
-SUBCLASS1 750 kbits prio 1
-SERVICE1 250 kbits prio 1
2005 Mar 09
1
AllowPCA Rules
I believe the AllowPCA action has an error:
> #TARGET SOURCE DEST PROTO DEST SOURCE RATE USER/
> # PORT PORT(S) LIMIT GROUP
> ACCEPT - - udp 5631
> ACCEPT - - tcp 5632
According to:
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 May 25
3
webservice timeout issue
I am having an issue where I am trying to test a weservice that I wrote by
connecting to it from ruby. When I submit my form that calls the webservice
it times out. you can see from the lighttpd log that the webservice
completes just after the timeout. any ideas? am I doing something wrong?
---- source ----
def validate
auth = ActionWebService::Client::Soap.new(AuthApi, "
2006 Dec 07
4
MassPay API with Ruby On Rails PayPal AARRRGH
Hey,
I''m trying to use Paypal to automatically pay customers, and I''ve heard
MassPay API is a good thing to use. But I cannot find any examples of
it for Ruby, nor do I know what steps to take to use it.
Does anyone have any information or experience with using MassPay API in
RoR? Any help is much appreciated
--
Posted via http://www.ruby-forum.com/.
2006 Mar 28
1
What if a webservice is not available = "execution expired" error
Hi,
I''m using a webservice in my application. How can I make it so that my
application will only try to connect to the webservice for a certain
period of time and then give up?
Right now my code is using a begin-rescue-else but sometimes I get a
"execution expired" error if the webservice is not available or takes
too long to respond.
Thanks,
Peter
begin
service =
2006 Jun 27
0
Calling SOAP based Web Services over SSL
Ok, here we go.
1) I am trying to talk to a soap web service @ the url
https://rsvcstage.e2ma.net/emmaTestCalls
2) I can talk to the web service in plain ruby if I:
2.1) disable site ruby (by renaming the site_ruby directory to
something else)
2.2) use the WDSLDriverFactory instead of an actionwebservice
The working ruby code looks like this:
2005 Apr 27
4
Does CentOS has problems with Norton Ghost 2003 images?
Hello all
We have two very important workstations dedicated to tasks of
development and investigation. At the moment we have installed a dual
boot platform with CentOS 4.0 and Windows XP Proffessional SP2. In
order to do backups of these machines we need to create an image with
Norton Ghost 2003.
We have worked with Ghost during several years with different
platforms (Red Hat, White Box Linux,
2016 Jan 26
0
Persistent tun/tap
This is not the best method as one have to change all present and future scripts tinc run, but ok.
Thank you
Roberto
-----Original Message-----
From: tinc [mailto:tinc-bounces at tinc-vpn.org] On Behalf Of Guus Sliepen
Sent: marted? 26 gennaio 2016 10.13
To: tinc at tinc-vpn.org
Subject: Re: Persistent tun/tap
On Tue, Jan 26, 2016 at 07:25:55AM +0000, mlist wrote:
> It would be nice if
2016 Jan 26
0
Persistent tun/tap
On Tue, Jan 26, 2016 at 07:25:55AM +0000, mlist wrote:
> It would be nice if in a next tinc release you'll add some service variables tinc propagates to its scripts.
> So for example you can define in tinc.conf env variables like:
>
> SERVICE1=
> ...
> SERVICEn=
>
> and tinc will propagates all SERVICEx Variables found in tinc.conf to all scripts it calls. One can
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 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