If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

ruby on rails and c8

Started by markbwarner, 15 Jun 2007 06:48:22 AM

Previous topic - Next topic

markbwarner

Has anyone ever done any integration work with ruby on rails and c8? If so can you let me know if you were able to get it to work and the steps involved? I am getting an error...

require 'soap/wsdlDriver'

wsdl = "/opt/cognos/c8/webapps/p2pd/WEB-INF/classes/Cognos.wsdl"

#wsdl = "http://api.google.com/GoogleSearch.wsdl"
driverFactory = SOAP::WSDLDriverFactory.new(wsdl)

driver = driverFactory.create_rpc_driver()

I'm using the most recent version of Ruby (1.8.6), and the most recent version of soap4r (1.5.6)

Here is the error:


rich@Maserati:~/work_bench$ ruby test.rb
ignored element: {http://www.w3.org/2001/XMLSchema}attributeGroup of WSDL::XMLSchema::Schema
ignored element: {http://www.w3.org/2001/XMLSchema}group of WSDL::XMLSchema::Schema
ignored attr: {}abstract
ignored attr: {}required
/usr/local/lib/ruby/1.8/wsdl/soap/methodDefCreator.rb:141:in `rpcdefinedtype': must not reach here (NotImplementedError)
        from /usr/local/lib/ruby/1.8/wsdl/soap/methodDefCreator.rb:49:in `collect_rpcparameter'
        from /usr/local/lib/ruby/1.8/wsdl/soap/methodDefCreator.rb:47:in `collect'
        from /usr/local/lib/ruby/1.8/wsdl/soap/methodDefCreator.rb:47:in `collect_rpcparameter'
        from /usr/local/lib/ruby/1.8/soap/wsdlDriver.rb:130:in `create_param_def'
        from /usr/local/lib/ruby/1.8/soap/wsdlDriver.rb:101:in `add_operation'
        from /usr/local/lib/ruby/1.8/xsd/namedelements.rb:58:in `each'
        from /usr/local/lib/ruby/1.8/xsd/namedelements.rb:57:in `each'
        from /usr/local/lib/ruby/1.8/soap/wsdlDriver.rb:96:in `add_operation'
        from /usr/local/lib/ruby/1.8/soap/wsdlDriver.rb:40:in `create_rpc_driver'
        from test.rb:10