From: "Mark A. Richman" Date: 2006-09-21T03:25:11+09:00 Subject: SOAP Envelope Error soap4r is generating this: POST /Wahp.Provisioning/User.asmx HTTP/1.1 SOAPAction: "http://affinity.com/Wahp/Provisioning/IsValidLogin" Content-Type: text/xml; charset=utf-8 Authorization: Basic U0hBUkVEXuaXN0cmF0b3I6JZSQ= User-Agent: SOAP4R/1.5.5 (/114, ruby 1.8.5 (2006-08-25) [i386-mswin32]) Date: Wed Sep 20 13:44:12 -0400 2006 Content-Length: 437 Host: web001whp001:3250 Username Password My service expects this: POST /Wahp.Provisioning/User.asmx HTTP/1.1 Host: web001whp001 Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://affinity.com/Wahp/Provisioning/IsValidLogin" string string What am I doing wrong? class Test def initialize() @driver = Driver.new(URL,NS) @driver.wiredump_dev = STDOUT @driver.options["protocol.http.basic_auth"] << [URL, USERNAME, PASSWORD] @driver.default_encodingstyle = SOAP::EncodingStyle::ASPDotNetHandler::Namespace @driver.add_method_with_soapaction('IsValidLogin',SOAP_ACTION,'username','password') puts @driver.IsValidLogin("Username","Password") end end - Mark