Displaying 20 results from an estimated 80 matches similar to: "SOAP client in Ruby/Rails"
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,
2012 Aug 10
2
Regular Expressions + Matrices
Hi all,
My code looks like the following:
inname = read.csv("ID_error_checker.csv", as.is=TRUE)
outname = read.csv("output.csv", as.is=TRUE)
#My algorithm is the following:
#for line in inname
#if first string up to whitespace in row in inname$name = first string up
to whitespace in row + 1 in inname$name
#AND ID in inname$ID for the top row NOT EQUAL ID in inname$ID for the
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
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 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
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''
2008 Mar 13
3
scrolling in a <select multiple="multiple"> list
I have a <select multiple="multiple"> list with a fixed height. It
contains several <option> elements that extend well past the viewable
area. I added code that would track which options had been previously
selected so that users could select multiple items without holding the
ctrl key.
I''m storing the previous selections in an array whose index
corresponds with
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
2008 Apr 14
2
[Bug 15496] New: does not render ESPN hockey shot chart correctly
http://bugs.freedesktop.org/show_bug.cgi?id=15496
Summary: does not render ESPN hockey shot chart correctly
Product: swfdec
Version: unspecified
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: plugin
AssignedTo: swfdec at lists.freedesktop.org
2009 Sep 29
1
Data source for American college football rankings?
An interesting, and topical, example of multivariate data for
classroom illustrations are the American college football rankings.
Starting at the end of October (or "week 8", the 8th week of the
football season) a set of rankings called the BCS (Bowl Championship
Series) will be published. This is a composite ranking based on two
subjective polls, the Harris and USA Today polls, and a
2004 Mar 30
12
Big question: Move to SWIG?
A few days ago, someone asked me why I am using wxpp instead of SWIG.
The question prompted me to revisit and re-evaluate SWIG, and I now
believe it would be best to convert wxRuby to SWIG.
SWIG has greatly improved its C++ support since the last time I looked
at it, and I think its Ruby support has improved quite a bit as well.
Also, now that I have written wxpp, I understand the nature of
2008 Jun 24
3
Running the beast forum for the first time
Hey guys,
so I think I''ve done my installation of the beast forum correctly. Its
done the database migration and all the tables look fine. Now, when I
run
ruby script/server
and point my browser at http://localhost:3000/ I get a "500 Internal
Server Error" error.
Anybody know whats causing this? I''ve been trying to work it out for
ages now and its wrecking my head
2006 Feb 16
1
Joining a trusted domain
Hello,
I've come across a fairly unique situation and after much searching have
not found a solution. I thought I would see if anyone here has had any
experience with this before.
I have a location with two ADS domains with a two-way trust configured.
-For this example I will call them corp.company.com and bst.company.com.
-I have a FreeBSD client running Samba version three
-I want to
2008 Apr 14
7
[Bug 15495] New: does not render ESPN baseball gamecast correctly
http://bugs.freedesktop.org/show_bug.cgi?id=15495
Summary: does not render ESPN baseball gamecast correctly
Product: swfdec
Version: unspecified
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: plugin
AssignedTo: swfdec at lists.freedesktop.org
2007 Mar 24
15
State Based vs. Behaviour Based Spec/Testing
I''ve notice that a project like Rubinius has both a spec & a test
directory. Rspec has only a spec directory. Obviously I support
BDD, but isn''t there also a place for state based/verification
testing? I sometimes sense that I *do* want to practice Test Driven
Development. That is, I want some assurance that my production code
will run as intended. But I also
2008 Oct 07
6
Hpricot loop question to read table row values
Hi.
I''ve got a file that contains a table that looks like this:
<table>
<tr><td>column title a</td><td>column title b</td></tr>
<tr><td>row 1 a</td><td>row 1 b</td></tr>
<tr><td>row 2 a</td><td>row 2 b</td></tr>
<tr><td>row 3 a</td><td>row 3
2005 Sep 29
1
adding to: winlogon problem error with Default User/ "... does not
whoops, i didn't have much luck attaching the entire file, hopefully this
link will work.
http://www.lebox.org/u/milan/samba/userenv-clip.txt
here's a piece of the log that looks interesting, any hints?
USERENV(a0.80) 15:42:18:872 MyGetDomainDNSName: MyGetUserName failed for dns
domain name with 1355
USERENV(a0.80) 15:42:18:872 CheckUserInMachineForest: MyGetDomainName failed
with 1355.
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 =
2011 May 30
7
Grep: show me this line and the next N lines?
Can grep show the matching lines and the next N lines after a match?
For instance, I have a config file wit hthe following text:
[Tag h1]
foreground=#2e5a03
underline=double
indent=0
weight=PANGO_WEIGHT_BOLD
scale=2.25
I would ideally grep on "[Tag h1]" and have grep display the match and
the next 5 lines so that I see all the content of the h1 section.
Can this be done?
Thanks!
--