Can anybody point me to documentation or explanation of just what one needs to put into the endpoint uri parameter in the flex-enterprise-services.xml file?

I think I am close to getting the phones example running.  I can get the Flex frame work to run, I can see the container in the browser.

But, the ColdFusion connector does not seem to be working.  I get the following error.

Error: faultCode:Client.Error.MessageSend faultString:'Send failed' faultDetail:'Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Failed'
      at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faultHandler()
      at flash.events::EventDispatcher/dispatchEvent()
      at mx.messaging::MessageAgent/fault()
      at mx.messaging::Producer/fault()
      at mx.messaging::ChannelSet/::faultPendingSends()
      at mx.messaging::ChannelSet/handleChannelFault()
      at flash.events::EventDispatcher/dispatchEvent()
      at mx.messaging::Channel/mx.messaging:Channel::connectFailed()
      at mx.messaging.channels::NetConnectionChannel/mx.messaging.channels:NetConnectionChannel::connectFailed()
      at mx.messaging.channels::AMFChannel/mx.messaging.channels:AMFChannel::statusHandler()

Seeing the messages about the AMFChannel apparently failing, I presume the problem is that I do not have the correct parameter in the flex-enterprise-services.xml file.

My system:
Win 2000 server.
IIS 5
ColdFusion MX 7.01 Multi-server configuration.

I have a website named "ian-flex" defined in IIS pointed to the directory C:\websites\flex.  My hosts file is configured to return this directory for the host header of "http://ian-flex".  The Phones application is installed into this directory.  The website is configured to run under the CF instance of "Playground".

I have tried many combinations of values for the URI parameter for this line in the C:\JRun4\servers\playground\cfusion.ear\cfusion.war\WEB-INF\flex\flex-enterprise-services.xml file.

<endpoint uri="http"//ian-flex{context.root}/flex2gateway/" class="flex.messaging.endpoints.AMFEndpoint"/>

TIA

--------------
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

---------
| 1 |   |
---------  Binary Soduko
|   |   |
---------

"C code. C code run. Run code run. Please!"
- Cynthia Dunning

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message.




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




--- Begin Message ---
I am trying to install the new Flex 2 Beta 2 application in order to test it 
out and see what I can do with combining it with Cold Fusion.  To get started, 
I am trying to get the phones example up and running.

My system:
Windows Server 2000.
CFMX 7 Enterprise in Multi-home configuration.
(Mystic Beta 2 installed, I believe)
Flex 2 Builder Beta 2 installed.

I have created an IIS virtual website on my workstation server named "Flex" 
with its home directory of C:\WebSites\Flex.  I connected this website to a 
ColdFusion instance called "Playground".  I have confirmed that the website is 
properly running HTML and CFML.

I then installed the phones example code into the Flex home directory and 
tested the ColdFusion part. Thus I have the following directories.

C:\WebSites\Flex\Phones\CF
C:\WebSites\Flex\Phones\Flex

All this seemed to go find and dandy.  But when I open Flex Builder and try to 
define the phones project I run into trouble.  I select File -> New -> Flex 
Project.  I select the "ColdFusion Flash Remoting Service" option and Next.  

I then get the following error. "Server root is invalid. Could not locate 
flex-config.xml or flex-enterprise-services.xml."  I am not sure what I am 
supposed to do here.  I have many copies of both of these files.  I have tried 
"C:\JRun4\servers\playground\cfusion.ear\cfusion.war\WEB-INF\flex" which I know 
contains a "flex-enterprise-services.xml" file.  And 
"C:\JRun4\servers\playground\cfusion.ear\cfusion.war\WEB-INF\cfform" which I 
know contains a flex-config.xml" file.  Neither of these or anything like them 
have worked.  

What can I do to get my system configured and running?

TIA
Ian Skinner




--------------
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

---------
| 1 |   |
---------  Binary Soduko
|   |   |
---------
 
"C code. C code run. Run code run. Please!"
- Cynthia Dunning

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 




------------------------ Yahoo! Groups Sponsor --------------------~--> 
You can search right from your browser? Its easy and its free.  See how.
http://us.click.yahoo.com/_7bhrC/NGxNAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links



 



--- End Message ---

Reply via email to