From: SchmittR@... Date: 2003-11-18T23:48:49+09:00 Subject: Re: A newbie query about Soap4R and dot net web services Hi, last week I encountered the same problem. I modified a sample program in the soap4r distribution. Hope i helps. Roland ------------------------------- ###file: service.rb require "soap/rpc/driver" require "RechnerServiceModule" include RechnerServiceModule server = 'http://localhost:8080/WSSE_Service/RechnerService.asmx' wiredump_dev=STDERR service = SOAP::RPC::Driver.new(server, RechnerServiceModule::InterfaceNS) service.wiredump_dev=wiredump_dev service.default_encodingstyle = SOAP::EncodingStyle::ASPDotNetHandler::Namespace RechnerServiceModule::add_method(service) result = service.mul(2,2) print("Result: ", result) ###file:servicemodule.rb module RechnerServiceModule InterfaceNS = 'http://schemas.t-systems.com/wse/RechnerService' Methods=[['mul', 'a','b'],['minus', 'a','b'],['plus', 'a','b'],['hello']] def RechnerServiceModule.add_method(drv) Methods.each do |method, *param| drv.add_method_with_soapaction(method, InterfaceNS+"/#{ method }", *param) end end end