similar to: rails - web service - method name formatting problem

Displaying 20 results from an estimated 500 matches similar to: "rails - web service - method name formatting problem"

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)
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 19
1
Strange error when testing layered web service
Hi all, Ruby 1.8.4 Rails 1.1.2 1) Error: test_find_hardware_by_id(HardwareControllerApiTest): ArgumentError: illegal refid http://test.host/ c:/ruby/lib/ruby/1.8/soap/baseData.rb:166:in `decode'' c:/ruby/lib/ruby/1.8/soap/encodingstyle/soapHandler.rb:153:in `decode_tag'' c:/ruby/lib/ruby/1.8/soap/parser.rb:179:in `decode_tag''
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 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
2005 Dec 31
1
Error when Testing AWS API (ArgumentError: illegal refid http://test.host/login)
OK, I''m finally starting to play around with the AWS part of Rails, and I''m running into problems with the functional tests. If I use the generator to create the web service as ./script/generate web_sevice MyTest do_it and then run the unit tests without further editing the code, I get the following error: test_do_it(MyTestControllerApiTest): ArgumentError: illegal
2006 Sep 06
1
31K failed stat64's when viewing a simple (no db) rhtml page?
I''m trying to help the sys admins of my server figure out what is up with our Rails installation (debian sarge - completely up to date). Hitting a simple page yields 31,000 failed stat64''s and takes anywhere from 8 - 44 seconds. They #! for ruby is correct everywhere, but it''s like it can''t find Rails. These are box stock standard installs. Here''s
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 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 Mar 21
1
web_client_api within ActiveRecord
Hi, Is it possible to use web_client_api or ActionWebService::Client::Soap.new within an ActiveRecord model to access a webservice? Thanks -- Posted via http://www.ruby-forum.com/.
2008 May 09
1
SSOAP: arguments passed as
Hi, I have a SOAP service, provided by BioMoby which I'd like to call via SSOAP. My service breaks during genSOAPClientInterface() genSOAPClientInterface(def=service, verbose = TRUE) Operation MassBank_Simple_2 Error: Cannot resolve SOAP type in empty context Problem seems to be that there are no <types> defined in the WSDL, and that the service passes input/output as a single
2006 Apr 10
2
using web service for authenitcation
I am writting a web service for authenitcation of users and was using web_service_scaffold :invoke for testing it out...and was able to consume it using .NET. But my question is, whats the simplest method using which i can use the same web service in the current Web App. I mean, not from an external application or something but from the current web apps itself. I found one method in AWDR, and
2006 Sep 06
0
soapenc:base64 and xsd:base64Binary
Hello guys, I have a little mix in all those webservices and wsdl files and all this things, and I have maybe a strange question. I''m trying to consume webservice from different webservice implementation than ror. And I there is one thing from ror regenerated wsdl file. Method parameter defined by :base64 type is defined in wsdl as ''soapenc:base64''. My question is, why
2010 Jun 22
0
Working cludge [Re: SSOAP fails with .types[[1]] : subscript out of bounds]
Hi, so, last post from here unless I can provide any more input to fix the upstream package. On Tue, 2010-06-22 at 10:02 +0200, Steffen Neumann wrote: > So I got a bit further, the reason for the error is > that the WSDL *does not have* any <wsdl:types>...</wsdl:types>, I created a local copy and inserted a dummy <wsdl:types>...</wsdl:types> element. Then, my
2006 May 02
3
web services on the client side
i am reading through chapter 20 of the agile web development book and trying to figure out how to use web services. i set up two different rails apps. one as the server and one as the client. setting up the server seems to work fine. but when i use the example at the end of the chapter to set up a client, i get the following error when i open the page: Missing API definition file in
2006 Jun 23
0
SOAP Web Service Exception
I am working on building a prototype for a Rails Web Service that will be used potentially by non-ruby/rails languages. When testing using the *invoke* scaffold I have no problem getting the correct result, however when using a 3rd party PHP client I get a *NoMethodError (undefined method `collect'' for #<SOAP::SOAPNil:0x24ea1bc>):* exception from the rails Webrick web server.
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
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, "
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 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/.