Displaying 20 results from an estimated 60 matches similar to: "Calling webservices"
2006 Jul 13
0
webservices and date time error - part 2
Hello,
When I am trying to receive an array of objects, retrieved by
ActiveRecord from table with datetime column, while using using
ActionWebServices I get the error:
ArgumentError: 3 elements of civil date are necessary
Daniel Berger, posted that this might be fixed by changing the timezone format
in the Windows registry.
2006 May 06
0
Caching webservices?
Is there any way to do this? I know that you can cache controllers
(described at
http://scottstuff.net/blog/articles/2005/10/04/rails-caches_action_with_params),
but I can''t find anything in the docs about caching web services. Thanks,
Ben
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
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 May 18
0
Re: WebServices and DateTime - 3 elements of civil date are
> -----Original Message-----
> From: rails-bounces@lists.rubyonrails.org
> [mailto:rails-bounces@lists.rubyonrails.org] On Behalf Of
> Chris Goodwin
> Sent: Thursday, May 18, 2006 2:24 PM
> To: rails@lists.rubyonrails.org
> Subject: [Rails] Re: WebServices and DateTime - 3 elements of
> civil date are
>
>
> Are you using Windows? I ran into the same problem.
2008 May 21
1
Testing REST webservices? (Not Rails)
Hi,
I am new to RSpec and BDD.
I was wondering if RSpec specifications are a good solution for testing
REST webservices (not implemented in Rails).
If so, what would be a good way to test something like the API described
below?
===========
GET http://localhost/workflow text/xml
Result: 200 OK
<?xml version="1.0"?>
<workflows>
2008 May 21
2
RSpec for testing REST webservices? (Not Rails)
Hi,
I am new to RSpec and BDD.
I was wondering if RSpec specifications are a good solution for testing
REST webservices (not implemented in Rails).
If so, what would be a good way to test something like the API described
below?
===========
GET http://localhost/workflow text/xml
Result: 200 OK
<?xml version="1.0"?>
<workflows>
2006 Jan 23
1
How to call C# webservices
hey,
i have created some webservices in C# with vb.net and IIS.
i can go to them with http://localhost/Twodecode.Webservices/webservices.asmx
Like:
[Webservice]
AddCity(string zip, string city)
{
...do some stuff
return "SUCCES";
}
How must i call this from ruby??
I save an object, and then call the services.
city = City.new()
if city.save
//call webservice
else
//do
2006 Jan 26
1
Webservices and submitting object with associations
Hi - is there an easy way to submit an object with its associations as
an :expects parameter to a AWS webservice?
I know I could first create a webservice method for the object, and then
call - in a loop - another webservice for each of my association
objects.
Is there an easier more elegant way, so that I don''t have to make so
many expensive webservice calls?
I was thinking
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 Nov 07
0
somebody is calling my setters in the webservices!!!
a simple code to define a web service structures:
class CLL_Answer < CLL_Struct
member :answer, :bool
member :answer_description, :string
member :error, :bool
member :error_description, :string
# This is my setter
def error_description=(value)
@answer_description = nil
@error = true
@error_description = value
end
end
and now, the
2006 Nov 19
0
Can i use webservices? or do i write my own protocol?
Hey all
Ok, this is what i want to achive...
Im actually developing an hybrid workflow controller, that uses JDF and
JMF (see http://www.cip4.org/overview/overview.html#What_Is_JDF for
more) - however, i have the situation where i need to send the JMF
messages to my hardware output devices JMF portal over HTTP post and
with a specified content-length header.
Now, i know how to set headers
2010 Oct 31
1
Rails application Webservices
hi all,
I have a rails application at http://electric-sky-98.heroku.com/products
require ''net/http''
require ''uri''
res = Net::HTTP.get_response(URI.parse(''http://electric-
sky-98.heroku.com/products.xml''))
puts res.body
the above code gave me the xml file below:
<?xml version="1.0"
2007 Aug 17
1
Testing webservices in Integration Tests with Jamis Buck's recipe?
Hello,
I''m using Jamis Buck''s recipe to do integration tests on an
application, but I got a nil.recycle! error while doing a webservice
call.
This is the situation.
def test_uploading_data
invoke :upload, data
invoke :upload, even_more_data
real_user_session = new_session_as @real_user
real_user_session.press_magic_button_to_enable_more_uploads
invoke :upload,
2006 May 17
3
WebServices: execution expired
1 hour spent and I can''t got explanation why I have "execution expired"
when I trying to test this web service:
Pointed to: http://localhost:3000/news/list
class NewsService < ActionWebService::Base
web_service_api NewsApi
def list
[NewsTopic.new, NewsTopic.new]
end
end
class NewsController < ApplicationController
wsdl_service_name ''news''
2006 May 18
4
WebServices and DateTime - 3 elements of civil date are necessary
I simply trying to receive an array of objects, retrieved by
ActiveRecord from table with datetime column and I have:
test_list(SoapControllerApiTest):
ArgumentError: 3 elements of civil date are necessary
/usr/lib/ruby/1.8/date.rb:1214:in `new_with_hash''
/usr/lib/ruby/1.8/date.rb:1258:in `parse''
....
It''s a bug or I am wrong somewhere?
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 Jan 30
3
Arrays of objects as parameters to webservices
I think I am missing something terribly obvious. Is it possible to have
an :expects parameter for a webservice that is an array of objects? I
want to have a single webservice that expects all my line items (for an
order). Is this something that is possible?
--
Posted via http://www.ruby-forum.com/.
2006 Sep 11
5
WebServices & controllers
Hi,
I am having problems with REST web-service support.
I have a simple controller:
class DocumentsController < ApplicationController
wsdl_service_name ''Documents''
web_service_api DocumentsApi
web_service_scaffold :invoke
def list
@docs = Document.find(:all)
respond_to do |wants|
wants.html
wants.xml { return @docs .to_xml }
end
end
end
2006 Jul 13
6
Webservices Xml-Rpc and authentication
Hello,
I want to build an application where i have client and server. I need to exacute
commands with XM-RPC. I can get all this working, following the howto''s in wiki and main
website.
But the problem is they are all unsecure. I can''t seem to find any web service examples
where they use authentication, or ssl.
Just wondering if anyone know how i go about doing this.
At the
2005 Apr 26
3
Error using e1071 svm: NA/NaN/Inf in foreign function call
Hello,
As far I saw in archive mailing list, I am not the first person with this problem. Anyway I was not able to pass this error once the information I got from the archive it is not very conclusive for this case. I have used linear, radial and sigmoid kernels for the same data in the same conditions and everything is ok. This problem just happens with the polynomial kernel. I send the