I finally got to the bottom of this after a couple of months.  Turns
out that my users haven't paid enough for their salesforce.com
licenses.  The Web Services API for force.com is only available to
users on enterprise or unlimited licenses.

I installed Charles (http://www.xk72.com/charles/) and my previously
opaque message was suddenly clear in the headers.  Worth 50US$ just
for that.

So, if any of you app developers were thinking of salesforce.com
mashups and posting yourselves on the AppExchange, remember, you can
only sell to sf.com enterprise customers or above.  In case it make
some difference to your arithmetic on cost/benefit, I think that is
about 15% of their installed base.

James, you are off the hook.

--- In flexcoders@yahoogroups.com, "simonjpalmer" <[EMAIL PROTECTED]>
wrote:
>
> Hi, anyone else using the as3salesforce.swc library to talk to
> salesforce.com?
> 
> I am having trouble logging in to regualr european sf.com accounts.  I
> can successfully connect to a North American developer account but
> every other account I try fails with this error:
> 
> sf.com login failed : (mx.messaging.messages::ErrorMessage)#0
>   body = (Object)#1
>   clientId = "DirectHTTPChannel0"
>   correlationId = "94A17A2C-2773-F112-4C87-0F7832F33A7D"
>   destination = ""
>   extendedData = (null)
>   faultCode = "Server.Error.Request"
>   faultDetail = "Error: [IOErrorEvent type="ioError" bubbles=false
> cancelable=false eventPhase=2 text="Error #2032: Stream Error. URL:
> https://www.salesforce.com/services/Soap/u/11.0";]. URL:
> https://www.salesforce.com/services/Soap/u/11.0";
>   faultString = "HTTP request error"
>   headers = (Object)#2
>   messageId = "C80023BB-05D8-8365-9CB6-0F78370A3AB2"
>   rootCause = (flash.events::IOErrorEvent)#3
>     bubbles = false
>     cancelable = false
>     currentTarget = (flash.net::URLLoader)#4
>       bytesLoaded = 0
>       bytesTotal = 0
>       data = (null)
>       dataFormat = "text"
>     eventPhase = 2
>     target = (flash.net::URLLoader)#4
>     text = "Error #2032: Stream Error. URL:
> https://www.salesforce.com/services/Soap/u/11.0";
>     type = "ioError"
>   timestamp = 0
>   timeToLive = 0
> 
> I am using the dreaded security tokens appended to the passwords and I
> have run this from authorised machines for the accounts in question
> and I still get the above error.  2032 seems to be a generic http
> fault error so the message is deeply uninformative.
> 
> I'm very stuck.  Help!
> 
> As an aside, does anyone have a good recommendation of a tool to watch
> the http messages as they bounce back and forth between flex and a
> server?  SOAP and AMF3?
>


Reply via email to