Displaying 20 results from an estimated 2000 matches similar to: "Ruby calling wsdl for authenticate() Help"
2014 Jul 22
3
Question: Publishing R/S objects with WebServices (SOAP/WSDL)
Hello,
Can anyone tell me if there is a package which will allow me to write a
package in R, then publish the package using WebServices? The idea is that
I want to be able to pass a data set into R, have R perform the
calculations, then send the result back to either a .Net application or a
LIMS BASIC application.
So far I see many packages that allow R to consume WebServices, but I
haven't
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
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 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 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 Dec 04
0
Paypal and soap4r gems
WSDL conversion as proposed in the paypal plugin howto doesn''t work. Any
idea what goes wrong? See the output below.
rsp@hollerith:~/workspace/pptest/vendor/plugins/paypal$ wsdl2ruby.rb
--wsdl http://www.sandbox.paypal.com/wsdl/PayPalSvc.wsdl --type client
--force
F, [2006-12-04T16:30:43.136405 #11579] FATAL -- app: Detected an
exception. Stopping ... undefined method `new'' for
2006 Sep 06
0
soapenc:base64 and xsd:base64Binary
Hello guys,
I have a little mix in all those webservices and wsdl files and all
this things, and I have maybe a strange question.
I''m trying to consume webservice from different webservice
implementation than ror. And I there is one thing from ror regenerated
wsdl file. Method parameter defined by :base64 type is defined in wsdl
as ''soapenc:base64''. My question is, why
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 Jan 31
0
I need a wsdl tutorial.
I have a wsdl, and I have run soap4r''s wsdl2ruby, but now I need a tutorial on what to do with it.
Any Suggestions?
Enrico
---------------------------------
What are the most popular cars? Find out at Yahoo! Autos
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2009 Nov 06
1
issues with SSOAP when wsdl has ComplexTypes
I recently started trying R and SSOAP and was able to successfully try a "hello
world" service. I am now trying to get a more complicated interface to work with
SSOAP and so far failed miserably at that and so need any help I can
get from here.
The service I am attaching is a prototype for a full service that would
take information to identify a data source and a query to run and
return
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
2009 Jun 18
0
SSOAP access to a j2EE-ws service
I am currently trying to access a SOAP web service (hosted on a JBoss5
server and defined as a J2EE-ws service) via the SSOAP R-package. But
all I can get is a NULL answer. The web service seems to work as it can
be accessed using a general web-service tester.
The web service wsdl is here: http://smg8.ulb.ac.be:8080/web2?wsdl.
This is how I try to call the web service from R:
---
>
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 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 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
2009 Jun 24
1
Qualified parameters in SOAP body using .SOAP
Hello,
I am trying to reach a web service using the SOAP package. I succeeded
calling the web service, but not sending parameters to it. After much
research and tries, I think I found that the problem lies in the
namespace including the parameters in the SOAP body.
In short, my question is: how can I send unqualified parameters in the
SOAP body of a call produced through the SOAP package?
2009 Nov 03
1
help with SSOAP (can't find working examples)
First of all, let me confess that I am a newbie to R and don't know
much about the language or the environment. We have a need for
plugging in R in our production runtime and need the ability to pull
data out of our existing services. I am trying to see if I can take
advantage of SSOAP such that we can expose the data via webservices
and use SSOAP to call into them. Our runtime is mostly
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
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 Apr 17
5
XML-RPC Webservice API
Hi,
After following the excellent tutorials in the Agile Web Development
with Rails book, I was able to get my webservice working pretty much
perfectly :)
I can access it via SOAP and XML-RPC and look at service.wsdl to find
the API. What I can''t do however is get the API for the XML-RPC call. It
fails with :
Internal protocol error: NilClass is not a valid input stream. It must