From: Dan.McNulty@... Date: 2008-07-11T05:06:02+09:00 Subject: wsdl/operation.rb blowing up I am attempting to do some SOAP scripting for my first time, and have run into a problem pretty early on. When I use the "factory.create_rpc_driver" I get the error as shown below. Interestingly, when I use the deprecated "factory.create_driver" the driver is created, but the rest of my script doesn't work (I think because the driver and rpc_driver are different). Anyway, if anyone can give a poor n00b a clue I'd be thankful. Here the error I am recieving: ignored attr: {}version ignored attr: {}abstract ignored attr: {}default /usr/lib/ruby/1.8/wsdl/operation.rb:67:in `outputparts': undefined method `find_message' for nil:NilClass (NoMethodError) from /usr/lib/ruby/1.8/wsdl/soap/methodDefCreator.rb:72:in `collect_documentparameter' from /usr/lib/ruby/1.8/soap/wsdlDriver.rb:132:in `create_param_def' from /usr/lib/ruby/1.8/soap/wsdlDriver.rb:101:in `add_operation' from /usr/lib/ruby/1.8/xsd/namedelements.rb:58:in `each' from /usr/lib/ruby/1.8/xsd/namedelements.rb:57:in `each' from /usr/lib/ruby/1.8/soap/wsdlDriver.rb:96:in `add_operation' from /usr/lib/ruby/1.8/soap/wsdlDriver.rb:40:in `create_rpc_driver' from ./test.rb:10 Here's my test script: #!/usr/bin/ruby require 'soap/wsdlDriver' soapServer="http://10.0.1.231:8443" systemServiceWSDL='/axis2/services/SystemService?wsdl' wsdlURL="#{soapServer}#{systemServiceWSDL}" factory = SOAP::WSDLDriverFactory.new(wsdlURL) driver = factory.create_rpc_driver driver.wiredump_dev = STDOUT result = driver.LoginRequest(:domainName => "domain", :userName => "admin", :password => "password") puts result And here is the wsdl document I get from the remote server: Login into the system domainName: the domain to login userName: the user name password: the password The response of the login request loginStatus: if the status is Success, a valid token is returned for requests followed, if the status is Challenge, the response to the challenge shall be sent authToken: the token used by the further requests Send the response to the challenge Get the system informations: the service description and all the accessible domain ids and names. If no service name is specified, return the service description of all services Return the service list and all the accessible domain ids and names