H
Hasham
Hi,
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)
My code to access this service is:
require 'soap/wsdlDriver'
wsdl = 'http://www.dotnetsite.com/MyService/Service.asmx?WSDL
driver = SOAP::WSDLDriverFactory.new(wsdl).create_rpc_driver
puts driver.GetVals('136')
I have tried many things but still i am not able to get this code
working. Please tell what should i do to get this working
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)
My code to access this service is:
require 'soap/wsdlDriver'
wsdl = 'http://www.dotnetsite.com/MyService/Service.asmx?WSDL
driver = SOAP::WSDLDriverFactory.new(wsdl).create_rpc_driver
puts driver.GetVals('136')
I have tried many things but still i am not able to get this code
working. Please tell what should i do to get this working