Displaying 20 results from an estimated 900 matches similar to: "Re: AWS Client Usage"
2005 Mar 02
0
AWS WSDL Client Consumption
Has anyone had any great success in consuming web services from within
ruby? I have had little to no problems publishing a WSDL based web
service to the outside world from within ruby, however now I am
attempting to consume the same ruby published web service with the AWS
client back into ruby, and I am having problem after problem.
Is there perhaps a help document or some manual that has a
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
2007 Jul 31
0
wsdlDriver won't run under Rails (SSL)
I have a wsdl client that will work standalone but as soon as I put
identical code into a Rails controller I get an Errno::ECONNREFUSED
#(Connection refused -connect(2)...) Any ideas?
=======================
||Standalone: (works) ||
=======================
require ''soap/wsdlDriver''
require ''http-access2''
user = ''fwkaufm''
wsdl
2008 Oct 23
4
Soap4R
The following two line code creates the issue:
factory =
SOAP::WSDLDriverFactory.new("http://aspire388:8080/ClubConcierge306/axis/LWFlowerService?wsdl")
soap = factory.create_rpc_driver
The error message is:
part: requestParams cannot be resolved
RAILS_ROOT: E:/Pavo/csat
Application Trace | Framework Trace | Full Trace
c:/ruby/lib/ruby/1.8/wsdl/soap/methodDefCreator.rb:144:in
2006 Jan 28
0
.net WSDL SSL web service conumption
Hi,
i''m trying to consume .NET webservice following one tutorial an
currently have these lines of code:
wsdl = "https://someserviceaddress"
factory = SOAP::WSDLDriverFactory.new(wsdl)
and running this code i''m getting:
Unknown attr {}ref.
Unknown element {http://schemas.xmlsoap.org/wsdl/http/}binding.
Unknown element {http://schemas.xmlsoap.org/wsdl/http/}operation.
2006 Jan 26
3
Calling a SOAP service from within a Rails controller
The following works fine as a standalone ruby program:
**********************************************************************************************
t = Time.now
starter = Time.local(t.year,t.mon, t.day) + (24 *3600)
ender = starter + 7 * 24 *3600
lat = 40.352039
lon = -74.191961
require ''soap/wsdlDriver''
params = {:maxt => false, :mint => false, :temp => true, :dew
2005 Nov 19
1
Rails as SOAP client with .NET web service
Hi
For an application we need to obtain data from a .NET
based web service. I''ve been "playing" with some
sample code to invoke web services as a soap client.
They work ok with services that offer a .wsdl link.
However, .NET based services are called with
"*.asmx?WSDL".
The wsdlDriver (I guess SOAP4R) barfs on this.
Anybody have practical experience and willing/able
2006 Jul 18
2
connecting to a coldfusion web service
Hi,
I''m connecting to a cf web service....
<cfcomponent>
<cffunction name="myname" returntype="string" access="remote">
<cfreturn "fred" >
</cffunction>
</cfcomponent>
using
require ''soap/wsdlDriver''
wsdlfile = "http://localhost/docsearch/mainsearch.cfc?wsdl"
factory =
2006 Aug 12
0
doc/lit ws consumption
I am new to ruby and rails. I am having trouble consuming a java web
service with the soap/wsdlDriver library.
My java web service, FooService, has one method, search(String).
I am sending the data from a form to this method in my controller:
def search
searchTerm = params[:searchTerm]
factory = SOAP::WSDLDriverFactory.new("http://localhost:8080/services/FooService?wsdl")
2005 Dec 21
1
ActionWebService and WSDL
The suggested approach for developing a web service using
ActionWebService appears to be start by defining the API you want and
then you can generate WSDL. I want to start from WSDL. I''ve tried
wsdl2ruby but the Ruby code it generates does not appear to play well
with Rails. Is there a way I can get what I want? I''m new at this so if
the answer is a forehead slapper,
2006 May 02
1
SOAP client not seeing all of my AWS service methods
Hi all,
Ruby 1.8.4
Rails 1.1.2
I''m a newb when it comes to SOAP, but I thought I''d give it a shot. I
have several web services defined. However, when I try to connect with
a SOAP client it seems the client is only picking up one of the
services, called Hardware.
require ''soap/wsdlDriver''
wsdl_url =
2008 Jan 23
1
Making Parents object attributes available
Hello,
I have a class Person
class Persoon < ActiveRecord::Base
set_table_name "Persoon"
set_primary_key "p_persoon"
has_many :adres, :class_name => "Adres"
composed_of :name, :class_name => Name, :mapping => [ [:naam,:naam],
[:voornaam,:voornaam], [:voornaam2,:voornaam2],
[:persnickname,:persnickname], [:perssortname,:perssortname] ]
def
2010 Jan 05
1
Errno::ENETUNREACH (Network is unreachable - connect(2)):
I am trying to run my first app on the Solaris server, in a production
environment. I get a network unreachable. Why? Does it belongs to
database.yml config?
Processing CategoriesController#index (for 10.3.70.129 at 2010-01-05
14:00:47) [GET]
Errno::ENETUNREACH (Network is unreachable - connect(2)):
/usr/ruby-enterprise/lib/ruby/1.8/net/http.rb:560:in `initialize''
2012 Feb 16
2
[LLVMdev] Question about "const"
Hi all. I have a next problem. I need to implement some object that will work with both const and "constless" object: Instruction* and const Instruction*, for example.
How to implement it better?
Currently I see two possible ways:
1. Templates.
template <class InstructionTy>
class InstructionProcessorT {
InstructionTy *Inst;
InstructionProcessor(InstructionTy *I) : Inst(I) {}
2006 Jan 09
0
Problem with publishing subclasses by AWS API specification
Hi,
I''m quite new to Rails and have a problem with the use of AWS.
The Problem is, that I have a class which provides some basic attributes
and some subclasses of this with more specific attributes. I want to
send objects of those classes through SOAP by a remote client, but if I
specify just the base class in the method signature of my API definition
the generated WSDL file will
2006 Jan 11
0
HELP!! - Problem with AWS and subclasses
Hi,
I''m quite new to Rails and have a problem with the use of AWS.
The Problem is, that I have a class which provides some basic attributes
and some subclasses of this with more specific attributes. I want to
send objects of those classes through SOAP by a remote client, but if I
specify just the base class in the method signature of my API definition
the generated WSDL file will just
2005 Aug 23
8
Web Services testing... Agile Book p. 435
I am attempting to test the web services added during chapter 20 of the
Agile book. The code as written in the book yields 2 errors:
test_find_product_by_id(BackendControllerApiTest):
XMLParserError: syntax error
Anyone hit this yet and get it to work?
Thanks.
Ken
_______________________________________________
Rails mailing list
Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
2012 Feb 16
0
[LLVMdev] Question about "const"
Hi,
I think Chris recently did this with ArrayRef - that might be a good
template to base your solution on?
Cheers,
James
-----Original Message-----
From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On
Behalf Of Stepan Dyatkovskiy
Sent: 16 February 2012 06:36
To: llvmdev at cs.uiuc.edu
Subject: [LLVMdev] Question about "const"
Hi all. I have a next
2006 Jun 15
2
AWS Client - There has to be a better way
I''m working on building a SOAP client with AWS, i.e:
class PersonAPI < ActionWebService::API::Base
api_method :find_all, :returns => [[Person]]
end
soap_client = ActionWebService::Client::Soap.new(PersonAPI,
"http://...")
persons = soap_client.find_all
This works well but I think it breaks down quickly when you try to do
real world work. Lets take a moderately
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