Displaying 20 results from an estimated 1000 matches similar to: "Rails as SOAP client with .NET web service"
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 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
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,
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
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 Apr 07
3
How to consume XMLRPC/SOAP web services in Rails?
Hi,
does anybody know of any good HowTo for consuming XML-RPC and/or SOAP
web services in Rails?
I found some for Ruby (via soap4r/xmlrpc4r), but I was wondering whether
there is something built into Rails already. So far it looks like there
are methods to create web services, but not to consume them.
Ingo Weiss
2011 Jul 20
1
SSOAP & chemspider
Dear all,
I've been trying on and off for the past few months to get SSOAP to work with chemspider. First I tried the WSDL file:
cs<-processWSDL("http://www.chemspider.com/MassSpecAPI.asmx?WSDL")
Error in parse(text = paste(txt, collapse = "\n")) :
<text>:1:29: unexpected input
1: function(x, ..., obj = new( ?
^
In addition:
2005 Dec 25
2
SOAP Client Connections
I''m trying to connect to a SOAP interface using Rails and I''m running
into a snag. I''m relatively new to Rails at this point and am in the
very beginning stages of understanding how the system works. Currently
I''m running into a error that looks like this:
--------------------------------------------
Missing API definition file in apis/amazon_api.rb
2006 Jun 14
5
Rails SOAP tutorial
Hi all..
I new in Ruby/Rails.. Where could i get some good tutorial about SOAP
using Rails?
I''ve been googling yet still did''nt find good tutorial.
Thank you in advance.. :)
--
Regards,
Ananda Putra
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 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 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
2006 Apr 11
2
Uploading files using a web service
i am writting a web service that will enable users to upload image
files...but then the problem is...i will have to use Soap4R, now my
question is....the API generated(or whatever you call it, wsdl file that
i get) will support standard SOAP implementation??...so i can use
Mono.NET to call this web service and upload files.
I ask this because as per my knowledge SOAP4R is different...so will
2006 Feb 17
4
PayPal WSDL API on Rails anyone ?
Hi !
Has anyone connected to the Mass Pay API of PayPal using Rails ? I
need to do this for a customer, and I wanted to know how easy/hard it
was. I have no experience using SOAP, WSDL, etc.
I saw soap4r[1] on the RAA[2]. This is probably what I''ll need to
use. One question I haven''t answered yet is whether soap4r will
accept PayPal''s certificates ?
Thanks for any
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''
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 Apr 07
2
ActionWebService and namespaces
Hi all,
I''ve tried to search the mailing list, web, etc. and haven''t found
anything that seems to answer my question.
I have a WSDL for a web service written in Java, and I''m trying to
consume it in ruby using ActionWebService. I''ve created my API and some
struct classes. I''ve found the :namespace option to
ActionWebService::Client::Soap.new, but
2005 Sep 17
1
Export to Excel
I need to export some data to an Excel file and found
a reference in the HowTo section of the Rails Wiki.
Followed it to the letter: added "export" action to
controller, copied export.rxml and changed in
accordance to model.
When I call the export action I keep getting
"undefined method `content_columns'' for #<Employee".
The ActiveRecord mention content_columns
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/.