Displaying 20 results from an estimated 4000 matches similar to: "How to call C# webservices"
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 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 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)
2007 Aug 07
0
CENTOS 4 and mono
Hello,
Im trying to configure my centos machine to run webservices.
Im using the mono repo from www.*mono*-project.com, for rhel-4.
After configuring every thing, it all seemed to work fine with a simple
webservice for testing purposes.
For that, a friendo of mine created a vb webservice on a windows machine
and I copied the all resulting files(asmx, dll, etc).
When I access the webservice via
2005 Dec 21
1
how to sort records??
hey,
ยต
i have these records in my database, in a many-to-many relationship
clients_users
1;66
2;66
3;66
5;66
6;66
7;66
8;66
14;66
15;66
16;66
17;66
18;66
19;66
20;66
21;66
22;66
clients
1;VME Complex Foster
2;VME Res. Canada
3;Twodecode
5;Index
6;Verleye bvba
7;Venus bvba
8;All Building Services nv
14;Vitro-Service sa
15;Vitro-Clean
16;Vecom nv
17;Ultra lean bvba
18;Solar Cleaning Services nv
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/.
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
2007 Nov 12
1
Microsoft SOAP - Help!!
Hello,
I am trying to access Microsoft Live Search Using SOAP through R.
In R I am using the RCurl packages to make the calls.
I have the following situation that looks crazy and cannot figure out how to
solve it:
#SOAP Request
library(RCurl)
h = basicTextGatherer()
body='<?xml version="1.0" encoding="ISO-8859-15"?>
<SOAP-ENV:Envelope
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
2005 Dec 29
3
Post problem with select lists
hey,
i have this problem
how come i always get -1 for the select list??
rhtml
First, select a client.
<select id="client_id" name="client[id]" onChange="submit();" >
<%= options_for_select(@client_options, @client_id.to_i) %>
</select><%= @client_id %>
controller
if @request.post?
if @request.xml_http_request? #called by ajax,
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
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 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 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 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 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
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>
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
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>
2005 Dec 20
1
Sending mail error
hey,
i get this message when i want to send a mail
5.3.3 AUTH not available
c:/ruby/lib/ruby/1.8/net/smtp.rb:680:in `check_response''
c:/ruby/lib/ruby/1.8/net/smtp.rb:582:in `auth_login''
c:/ruby/lib/ruby/1.8/net/smtp.rb:581:in `critical''
c:/ruby/lib/ruby/1.8/net/smtp.rb:581:in `auth_login''
c:/ruby/lib/ruby/1.8/net/smtp.rb:571:in `__send__''