I am getting this error while trying to access .NET based SOAP Web
service
#SOAP::Mapping::Object:0xb7c86218:
System.Web.Services.Protocols.SoapException: Server was unable to
process request. —> System.NullReferenceException: Object reference
not set to an instance of an object. (SOAP::FaultError)
Try putting the ‘136’ in a SOAP::SOAPString or SOAP::SOAPInt:
p driver.GetVals(SOAP::SOAPString.new(“136”))
or
p driver.GetVals(SOAP::SOAPInt.new(136))
If that doesn’t work, i try using the wsdl2ruby generator to create
the class stubs. It will create a class for each parameter. In your
case, it will be something like:
p driver.GetVals( GetVals.new(SOAPString.new(“136”)))