Displaying 20 results from an estimated 200 matches similar to: "Problem Consuming a Web Service"
2006 May 18
2
rails and .net webservices
Hello.
I am novice in ruby.
How can i use .net webservice method from ruby.
Thanks.
--
Posted via http://www.ruby-forum.com/.
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
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 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 May 14
0
Invoke .Net WebService error in RoR
I have written a webservice:
----------- Service.cs ----------------
using System;
using System.Web;
using System.Web.Services;
using System.Web.Services.Protocols;
[WebService(Namespace = "http://tempuri.org/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
public class Service : System.Web.Services.WebService
{
[WebMethod]
public string HelloWorld(string name)
2001 Feb 14
0
No subject
Thanks for the tip to p.dalgaard and Prof Brian Ripley:
For reasons that I have forgotten, the value of an assignment function
is always passed using an argument called "value", so try changing
"sub" to "value".
The last argument of any assignment function has to be named `value'.
This is different from S, and is in the FAQ, section 3.3.3:
"In R, the last
2008 Nov 19
1
[LLVMdev] Why is "typedef boost::shared_ptr<MyClass> MyClass_ptr" named "struct.boost::MyClass_ptr" by llvm-g++?
Hi,
In the code below, MyNamespace::MyClass_ptr will be named
"struct.boost::MyClass_ptr" by llvm-g++, and not
"struct.MyNamespace::MyClass_ptr" as I expected.
I observed this with the real boost::shared_ptr but used the code below
(also attached as structnametest1.cc) on the demo page
(http://llvm.org/demo/index.cgi) to reproduce the behavior.
When I extended my test code
2006 Jun 18
13
Currency calculation
I''m thinking of experimenting with some currency conversion. However,
I''d like the conversions to be in synch with the current rates.
Anyone know (and this maybe out in left field) if there is some online
(perhaps xml) or other data stream I can connect with in my code to
output values based on user selection ?
TIA
Stuart
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
2006 Feb 22
9
Error 500
Hi,
I''ve got a weird 500 error that I can''t fix. I''m using scgi with Apache2 on
Fedora core 2.
Status: 500 Internal Server Error
Even when I launch dispatch.cgi from the command line, I get the 500 error.
I don''t have any log entry written so I''m completely blind. I know that the
app is fine because I can run it in the console and get my records from
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:
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
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
2006 Mar 02
4
LDAP and Rails ???
Hi,
We want to start a new website, and we want to use our
existing authentication system which is LDAP. Can
someone tell me where I can find the information about
how to use LDAP in rails ???
Thanks you very much
Saiho
The mind is its own place, and in itself.
Can make a Heaven of Hell, a Hell of Heaven.
http://www.geocities.com/sayoyo/
__________________________________________________
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,
2005 Dec 14
5
Rails namespace help requested
Hi all -
I posted yesterday with the subject "namespace pollution" and with the
high traffic on this list, it''s kind of disappeared and I''m in need of
a quick answer so i can move on. To recap quickly, can someone tell
if Rails is somehow forcing all modules into a single namespace? I
have a model class StateProvince and inside a webservice module in my
lib/
2006 Jun 13
1
rails - web service - method name formatting problem
Hi all,
I''m using AWS to consume a web service written in Java.
I set up the API class with:
api_method :extractName, :expects => [{:arg0 => :string}], :returns =>
[:string]
Note the lowercase ''e'' of the method name - (because the service is
written in Java :))
My problem is that when this goes out across http, it becomes formatted
as
2006 Mar 09
3
How to copy between databases?
I want to copy data from one database to another using rails. But, it seems
that rails only will talk to one database at a time. Is there a way around
this?
Any help would be greatly appreciated.
--
Best Regards,
-Larry
"Work, work, work...there is no satisfactory alternative."
--- E.Taft Benson
-------------- next part --------------
An HTML attachment was scrubbed...
2006 Aug 02
0
Need help with SOAP and .NET
I am trying to consume a .NET webservice from
http://ws.melissadata.com/dqws/address.asmx
Whenever I call soap.doSingleRecord I receive an error saying that I have an
"Empty XML Request Structure". Looking at the sample SOAP request it appears
that all the settings I am sending need to be wrapped in <Request> tags. So
it lookes like I need to build a seperate Request object and
2007 Oct 13
4
Chapter 9
Hello,
I''m currently stunk on this issue for few days and I do not know how
to get it fixed.
The system always raises this error message :
order is closed
and here is my order.rb:
class Order < ActiveRecord::Base
include ActiveMerchant::Billing
before_validation :set_status
attr_protected :id, :customer_ip, :status, :error_message, :updated_at, :created_at
attr_accessor