J
Jim Menard
I'm trying to use wsdlDriver.rb to call a Web service. I have a WSDL
file. When I run my script, it connects to the Web service, calls the
operation I specify ("approve"), and receives the response string.
However, it doesn't put the response string into the message part that
the operation "approve" uses as its output message. Instead, it tries
to find something called "approveResponse", which is not described in
the WSDL file. I see the following error:
c:/ruby/lib/ruby/1.8/wsdl/soap/complexType.rb:69:in
`child_defined_complextype': Cannot find
{http://www.w3.org/2001/XMLSchema}string as a children of
{http://loans.org/wsdl/loan-approval}approveResponse. (RuntimeError)
from c:/ruby/lib/ruby/1.8/soap/encodingstyle/soapHandler.rb:382:in
`decode_tag_by_wsdl'
...
Why isn't the response string being put into the message part that the
operation "approve" uses as its output message?
Jim
file. When I run my script, it connects to the Web service, calls the
operation I specify ("approve"), and receives the response string.
However, it doesn't put the response string into the message part that
the operation "approve" uses as its output message. Instead, it tries
to find something called "approveResponse", which is not described in
the WSDL file. I see the following error:
c:/ruby/lib/ruby/1.8/wsdl/soap/complexType.rb:69:in
`child_defined_complextype': Cannot find
{http://www.w3.org/2001/XMLSchema}string as a children of
{http://loans.org/wsdl/loan-approval}approveResponse. (RuntimeError)
from c:/ruby/lib/ruby/1.8/soap/encodingstyle/soapHandler.rb:382:in
`decode_tag_by_wsdl'
...
Why isn't the response string being put into the message part that the
operation "approve" uses as its output message?
Jim