Hi,
I'm trying to log into my demo account using the soap interface via rails... But I get this error, which does not make much sense to me, as the parameters are correct. Could anyone help me out?
Wire dump:
= Request
POST /secure/api1/EconomicWebservice.asmx HTTP/1.1
SOAPAction: "http://e-conomic.com/Connect"
Content-Type: text/xml; charset=utf-8
User-Agent: SOAP4R/1.5.5 (httpclient.rb/280, ruby 1.8.7 (2008-08-11) [universal-darwin10.0])
Date: Wed, 03 Feb 2010 10:09:50 GMT
Content-Length: 458
Host: www.e-conomic.com
<?xml version="1.0" encoding="utf-8" ?>
<env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<env:Body>
<n1:Connect xmlns:n1="http://e-conomic.com">
<n1:agreementNumber>232151</n1:agreementNumber>
<n1:userName>pet</n1:userName>
<n1:password>v2xig8pt</n1:password>
</n1:Connect>
</env:Body>
</env:Envelope>
= Response
HTTP/1.1 500 Internal Server Error
Date: Wed, 03 Feb 2010 10:08:54 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-AspNet-Version: 2.0.50727
Cache-Control: private
Content-Type: text/xml; charset=utf-8
Content-Length: 427
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><soap:Fault><faultcode>soap:Client</faultcode><faultstring>Economic.Api.Exceptions.AuthorizationException(E02000): Access denied. {id=797135157}</faultstring><detail /></soap:Fault></soap:Body></soap:Envelope>
SOAP::FaultError: Economic.Api.Exceptions.AuthorizationException(E02000): Access denied. {id=797135157}
from #<SOAP::Mapping::Object:0x10488b2b0>


