similar to: Uploading files using a web service

Displaying 20 results from an estimated 10000 matches similar to: "Uploading files using a web service"

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 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
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 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
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 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
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
2006 Apr 10
2
using web service for authenitcation
I am writting a web service for authenitcation of users and was using web_service_scaffold :invoke for testing it out...and was able to consume it using .NET. But my question is, whats the simplest method using which i can use the same web service in the current Web App. I mean, not from an external application or something but from the current web apps itself. I found one method in AWDR, and
2006 May 17
6
Problem Consuming a Web Service
I''m trying to consume a webservice from my rails application and have discovered an interesting problem. I can call webservice functions just fine, as long as they do not require any arguments, but function that do require arguments do not work. The arguments are sent as either null or an empty string. My API has these method definitions: api_method :otherFunction,
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 Apr 10
3
Regarding using Web service to handle file uploads
I am trying to code a Web Service in rails that can handle file uploads. Now as i read, SOAP 1.1 doesn''t support this yet..so i will have to use SOAP4R, right? This is fine from server side...but will this API will be compatible to .NET clients, which will be using standard SOAP API perhaps. Any idea, whats the way to go here?
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).
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 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
2006 Aug 10
1
Web service SOAP URLs started failing with 1.1.4 or using 1.1.2 security patch
Railers, I''m trying to figure out why invocations to my Web service URLs work with Rails 1.1.2 but fail both with Rails 1.1.4 (and 1.1.5) and when I apply the new 1.1.2 security patch to Rails 1.1.2. It looks like they are failing with SOAP clients but succeeding with XML-RPC clients. The URL that used to work is of the form http://localhost:3000/my_controller/ServiceName/api. When I
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 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 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
2008 May 09
1
SSOAP: arguments passed as
Hi, I have a SOAP service, provided by BioMoby which I'd like to call via SSOAP. My service breaks during genSOAPClientInterface() genSOAPClientInterface(def=service, verbose = TRUE) Operation MassBank_Simple_2 Error: Cannot resolve SOAP type in empty context Problem seems to be that there are no <types> defined in the WSDL, and that the service passes input/output as a single
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