Hi Peter,
Thanks for your response!
in the line:
Do you mean that I should change it to:
I did try to view
http://localhost/flex2gateway/
no such luck.
Thanks so much for your help. I can't look at this anymore tonight, almost 3 in
the morning, need sleep.
Hopefully, tomorrow I will have better luck. I really want to get this working,
and it is all I have planned for the weekend!
I didn't think that it wold be so hard.
Thanks again for all your help, I really appreciate it very much,
John
- Original Message
From: Peter Farland [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Saturday, March 24, 2007 2:22:12 AM
Subject: RE: [flexcoders] services file
Try, http://localhost/ flex2gateway/ and
note the trailing slash. This is an issue in FDS 2.0.1 / CF 7.0.2 that
will be fixed in the next version.
From: [EMAIL PROTECTED] ups.com
[mailto:flexcoders@ yahoogroups. com] On Behalf Of John
Barrett
Sent: Saturday, March 24, 2007 7:51 AM
To:
[EMAIL PROTECTED] ups.com
Subject: [flexcoders] services
file
Hi,
I am trying to get Flex and ColdFusion to talk to each
other, but I
can't seem to get it done. Currently, I
am not using Flex Builder, but I am
planning to get it
Monday, as I just got my check today, sometimes
being
is student you have to wait.
I think that the problem may be in
that I get a 500
null error from the
http://localhost/ flex2gateway
Here
is my services-conffig. xml file, is this correct,
or do I need to add
something? I can't seem to get
this working, Is it really this
hard?
?xml version=1.0
encoding=UTF- 8?
services-config
services
service
id=coldfusion- flashremoting- service
class=flex. messaging. services. RemotingService
messageTypes= flex.messaging. messages. RemotingMessage
adapters
adapter-definition
id=cf-object
class=coldfusion. flash.messaging. ColdFusionAdapte r
default=true /
/adapters
destination
id=ColdFusion
channels
channel
ref=my-cfamf /
/channels
properties
source*/source
!--
define the resolution rules
and access level of the cfc being invoked
--
access
!-- Use the ColdFusion
mappings to find CFCs,
by default only CFC files under
your webroot can be found.
--
use-mappings false/use- mappings
!--
allow public and remote
or just remote methods to be invoked
--
method-access- levelremote /method-access- level
/access
property-case
!--
cfc property names
--
force-cfc-lowercas efalse/ force-cfc- lowercase
!--
Query column names
--
force-query- lowercase false/force- query-lowercase
!--
struct keys
--
force-struct- lowercase false/force- struct-lowercase
/property-case
/properties
/destination
/service
/services
channels
channel-definition
id=my-cfamf
class=mx.messaging .channels. AMFChannel
endpoint
uri=http:// {server.name} :{server. port}{context. root}/flex2gatew ay/
class=flex. messaging. endpoints. AMFEndpoint /
properties
polling-enabled false/polling- enabled
serialization
instantiate- typesfalse /instantiate- types
/serialization
/properties
/channel-definitio n
/channels
logging
target
class=flex. messaging. log.ConsoleTarge t
level=Error
properties
prefix[Flex]
/prefix
includeDate false/includeDa te
includeTime false/includeTi me
includeLevel false/includeLe vel
includeCategory false/includeCa tegory
/properties
filters
patternEndpoint. */pattern
patternService. */pattern
patternConfigurat ion/pattern
patternMessage. */pattern
/filters
/target
/logging
system
/system
/services-config
_ _ _ _ _ _
Sucker-punch
spam with award-winning protection.
Try the free Yahoo! Mail Beta.
http://advision. webevents. yahoo.com/ mailbeta/ features_ spam.html
!--
#ygrp-mlmsg {font-size:13px;font-family:arial, helvetica, clean, sans-serif;}
#ygrp-mlmsg table {font-size:inherit;font:100%;}
#ygrp-mlmsg select, input, textarea {font:99% arial, helvetica, clean,
sans-serif;}
#ygrp-mlmsg pre, code {font:115% monospace;}
#ygrp-mlmsg * {line-height:1.22em;}
#ygrp-text{
font-family:Georgia;
}
#ygrp-text p{
margin:0 0 1em 0;}
#ygrp-tpmsgs{
font-family:Arial;
clear:both;}
#ygrp-vitnav{
padding-top:10px;font-family:Verdana;font-size:77%;margin:0;}
#ygrp-vitnav a{
padding:0 1px;}
#ygrp-actbar{
clear:both;margin:25px 0;white-space:nowrap;color:#666;text-align:right;}
#ygrp-actbar .left{
float:left;white-space:nowrap;}
.bld{font-weight:bold;}
#ygrp-grft{
font-family:Verdana;font-size:77%;padding:15px 0;}
#ygrp-ft{
font-family:verdana;font-size:77%;border-top:1px solid #666;
padding:5px 0;
}
#ygrp-mlmsg #logo{
padding-bottom:10px;}
#ygrp-vital{
background-color:#e0ecee;margin-bottom:20px;padding:2px 0 8px 8px;}
#ygrp-vital #vithd{
font-size:77%;font-family:Verdana;font-weight:bold;color:#333;text-transform:uppercase;}
#ygrp-vital ul{
padding:0;margin:2px 0;}
#ygrp-vital ul li{
list-style-type:none;clear:both;border:1px solid #e0ecee;
}
#ygrp-vital ul li .ct{
font-weight:bold;color:#ff7900