• MattFS218
  • NEWBIE
  • 25 Points
  • Member since 2009

  • Chatter
    Feed
  • 1
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 1
    Replies

I've built an app that utilizes salesforce, it's an application for cold calling, so it must interface with my external server to initiate telephone calls--however the application (flex), and all database storage is done natively on the force.com platform, and will be hosted in the cloud. The only item I must access an external server for is initiating a telephone call. No user data, or records are ever sent to my servers, just the phone number to inititate a call to. Would I get away with declaring this as a Native app? I'm a small startup, and at this point, paying $5,000 for a security review would be out of the question.

 

Thanks.

--matt

www.hellohunter.com 

I'm havine issues getting the Flex Hello World example working. I recieve a login fault, but I've entered the username and password correctly. Also for some reason, upon executing in debug mode, it always blocks at  

var lr:LoginRequest = new LoginRequest();

 

as if there's an invisible breakpoint. 

 

The fault response I am getting is

 

[SWF] C:\Users\Matthew\Documents\Flex Builder 3\Sample Sales Force Integration\bin-debug\main.swf - 1,292,278 bytes after decompression
(com.salesforce.events::ApexFaultEvent)#0
  bubbles = false
  cancelable = true
  context = (null)
  currentTarget = (null)
  eventPhase = 2
  fault = (mx.rpc::Fault)#1
    content = ""
    errorID = 0
    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"
    message = "faultCode:Server.Error.Request faultString:'HTTP request error' 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'"
    name = "Error"
    rootCause = (flash.events::IOErrorEvent)#2
      bubbles = false
      cancelable = false
      currentTarget = (flash.net::URLLoader)#3
        bytesLoaded = 0
        bytesTotal = 0
        data = ""
        dataFormat = "text"
      eventPhase = 2
      target = (flash.net::URLLoader)#3
      text = "Error #2032: Stream Error. URL: https://www.salesforce.com/services/Soap/u/11.0"
      type = "ioError"
  headers = (null)
  message = (mx.messaging.messages::ErrorMessage)#4
    body = ""
    clientId = "DirectHTTPChannel0"
    correlationId = "A46F3428-0A65-F43C-D7E6-E1DC03A657A1"
    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)#5
      DSStatusCode = 0
    messageId = "4713F820-2F15-591F-F878-E1DC1092095C"
    rootCause = (flash.events::IOErrorEvent)#2
    timestamp = 0
    timeToLive = 0
  messageId = "4713F820-2F15-591F-F878-E1DC1092095C"
  statusCode = 0
  target = (null)
  token = (mx.rpc::AsyncToken)#6
    message = (mx.messaging.messages::HTTPRequestMessage)#7
      body = "<se:Envelope xmlns:se="http://schemas.xmlsoap.org/soap/envelope/"><se:Header xmlns:sfns="urn:partner.soap.sforce.com"/><se:Body><login xmlns="urn:partner.soap.sforce.com" xmlns:ns1="sobject.partner.soap.sforce.com"><username>matt@hellohunter.com</username><password>REMOVED</password></login></se:Body></se:Envelope>"
      clientId = (null)
      contentType = "text/xml; charset=UTF-8"
      destination = "DefaultHTTP"
      headers = (Object)#8
        DSEndpoint = "direct_http_channel"
      httpHeaders = (Object)#9
        Accept = "text/xml"
        SOAPAction = """"
        X-Salesforce-No-500-SC = "true"
      messageId = "A46F3428-0A65-F43C-D7E6-E1DC03A657A1"
      method = "POST"
      recordHeaders = false
      timestamp = 0
      timeToLive = 0
      url = "https://www.salesforce.com/services/Soap/u/11.0"
    responders = (Array)#10
      [0] (Connection.as$23::SalesForceResponder)#11
    result = (null)
  type = "fault"

 

 

I also tried the samples provided in the SDK file, but those are producing security sandbox violations.

 

It's really fustrating when example apps do not work out of the box. I'm using flex builder 3 with the 3.2 flex SDK and flash player 10. Does anyone have an out of box example I can use?

 

--matt

Message Edited by MattFS218 on 03-30-2009 08:30 PM
I'm havine issues getting the Flex Hello World example working. I recieve a login fault, but I've entered the username and password correctly. Also for some reason, upon executing in debug mode, it always blocks at  

var lr:LoginRequest = new LoginRequest();

 

as if there's an invisible breakpoint. 

 

The fault response I am getting is

 

[SWF] C:\Users\Matthew\Documents\Flex Builder 3\Sample Sales Force Integration\bin-debug\main.swf - 1,292,278 bytes after decompression
(com.salesforce.events::ApexFaultEvent)#0
  bubbles = false
  cancelable = true
  context = (null)
  currentTarget = (null)
  eventPhase = 2
  fault = (mx.rpc::Fault)#1
    content = ""
    errorID = 0
    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"
    message = "faultCode:Server.Error.Request faultString:'HTTP request error' 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'"
    name = "Error"
    rootCause = (flash.events::IOErrorEvent)#2
      bubbles = false
      cancelable = false
      currentTarget = (flash.net::URLLoader)#3
        bytesLoaded = 0
        bytesTotal = 0
        data = ""
        dataFormat = "text"
      eventPhase = 2
      target = (flash.net::URLLoader)#3
      text = "Error #2032: Stream Error. URL: https://www.salesforce.com/services/Soap/u/11.0"
      type = "ioError"
  headers = (null)
  message = (mx.messaging.messages::ErrorMessage)#4
    body = ""
    clientId = "DirectHTTPChannel0"
    correlationId = "A46F3428-0A65-F43C-D7E6-E1DC03A657A1"
    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)#5
      DSStatusCode = 0
    messageId = "4713F820-2F15-591F-F878-E1DC1092095C"
    rootCause = (flash.events::IOErrorEvent)#2
    timestamp = 0
    timeToLive = 0
  messageId = "4713F820-2F15-591F-F878-E1DC1092095C"
  statusCode = 0
  target = (null)
  token = (mx.rpc::AsyncToken)#6
    message = (mx.messaging.messages::HTTPRequestMessage)#7
      body = "<se:Envelope xmlns:se="http://schemas.xmlsoap.org/soap/envelope/"><se:Header xmlns:sfns="urn:partner.soap.sforce.com"/><se:Body><login xmlns="urn:partner.soap.sforce.com" xmlns:ns1="sobject.partner.soap.sforce.com"><username>matt@hellohunter.com</username><password>REMOVED</password></login></se:Body></se:Envelope>"
      clientId = (null)
      contentType = "text/xml; charset=UTF-8"
      destination = "DefaultHTTP"
      headers = (Object)#8
        DSEndpoint = "direct_http_channel"
      httpHeaders = (Object)#9
        Accept = "text/xml"
        SOAPAction = """"
        X-Salesforce-No-500-SC = "true"
      messageId = "A46F3428-0A65-F43C-D7E6-E1DC03A657A1"
      method = "POST"
      recordHeaders = false
      timestamp = 0
      timeToLive = 0
      url = "https://www.salesforce.com/services/Soap/u/11.0"
    responders = (Array)#10
      [0] (Connection.as$23::SalesForceResponder)#11
    result = (null)
  type = "fault"

 

 

I also tried the samples provided in the SDK file, but those are producing security sandbox violations.

 

It's really fustrating when example apps do not work out of the box. I'm using flex builder 3 with the 3.2 flex SDK and flash player 10. Does anyone have an out of box example I can use?

 

--matt

Message Edited by MattFS218 on 03-30-2009 08:30 PM