Displaying 20 results from an estimated 20000 matches similar to: "Layered/Delegated WebService"
2006 Mar 17
0
Generating WSDL when using delegated or layered distpatching
All,
I can''t seem to come up with the appropriate incantation to Rails return
WSDL for my web service. I am attempting to use layered dispatching. For
direct dispatching, I can simply access
http://localhoss:3000/controllername/service.wsdl and all works as
advertised. When I configure for layered dispatch, the same invocation
returns "unknown action".
I''m
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 Jan 04
5
Webservice External XMLRPC
Hello i have some trouble getting my webservice to run .
I have the following webservice :
class DirectSpoolAPI < ActionWebService::API::Base
api_method :add, :expects => [{:html=>:string},{:from=>:string}],
:returns => [Customer]
end
class DirectSpoolService < ActionWebService::Base
web_service_api DirectSpoolAPI
def add(html,from)
Customer.find(:first)
end
2006 Jan 06
6
AWS and array of Model
Hi!
I try to use a layered webservice and I want to get back an array of users;
In the API I use:
api_method :listUsers,:returns=>[[User]]
in the service:
def listUsers
User.find(:all)
end
Result in soap mode:
Don''t know how to cast TrueClass to Object
Result in XML-RPC mode:
You have a nil object when you didn''t expect it!
You might have expected
2006 May 24
0
webservice integration test?
Hey railers,
I''m a newbie, so excuse me if the answer is obvious. We''re using a layered
dispatch model for our back-end and I''d like to run some integration tests
for things login and session authentication. The integration examples I''ve
seen, however, make get/post calls to controllers and not web services. How
would I do a sess.post w/ SOAP headers? Do I
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 Jul 12
10
DO NOT REPLY [Bug 3925] New: rsync is unable to sync large (approx 4G) sparse files
https://bugzilla.samba.org/show_bug.cgi?id=3925
Summary: rsync is unable to sync large (approx 4G) sparse files
Product: rsync
Version: 2.6.8
Platform: x86
OS/Version: Linux
Status: NEW
Severity: major
Priority: P3
Component: core
AssignedTo: wayned@samba.org
ReportedBy:
2006 Apr 16
0
What is Multi-layered-Access control
Many PBX's based on the Asterisk code refer to this in their feature
list. Its taken off of the Asterisk.org site. Where is this used in
Asterisk? Is it in the extensions.conf, is it used when logging into the
console, where? How is it used? Is this referring top contexts in the
dial plan?
Message: 1
>Date: Thu, 13 Apr 2006 23:30:24 -0400
>From: "Rusty Dekema"
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 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 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).
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)
2008 Apr 16
2
about getting webservice from other website
I have a webservice offered by a website to be integrated for my
website.They ask me to follow three steps to finish integrating.These
steps are:
1. Create an HTTP connection.
2. Send request parameters via POST method.
3. Parse XML-formatted response string.
The request parameters are something like following:
"Version=2.0.0.0" +
"&ShipmentID=1234" +
2010 Aug 29
0
Troll - A Rails plugin for making webservice mocking easier
Hi Folks,
Troll trumps your existing ActiveResource mocking libraries like
inbuilt HttpMock,Fakeweb or Webmock out of water. With Troll,
ActiveResource mocking just works, some of its features:
1. Don''t need to mock calls at Net::HTTP level (which webmock,fakeweb
do). Really, we don''t care what HTTP library ActiveResource uses,
fakeweb and webmock bring additional complexity
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
2006 Dec 01
3
Sessions in Layered Dispatching
Can you use sessions in layered dispatching? I used them in direct
dispatching without any problems, but switching to layered throws an
error (saying session doesn''t exist).
Sorry if this is a double post, Google Groups isn''t posting my message
for some reason.
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received 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 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
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 Mar 13
0
REST webservice client
Hi *,
I want to use the new MusicBrainz REST web service (http://
wiki.musicbrainz.org/XMLWebService) in my Rails application, and was
looking for suggestions as I''ve never used ActionWebService and have
little experience with web services in general.
Can someone enlighten me ? Does Rails provide facilitations for this
kind of task, or maybe Ruby module ...
TIA,
--
Nicholas