Displaying 20 results from an estimated 800 matches similar to: "doc/lit ws consumption"
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
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
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 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
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 Aug 07
5
Store SOAP::RPC::Driver in user session throws TypeError
Hi All
I have a
requirement to consume a 3rd party web service from my Rails
application. I am doing this
in my action
require ''soap/wsdlDriver''
factory = SOAP::WSDLDriverFactory.new(TRANSIDIOM_WSDL_URL)
soap = factory.create_rpc_driver
soap.wiredump_file_base="#{RAILS_ROOT}/log/transidiom.log"
param = %(<Request
2006 Jun 27
0
Calling SOAP based Web Services over SSL
Ok, here we go.
1) I am trying to talk to a soap web service @ the url
https://rsvcstage.e2ma.net/emmaTestCalls
2) I can talk to the web service in plain ruby if I:
2.1) disable site ruby (by renaming the site_ruby directory to
something else)
2.2) use the WDSLDriverFactory instead of an actionwebservice
The working ruby code looks like this:
2005 Mar 02
0
Re: AWS Client Usage
On Wed, 2 Mar 2005 11:51:51 -0600, Chris Brinker
<chris.brinker-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> I was talking on #rubyonrails some more and they seem to think that
> the model classes have to be copy and pasted/available to the
> ruby:client, in addition to the api. I find this advice a little odd
> considering .Net and apparently ColdfusionMX need no such
2008 Dec 10
3
How to stop SOAP4R/OpenSSL requiring cert?
Hi
I want to consume some web services that are only available over HTTPS.
My method looks like this:
def lookup_id
myid=params[:id]
driver =
SOAP::WSDLDriverFactory.new("https://server.com/xxx.wsdl").create_rpc_driver
@p=driver.verifyId(AUTH_TOKEN, PIN, myid)
end
Although this works fine on my local box (with a warning), when deployed
to the staging server I get:
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 Jul 19
0
Web Service (server) and file_column issues
Hi there,
I''m having some issues with using SOAP and file_column. The Web service I
created is pretty straight forward. It gets the 5 most recently updated
members from the database. Nothing too spectacular. However, the Members
class uses file_column and when I try to connect to my web service I get
this error:
TypeError in Connect to serviceController#display_recent_updates
Do
2005 Dec 27
0
Newbie: Getting Book Data from Amazon
As part of my inaugural Ruby project, I''ve been trying to get data
for books from Amazon''s web services. The first thing I tried was
Ruby/Amazon <http://www.caliban.org/ruby/ruby-amazon.shtml>. It works
great, but is based on an earlier version of Amazon''s Web Services,
which apparently doesn''t return a complete set of data for the items
it
2008 May 22
3
SOAP client in Ruby/Rails
Hi all. I have a need to build a SOAP client using Ruby and Rails. I''m
accessing a document/literal style SOAP service. I''ve been poring over
documentation (well, there really doesn''t seem to be any, so that''s a
little misleading), blog posts, and outdated tutorials all day, and I
still don''t really have anywhere to begin. Every tutorial seems to
have a
2006 Jan 13
1
Send XML Document with SOAP
Hello,
yes it''s another ruby-nuby question but i cant find the right docs so I
hope either someone has an answer or can provide links to what i havent
been able to find.
I am trying to call a wsdl web service running on .net server with a
ruby client. I can make the request and with a wiredump I see the SOAP
request and responce XML files, the files are correct but I am not sure
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 =
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,
2013 Jul 08
0
"error setting certificate" issue in R-studio
Hi all,
I'm a newbie to R and I can't figure out how to fix this error I keep getting in R-studio:
> "error setting certificate verify locations:\n CAfile: \n CApath: none\n"
Error in twInterfaceObj$doAPICall(cmd,params,"GET",...) :
Error: error setting certificate verify locations:
CAfile:
CApath: none
I'm trying to use the twitteR package to gather tweets
2019 Feb 17
0
Question about updates
On Feb 16, 2019, at 15:14, Tate Belden <wyoham at gmail.com> wrote:
>
> One can also do the 'yum-cron' dance to automate updates.
> Good writeup and description here:
>
> https://www.howtoforge.com/tutorial/how-to-setup-automatic-security-updates-on-centos-7/
1.) yum-cron with ?update_cmd = security? wont do anything for CentOS because it doesn?t have security
2019 Feb 17
4
Question about updates
> Am 17.02.2019 um 14:28 schrieb Jonathan Billings <billings at negate.org>:
>
>> On Feb 16, 2019, at 15:14, Tate Belden <wyoham at gmail.com> wrote:
>>
>> One can also do the 'yum-cron' dance to automate updates.
>> Good writeup and description here:
>>
>>
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.