From: David Sledge Date: 2006-09-21T04:46:56+09:00 Subject: Re: SOAP Envelope Error Kent Sibilev wrote: > On 9/20/06, Mark A. Richman wrote: >> >> 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 >> >> >> > xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" >> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> >> >> >> 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" >> >> >> > xmlns:xsd="http://www.w3.org/2001/XMLSchema" >> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> >> >> >> string >> string >> >> >> >> >> What am I doing wrong? >> > > > You are doing nothing wrong. Both xmls are the same according to SOAP > spec. > Are you sure the problem is with the envelope itself. I had a problem talking to .net webservices but the problem was with namespace tags being applied were they shouldn't. Your examples above show similar differences. Username Password string string