search for: wsdl2ruby

Displaying 13 results from an estimated 13 matches for "wsdl2ruby".

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 nil:NilClass (NoMethodError) /usr/lib/ruby/gems/1.8/gems/soap4r-1.5.5.20061022/lib/xsd/xmlpa...
2009 Mar 03
0
how to use Wsdl2ruby generated files
i am cloning a current soap server to ruby and i have zero experience in this soap thing. i did a wsdl2ruby on the url and generated 3 riles DriverDataServiceMappingRegistry.rb DriverDataService.rb DriverServiceServant.rb how do i use the files to setup a soap server ? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because yo...
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 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, I''ll be happy. -- Posted via http://www.ruby-forum.com/.
2007 Aug 14
2
bizare soap4r problem
Hey chaps I am using classes I generated from wsdl2ruby, and they work like a charm when running somthing like: ruby -d path/to/file.rb and i get the result I expect. However, when I use them within rails, the actual xml it puts together is different. Using wire dump i see that (and this is a key part of the web service) looks like: <n1:inR...
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,
2006 Feb 04
0
how to create API for .NET DataSet type
Hi, i have wsdl in witch return types are .net dataset''s. As long as wsdl2ruby doesn''t work on this wsdl, may be anybody know''s, how to describe Dataset type using ruby? Thanks a lot. -- Posted via http://www.ruby-forum.com/.
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: http://wrath.rubyonrails.org/piperma...
2008 Mar 04
0
soap4r in wrong format
Hi people, I was wondering if anyone has any experience with using soap4r. I''ve done the whole wsdl2ruby and basically evrything works fine, were it not that the servive I am talking to has a different standard concerning the XML I am sending. -- What soap4r does <xmlJob> <Job> <CBCustomApplyType>CANone</CBCustomApplyType> <CBAOLFormat>RFText</CBAOLFormat> &...
2006 May 01
3
Using Classes in Rails
I am a beginner so please excuse me, if i am doing something totally wrong. I have created a class using "wsdl2ruby.rb" and here is what it looks like: class ServiceSoap < ::SOAP::RPC::Driver DefaultEndpointUrl = "http://balrog/services/SearchWorker/service.asmx" MappingRegistry = ::SOAP::Mapping::Registry.new Methods = [ ... -- Posted via http://www.ruby-forum.com/.
2006 Aug 01
1
xmlattr use .net web service from ruby problem
I have a WSDL and used to wsdl2ruby to create the default.rb and defaultdriver.rb ****************************************************************** the method that i''m calling class representation is: # {http://home.setup/abs}DeliverMessage class DeliverMessage @@schema_type = "DeliverMessage" @@schema_ns =...
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 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