similar to: webservice integration test?

Displaying 20 results from an estimated 6000 matches similar to: "webservice integration test?"

2006 May 25
0
post to a webservice in an integration test?
Hey railers, Just wondering if anyone out there knows how to generate a SOAP post using the session object in an integration test. I couldn''t find documentation on how to do so, but perhaps I''m overlooking something. I would like to call a webservice on my server in the following block: def login open_session do |sess| ... sess.post
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 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 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 Jul 30
1
slightly OT: opinions on best webservice implementation
We have been using more and more Ror for new applications. Right now we are debating on the best way to implement some new webservices that will interact with our payment gateway. These webservices will be backend type functions. Updating customer/billing records, retrieving data, etc.. The interface for actually processing transactions won''t be changing. Ideally, the webservice will
2007 Aug 09
0
layered SOAP webservices
Hi all, My SOAP web service works with direct and delegated dispatching. But as soon as I switch to layered, I get an error message no such web service ''api'' Now, the actionwebservice/lib/action_web_service/protocol/ soap_protocol.rb, in function decode_action_pack_request(action_pack_request), service_name = action_pack_request.parameters[''action'']
2006 Jul 08
0
Testing cookies - integration tests
Hello, I''m trying to test some cookie code with some integration tests, but I''m not sure if this is possible. Currently I''m creating a session (using open_session) running some code that sets my cookie and this works fine, the cookie is being set. Now cookies are supposed to exist across different sessions, so I try to create a new session (again with
2011 Sep 07
0
Ruby Webservice giving "POST not supported" error when using datanoise-actionwebservice gem
I have written SOAP web service in ruby using datanoise-actionwebservice gem but webservice sends following error in response: Exception of type System.InvalidOperationException: Client found response content type of ''text/html; charset=utf-8'', but expected ''text/xml''. The request failed with the error message: -- POST not supported --. please help ...
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, "
2010 Dec 20
6
Create SOAP Webservice with Rails 3
Hello, I''m just getting started with Rails, and for my first project I want to create a Rails app that is nothing more that a SOAP web service. From what I have been able to figure out it looks like with Rails 2 there was a web services framework of some sort. I have been struggling to find anything on Rails 3. Oh yea, yes it has to be SOAP :-) , we have SOAP clients and apps already and
2006 Jan 04
0
Layered/Delegated WebService
Hi! How can I access to the Controller from a Layered web service? Cow
2010 Nov 02
0
webservice - get client ip address
Hi I have the following problem in my application I have in the controller: class XmlrpcController < ApplicationController web_service_dispatching_mode :layered wsdl_service_name ''weblogUpdates.ping'' web_service_scaffold :invoke web_service :weblogUpdates, WeblogUpdates.new end in the api definition file: ------- class WeblogUpdatesApi <
2006 Apr 17
5
XML-RPC Webservice API
Hi, After following the excellent tutorials in the Agile Web Development with Rails book, I was able to get my webservice working pretty much perfectly :) I can access it via SOAP and XML-RPC and look at service.wsdl to find the API. What I can''t do however is get the API for the XML-RPC call. It fails with : Internal protocol error: NilClass is not a valid input stream. It must
2006 Aug 10
1
Web service SOAP URLs started failing with 1.1.4 or using 1.1.2 security patch
Railers, I''m trying to figure out why invocations to my Web service URLs work with Rails 1.1.2 but fail both with Rails 1.1.4 (and 1.1.5) and when I apply the new 1.1.2 security patch to Rails 1.1.2. It looks like they are failing with SOAP clients but succeeding with XML-RPC clients. The URL that used to work is of the form http://localhost:3000/my_controller/ServiceName/api. When I
2006 Jul 27
7
WebService
Hi all! how do I make a WebService using rails? thaks ! -- Cordialmente, Carlos J?nior <junior@boanoitebh.com> (31) 9244-6543 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060727/f52d1e1c/attachment.html
2006 Jan 30
3
webservice consumption over SSL
Hi, as long as nobody answered to my previous question, i''ll try to write in another way. I have: webservice WSDL link (https://something?WSDL, that''s .net webservice) pem file (certificate, needed to authentificate for gettting data) i need : to consume that webservice without describing API''s for each method (i mean use WSL to construct needed structures or objects).
2014 Jul 22
3
Question: Publishing R/S objects with WebServices (SOAP/WSDL)
Hello, Can anyone tell me if there is a package which will allow me to write a package in R, then publish the package using WebServices? The idea is that I want to be able to pass a data set into R, have R perform the calculations, then send the result back to either a .Net application or a LIMS BASIC application. So far I see many packages that allow R to consume WebServices, but I haven't
2006 Jul 24
1
XMLRPC WebService and Structs
Hi First off, I apologise if this is covered somewhere and I just don''t get it... I''ve looked far and wide .... As a part of my current project I need to hook up to a particular XMLRPC webservice that won''t be available for me to use until close to launch date... So I am trying to recreate the webservice that mirrors the live one so I can test my application
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