Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
soap4r error: undefined method `find_message' for nil:NilClass
Giacecco
1/27/2006 4:28:00 PM
Very little code, very big error
---
require 'soap/wsdlDriver'
WSDL_URL = 'http://RLS-4-011:9700/orabpel/default/SendSms/SendSms?wsdl'
factory = SOAP::WSDLDriverFactory.new(WSDL_URL)
driver = factory.create_rpc_driver
---
You find a copy of the wsdl at
http://www.giacec.co.uk...
(RLS-4-011 is a private server).
The error I get is:
ignored element:
{
http://schemas.xmlsoap.org/ws/2003/05/par...
}partnerLinkType
C:/ruby/lib/ruby/1.8/wsdl/operation.rb:67:in `outputparts': undefined
method `find_message' for nil:NilClass (NoMethodError)
from C:/ruby/lib/ruby/1.8/wsdl/soap/methodDefCreator.rb:72:in
`collect_documentparameter'
from C:/ruby/lib/ruby/1.8/soap/wsdlDriver.rb:132:in `create_param_def'
from C:/ruby/lib/ruby/1.8/soap/wsdlDriver.rb:101:in `add_operation'
from C:/ruby/lib/ruby/1.8/soap/wsdlDriver.rb:96:in `each'
from C:/ruby/lib/ruby/1.8/xsd/namedelements.rb:57:in `each'
from C:/ruby/lib/ruby/1.8/xsd/namedelements.rb:57:in `each'
from C:/ruby/lib/ruby/1.8/soap/wsdlDriver.rb:96:in `add_operation'
from C:/ruby/lib/ruby/1.8/soap/wsdlDriver.rb:40:in `create_rpc_driver'
from C:/dev/Eclipse_Ruby_workspace/SMSGatewayTest/SMSGatewayTest.rb:7
The first line seems trivial, even if it seems a soap4r problem anyway.
I can read the definition for "partnerLinkType" at
http://schemas.xmlsoap.org/ws/2003/05/pa...
.
The second is serious, and I have no idea of what to do. The web
service and wsdl are realised using Oracle BPEL Process Manager.
Thank you in advance for any help,
Gianfranco
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
soap4r error: undefined method `find_message' for nil:NilClass
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password