Hi all, I am testing out SOAP/WSDL interaction between Ruby and a
webservice written in Java. I am able to test the Java webservice via
a Java client and get a proper response back, but for whatever reason
I use Ruby to call my webservice, I get a null SOAP Mapping Object
returned back to me.
My Ruby code which is calling the webservice is as follows,
driver = SOAP::WSDLDriverFactory.new(wsdl).create_rpc_driver
String myString = ‘pookieMon’
puts “Your answer = %s” % driver.sayHello(myString)
I’m trying two different ‘puts’ statements, just in case. I noticed by
looking at my server logs that Ruby is not even passing an argument to
the webservice and hence is not getting anything back either.
Here is what Ruby sends,
Here is what my Java code sends (and is successful),<?xml version="1.0" encoding="UTF-8"?>
What’s going on here, am I just making a very obvious simple mistake
or does the Ruby soap/wsdlDriver work differently? I’m a Ruby (and