Re: [flexcoders] Web Services and CF7

2005-05-19 Thread dave buhler



from: http://forta.com/blog/index.cfm?mode=ccatid=11



		
		

		Using Flash Remoting With CFMX7? Watch Out For This One I mentioned this in a comment on a prior post
,
but it is important enough to warrant its own mention. If you are using
Flash Remoting to access ColdFusion code, you may run into an issue in
which ColdFusion could construct an invalid URL when appending a
jsessionid. If this occurs the web server via which you are accessing
your code could throw errors. The solution is simply, just add a ? To
the end of the gateway URL, change /flashservices/gateway to
/flashservices/gateway?, doing so ensures that the URL will be created
correctly. This issue was discovered by our tech support folks, and I
believe they'll be posting a TechNote on it shortly. 





CFC Results Via AMF And Case Inconsistencies

I just spent a long time troubleshooting a Flex ColdFusion connectivity
issue, and now that we've figured out what was going on I am sharing
this in case it bites anyone else.
There are
two basic ways for Flex to invoke back-end ColdFusion CFCs, SOAP (Web
Services) or AMF (Flash Remoting). My app had been using SOAP, but I
needed to convert to AMF (the performance difference is significant).
Last year Brandon Purcell wrote an excellent blog entry entitled Switching between webservices and Flash Remoting using Flex
,
and so I used his steps to make the switch. As he notes in that entry,
ColdFusion variables returned via SOAP have their names converted to
uppercase, whereas variables returned via AMF retain their original
case, and so any binding code (or Flex code referencing returned data)
needs to be converted from all caps to actual case.
The
converted code worked perfectly for CFC methods returning queries, they
ran exactly as they did before, just a whole lot quicker. But my CFC
methods returning structures all failed, none of my bindings and
client-side code worked.
The problem?
Waldo Smeets figured this one out, unlike returned queries, returned
structure members are all caps, even when using AMF. This is horribly
inconsistent, and hopefully it'll be fixed in the future. For now, keep
this in mind. 








Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










Re: [flexcoders] Web Services and CF7

2005-05-19 Thread Indy Nagpal
Hi Ted:

I agree with Andrew totally. Using remoteobject to invoke the cfc on
the server is a much more efficient. I've been using remoteobject to
access cfc and it works beautifully.

A question for you: Are you going to be running cf7 and flex on the
same jrun instance?

If you are, keep in mind the following:

1. Remove the flash remoting gateway that is installed by default with
cf7 (through jrun admin).

2. Make sure that in the flex-config.xml, you have the following value
setup for the amf-gateway (under remote-object node).

amf-gateway{context.root}/amfgateway/amf-gateway

3. When calling the remote object (cfc), make sure to add the correct
endpoint (in the example code below). So, for example, if you were
going to call a cfc called foo with the path myfolder/folder/foo.cfc,
you'd use the following call:

mx:RemoteObject id=myService source=myfolder.folder.foo
endpoint=@ContextRoot()/flashservices/gateway
/mx:RemoteObject

Hope this helps.

Indy

On 5/19/05, Andrew Muller [EMAIL PROTECTED] wrote:
 Ted
 
 Is there any reason, since you're using CF7, why you wouldn't connect
 from Flex via Flash Remoting instead of Web Services, you'd be
 consuming the same CFC presumably and the data should be much less
 verbose...
 
 
 Andrew
 
 Andrew Muller
 Partner, RocketBoots
 http://www.rocketboots.com.au
 
 On 5/19/05, Theodore E Patrick [EMAIL PROTECTED] wrote:
   I am looking at using CF7 and CFC web services with Flex 1.5. I understand
   that some have seen issues with using these two togther or was this limited
   to CF6?
 
   Can anyone highlight the issue for me?
 
   Any help would be most appreciated.
 
   Cheers,
 
   Ted Patrick
 
 
   
   Yahoo! Groups Links
 
  To visit your group on the web, go to:
  http://groups.yahoo.com/group/flexcoders/
 
  To unsubscribe from this group, send an email to:
  [EMAIL PROTECTED]
 
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
 
 
 
 Yahoo! Groups Links
 
 
 
 
 
 



 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: [flexcoders] Web Services and CF7

2005-05-19 Thread Indy Nagpal
Ted, I just found another reason why I'd prefer remoteobject over webservices.

If a cfc extends another component, you cannot access the inherited
functions when using webservices. You will have specifically write
functions in the cfc you are calling to expsore the inherited
functions.

However, when you use remoteobject to access a cfc, you can access
inherited functions without needing to expose them..

Indy

On 5/19/05, Indy Nagpal [EMAIL PROTECTED] wrote:
 Hi Ted:
 
 I agree with Andrew totally. Using remoteobject to invoke the cfc on
 the server is a much more efficient. I've been using remoteobject to
 access cfc and it works beautifully.
 
 A question for you: Are you going to be running cf7 and flex on the
 same jrun instance?
 
 If you are, keep in mind the following:
 
 1. Remove the flash remoting gateway that is installed by default with
 cf7 (through jrun admin).
 
 2. Make sure that in the flex-config.xml, you have the following value
 setup for the amf-gateway (under remote-object node).
 
 amf-gateway{context.root}/amfgateway/amf-gateway
 
 3. When calling the remote object (cfc), make sure to add the correct
 endpoint (in the example code below). So, for example, if you were
 going to call a cfc called foo with the path myfolder/folder/foo.cfc,
 you'd use the following call:
 
 mx:RemoteObject id=myService source=myfolder.folder.foo
 endpoint=@ContextRoot()/flashservices/gateway
 /mx:RemoteObject
 
 Hope this helps.
 
 Indy
 
 On 5/19/05, Andrew Muller [EMAIL PROTECTED] wrote:
  Ted
 
  Is there any reason, since you're using CF7, why you wouldn't connect
  from Flex via Flash Remoting instead of Web Services, you'd be
  consuming the same CFC presumably and the data should be much less
  verbose...
 
 
  Andrew
 
  Andrew Muller
  Partner, RocketBoots
  http://www.rocketboots.com.au
 
  On 5/19/05, Theodore E Patrick [EMAIL PROTECTED] wrote:
I am looking at using CF7 and CFC web services with Flex 1.5. I 
   understand
that some have seen issues with using these two togther or was this 
   limited
to CF6?
  
Can anyone highlight the issue for me?
  
Any help would be most appreciated.
  
Cheers,
  
Ted Patrick
  
  

Yahoo! Groups Links
  
   To visit your group on the web, go to:
   http://groups.yahoo.com/group/flexcoders/
  
   To unsubscribe from this group, send an email to:
   [EMAIL PROTECTED]
  
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
 
 
 
  Yahoo! Groups Links
 
 
 
 
 
 
 



 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




RE: [flexcoders] Web Services and CF7

2005-05-19 Thread Theodore E Patrick
Anything goes really, I return numbers, string, bools, arrays, objects and
combinations of all the above depending on what is needed. In the use cases
we are using this data service for:

Search
Directory
Articles
Ecommerce
Personalization

The requests and responses are all different but we want a common way to
develop them to completion. We would like a productive language like CF but
it has to work in all cases.

The fallback here is to just use Apache Axis with Java classes on the server
side although I would prefer something simple and easy to change like CFC's.

Cheers,

Ted ;) 



 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Andrew Muller
 Sent: Thursday, May 19, 2005 1:05 AM
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] Web Services and CF7
 
 So, silly question, how are you structuring/formatting the data that
 you're returning from your webservice, something like arrays of
 objects or is it CF query result sets?
 
 Andrew
 
 On 5/19/05, Theodore E Patrick [EMAIL PROTECTED] wrote:
   Remoting is great but it has a core limitation of one request at a time
 due
   the way AMF was implemented in the player. This is not the case with
   WebService calls as each request gets its own XML object and its own
  request
   socket. Even though the payload might be larger and the parsing takes
   longer, I want to avoid the issue of having remoting lock-up the AMF
 pipe
  on
   a long running request. Call me paranoid. ;)
 
   The issue that I had heard about was that Flex 1.5 has trouble
 digesting
  CFC
   web services due to certain xml usage. I wanted to make sure that Flex
 1.5
   and CF7 had compatible SOAP formats. I know it sound ridiculous but I
 have
   heard firsthand of some problems with compatibility of these two.
 
   Cheers,
 
   Ted ;)
 
 
 
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
 On
Behalf Of Andrew Muller
Sent: Wednesday, May 18, 2005 9:57 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Web Services and CF7
   
Ted
   
Is there any reason, since you're using CF7, why you wouldn't connect
from Flex via Flash Remoting instead of Web Services, you'd be
consuming the same CFC presumably and the data should be much less
verbose...
   
   
Andrew
   
Andrew Muller
Partner, RocketBoots
http://www.rocketboots.com.au
   
On 5/19/05, Theodore E Patrick [EMAIL PROTECTED] wrote:
  I am looking at using CF7 and CFC web services with Flex 1.5. I
understand
  that some have seen issues with using these two togther or was
 this
limited
  to CF6?

  Can anyone highlight the issue for me?

  Any help would be most appreciated.

  Cheers,

  Ted Patrick


  
  Yahoo! Groups Links

 To visit your group on the web, go to:
 http://groups.yahoo.com/group/flexcoders/

 To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED]

 Your use of Yahoo! Groups is subject to the Yahoo! Terms of
 Service.
   
   
   
Yahoo! Groups Links
   
   
   
   
 
 
 
   
   Yahoo! Groups Links
 
  To visit your group on the web, go to:
  http://groups.yahoo.com/group/flexcoders/
 
  To unsubscribe from this group, send an email to:
  [EMAIL PROTECTED]
 
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
 
 
 
 Yahoo! Groups Links
 
 
 
 




 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




RE: [flexcoders] Web Services and CF7

2005-05-19 Thread Theodore E Patrick










Dave,



Awesome, thanks for these! I completely
forgot to check Bens blog. These are invaluable.



10 Points to Dave!



Thanks,



Ted ;)













From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of dave buhler
Sent: Thursday, May 19, 2005 2:20
AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Web
Services and CF7





from: http://forta.com/blog/index.cfm?mode=ccatid=11




 
  
  
  
  
  Using Flash Remoting
  With CFMX7? Watch Out For This One
  I mentioned this in a comment on
  a prior post , but it is important enough to warrant its own mention. If
  you are using Flash Remoting to access ColdFusion code, you may run into an
  issue in which ColdFusion could construct an invalid URL when appending a
  jsessionid. If this occurs the web server via which you are accessing your
  code could throw errors. The solution is simply, just add a ? To the end of
  the gateway URL, change /flashservices/gateway to /flashservices/gateway?,
  doing so ensures that the URL will be created correctly. This issue was
  discovered by our tech support folks, and I believe they'll be posting a
  TechNote on it shortly. 
  
 








CFC Results Via AMF And Case Inconsistencies
I just spent a long time troubleshooting a Flex ColdFusion
connectivity issue, and now that we've figured out what was going on I am
sharing this in case it bites anyone else. 

There are two basic ways for Flex to invoke back-end
ColdFusion CFCs, SOAP (Web Services) or AMF (Flash Remoting). My app had been
using SOAP, but I needed to convert to AMF (the performance difference is
significant).

Last year Brandon Purcell wrote an excellent blog entry
entitled Switching between webservices and Flash Remoting using Flex , and
so I used his steps to make the switch. As he notes in that entry, ColdFusion
variables returned via SOAP have their names converted to uppercase, whereas
variables returned via AMF retain their original case, and so any binding code
(or Flex code referencing returned data) needs to be converted from all caps to
actual case.

The converted code worked perfectly for CFC methods
returning queries, they ran exactly as they did before, just a whole lot
quicker. But my CFC methods returning structures all failed, none of my
bindings and client-side code worked.

The problem? Waldo Smeets figured
this one out, unlike returned queries, returned structure members are all caps,
even when using AMF. This is horribly inconsistent, and hopefully it'll be
fixed in the future. For now, keep this in mind. 










Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.












RE: [flexcoders] Web Services and CF7

2005-05-19 Thread Peter Farland





Some more detailed information on this - the issue is 
that the IIS connector doesn't handle the ;jsessionid token in URLs unless it 
appears after the query string.The J2EEservlet spec does not specify 
that this token has to appear after the ?symbol and thus manyother 
app servers handle it just fine.How this arises in the first place for 
remoting requests is that the CF bridge to the Flash Remoting gateway asks the 
servlet response to encode the URL and checks to see if it was decorated with a 
;jsessionid token (it would do so if it thought the client couldn't handle 
cookies). e.g. http://www.yourserver.com/yourapp/flashservices/gateway;jsessionid=

If the encoded URL did include a ;jessionid then an AMF 
response header is sent back to the NetServices client to tell it to append the 
;jsessionid token to the gateway URL on the next request. You can see this 
AppendToGatewayUrl response header in the NCD.


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Theodore E 
PatrickSent: Thursday, May 19, 2005 7:58 AMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Web Services and 
CF7


Dave,

Awesome, thanks for 
these! I completely forgot to check Bens blog. These are 
invaluable.

10 Points to 
Dave!

Thanks,

Ted 
;)






From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of dave buhlerSent: Thursday, May 19, 2005 2:20 
AMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Web Services and 
CF7

from: http://forta.com/blog/index.cfm?mode=ccatid=11


  
  

  

  Using Flash 
  Remoting With CFMX7? Watch Out For This OneI mentioned this in a comment 
  on a prior post , but it is important enough to warrant its own 
  mention. If you are using Flash Remoting to access ColdFusion code, you 
  may run into an issue in which ColdFusion could construct an invalid URL 
  when appending a jsessionid. If this occurs the web server via which you 
  are accessing your code could throw errors. The solution is simply, just 
  add a ? To the end of the gateway URL, change /flashservices/gateway to 
  /flashservices/gateway?, doing so ensures that the URL will be created 
  correctly. This issue was discovered by our tech support folks, and I 
  believe they'll be posting a TechNote on it shortly. 
  
CFC 
Results Via AMF And Case InconsistenciesI just spent a long time 
troubleshooting a Flex ColdFusion connectivity issue, and now that we've figured 
out what was going on I am sharing this in case it bites anyone 
else. 
There are two basic ways for Flex to 
invoke back-end ColdFusion CFCs, SOAP (Web Services) or AMF (Flash Remoting). My 
app had been using SOAP, but I needed to convert to AMF (the performance 
difference is significant).
Last year Brandon Purcell wrote an 
excellent blog entry entitled Switching between webservices and Flash Remoting using Flex , and 
so I used his steps to make the switch. As he notes in that entry, ColdFusion 
variables returned via SOAP have their names converted to uppercase, whereas 
variables returned via AMF retain their original case, and so any binding code 
(or Flex code referencing returned data) needs to be converted from all caps to 
actual case.
The converted code worked perfectly 
for CFC methods returning queries, they ran exactly as they did before, just a 
whole lot quicker. But my CFC methods returning structures all failed, none of 
my bindings and client-side code worked.
The problem? Waldo Smeets figured 
this one out, unlike returned queries, returned structure members are all caps, 
even when using AMF. This is horribly inconsistent, and hopefully it'll be fixed 
in the future. For now, keep this in mind. 







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










Re: [flexcoders] Web Services and CF7

2005-05-19 Thread Thijs Triemstra | Collab


thanks for that updater link, dave. That .jar updater in the cfmx admin is very nice but cannot be installed with firefox (osx 10.4.1), I can't select select the updater from the java filebrowser thing, safari works fine though :-/is there a way to get a notification when there is an macromedia updates for jrun, cfmx, flashcom etc.. ? something like macromedia.com/go/update?ThijsOp 19-mei-2005, om 15:51 heeft Dave Carabetta het volgende geschreven:It should be noted that the most recent CFMX 7 hotfix rollup releasedon 4/21 has resolved this issue:http://www.macromedia.com/go/fd71533Regards,Dave.







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










Re: [flexcoders] Web Services and CF7

2005-05-19 Thread Dave Carabetta
On 5/19/05, Thijs Triemstra | Collab [EMAIL PROTECTED] wrote:
  thanks for that updater link, dave. That .jar updater in the cfmx admin is
 very nice but cannot be installed with firefox (osx 10.4.1), I can't select
 select the updater from the java filebrowser thing, safari works fine though
 :-/
 
 is there a way to get a notification when there is an macromedia updates for
 jrun, cfmx, flashcom etc.. ? something like macromedia.com/go/update?
 

I'm not sure about an e-mail notification, but I'm a big blog reader,
and they have a ColdFusion Notifications feed at:

http://www.macromedia.com/go/rss_coldfusion

If you're a ColdFusion user, you'll also be interested to know that
they just released updated JDBC drivers for all versions of MX that
they highly recommend people upgrade to:

http://www.macromedia.com/go/1a3c2ad0

Note that the drivers were release *after* the hotfix rollup, so
you'll need to install the drivers as a separate step afterwards.

Regards,
Dave.


 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




RE: [flexcoders] Web Services and CF7

2005-05-19 Thread Peter Farland

Remoting is great but it has a core limitation of one request at a time
due
the way AMF was implemented in the player. 

[Pete] You can simply create a new connection for each RemoteObject by
either re-connecting by calling connect on the connection property of
the RO or by using a distinct endpoint URI for each RemoteObject.


The issue that I had heard about was that Flex 1.5 has trouble digesting
CFC
web services due to certain xml usage. I wanted to make sure that Flex
1.5
and CF7 had compatible SOAP formats. I know it sound ridiculous but I
have
heard firsthand of some problems with compatibility of these two.

[Pete] Can you list any sources of this uncertainty? Any details as to
which CF types the WebServices client library in Flex had difficulty
with? If you discover any they need to be logged as bugs so we can fix
them for the next release!!


 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: [flexcoders] Web Services and CF7

2005-05-19 Thread Andrew Muller
Ted, although you do mention search you don't specifically mention CF
query result sets.

One thing that I'd like to mention for the benefit of others using
Flex and ColdFusion is that while CF can return query result sets via
Remoting and Web Services this is not a native object/data type in the
Flash player, and consequently Flex.

While the Flash player can process this via the Remoting and Web
Services APIs it's time consuming as the data is being converted into
something native first.

You're better off to return arrays of objects (CF structures) instead,
I don' t have the figures but I know that there is a dramatic
performance difference, particularly for large sets of data.

Andrew

Andrew Muller
Partner, RocketBoots
http://www.rocketboots.com.au


On 5/19/05, Theodore E Patrick [EMAIL PROTECTED] wrote:
  Anything goes really, I return numbers, string, bools, arrays, objects and
  combinations of all the above depending on what is needed. In the use cases
  we are using this data service for:
  
  Search
  Directory
  Articles
  Ecommerce
  Personalization
  
  The requests and responses are all different but we want a common way to
  develop them to completion. We would like a productive language like CF but
  it has to work in all cases.
  
  The fallback here is to just use Apache Axis with Java classes on the
 server
  side although I would prefer something simple and easy to change like
 CFC's.
  
  Cheers,
  
  Ted ;) 
  
  
  
   -Original Message-
   From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
   Behalf Of Andrew Muller
   Sent: Thursday, May 19, 2005 1:05 AM
   To: flexcoders@yahoogroups.com
   Subject: Re: [flexcoders] Web Services and CF7
   
   So, silly question, how are you structuring/formatting the data that
   you're returning from your webservice, something like arrays of
   objects or is it CF query result sets?
   
   Andrew
   
   On 5/19/05, Theodore E Patrick [EMAIL PROTECTED] wrote:
 Remoting is great but it has a core limitation of one request at a
 time
   due
 the way AMF was implemented in the player. This is not the case with
 WebService calls as each request gets its own XML object and its own
request
 socket. Even though the payload might be larger and the parsing takes
 longer, I want to avoid the issue of having remoting lock-up the AMF
   pipe
on
 a long running request. Call me paranoid. ;)
   
 The issue that I had heard about was that Flex 1.5 has trouble
   digesting
CFC
 web services due to certain xml usage. I wanted to make sure that Flex
   1.5
 and CF7 had compatible SOAP formats. I know it sound ridiculous but I
   have
 heard firsthand of some problems with compatibility of these two.
   
 Cheers,
   
 Ted ;)
   
   
   
  -Original Message-
  From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
   On
  Behalf Of Andrew Muller
  Sent: Wednesday, May 18, 2005 9:57 PM
  To: flexcoders@yahoogroups.com
  Subject: Re: [flexcoders] Web Services and CF7
 
  Ted
 
  Is there any reason, since you're using CF7, why you wouldn't
 connect
  from Flex via Flash Remoting instead of Web Services, you'd be
  consuming the same CFC presumably and the data should be much less
  verbose...
 
 
  Andrew
 
  Andrew Muller
  Partner, RocketBoots
  http://www.rocketboots.com.au
 
  On 5/19/05, Theodore E Patrick [EMAIL PROTECTED] wrote:
I am looking at using CF7 and CFC web services with Flex 1.5. I
  understand
that some have seen issues with using these two togther or was
   this
  limited
to CF6?
  
Can anyone highlight the issue for me?
  
Any help would be most appreciated.
  
Cheers,
  
Ted Patrick
  
  

Yahoo! Groups Links
  
   To visit your group on the web, go to:
   http://groups.yahoo.com/group/flexcoders/
  
   To unsubscribe from this group, send an email to:
   [EMAIL PROTECTED]
  
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of
   Service.
 
 
 
  Yahoo! Groups Links
 
 
 
 
   
   
   
 
 Yahoo! Groups Links
   
To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
   
To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
   
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
   
   
   
   Yahoo! Groups Links
   
   
   
   
  
  
  
  
  
  Yahoo! Groups Links
  
 To visit your group on the web, go to:
 http://groups.yahoo.com/group/flexcoders/
   
 To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED]
   
 Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.


 
Yahoo! Groups Links

Re: [flexcoders] Web Services and CF7

2005-05-18 Thread Tarik Ahmed
These may be of use:

http://www.cflex.net/showfiledetails.cfm?ObjectID=177
http://www.cflex.net/showfiledetails.cfm?ObjectID=141


Theodore E Patrick wrote:

I am looking at using CF7 and CFC web services with Flex 1.5. I understand
that some have seen issues with using these two togther or was this limited
to CF6?

Can anyone highlight the issue for me?

Any help would be most appreciated.

Cheers,

Ted Patrick



 
Yahoo! Groups Links



 



  






 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: [flexcoders] Web Services and CF7

2005-05-18 Thread Andrew Muller
Ted

Is there any reason, since you're using CF7, why you wouldn't connect
from Flex via Flash Remoting instead of Web Services, you'd be
consuming the same CFC presumably and the data should be much less
verbose...


Andrew

Andrew Muller
Partner, RocketBoots
http://www.rocketboots.com.au

On 5/19/05, Theodore E Patrick [EMAIL PROTECTED] wrote:
  I am looking at using CF7 and CFC web services with Flex 1.5. I understand
  that some have seen issues with using these two togther or was this limited
  to CF6?
  
  Can anyone highlight the issue for me?
  
  Any help would be most appreciated.
  
  Cheers,
  
  Ted Patrick
  
  
  
  Yahoo! Groups Links
  
 To visit your group on the web, go to:
 http://groups.yahoo.com/group/flexcoders/
   
 To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED]
   
 Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.


 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




RE: [flexcoders] Web Services and CF7

2005-05-18 Thread Theodore E Patrick
Remoting is great but it has a core limitation of one request at a time due
the way AMF was implemented in the player. This is not the case with
WebService calls as each request gets its own XML object and its own request
socket. Even though the payload might be larger and the parsing takes
longer, I want to avoid the issue of having remoting lock-up the AMF pipe on
a long running request. Call me paranoid. ;) 

The issue that I had heard about was that Flex 1.5 has trouble digesting CFC
web services due to certain xml usage. I wanted to make sure that Flex 1.5
and CF7 had compatible SOAP formats. I know it sound ridiculous but I have
heard firsthand of some problems with compatibility of these two.

Cheers,

Ted ;)


 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Andrew Muller
 Sent: Wednesday, May 18, 2005 9:57 PM
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] Web Services and CF7
 
 Ted
 
 Is there any reason, since you're using CF7, why you wouldn't connect
 from Flex via Flash Remoting instead of Web Services, you'd be
 consuming the same CFC presumably and the data should be much less
 verbose...
 
 
 Andrew
 
 Andrew Muller
 Partner, RocketBoots
 http://www.rocketboots.com.au
 
 On 5/19/05, Theodore E Patrick [EMAIL PROTECTED] wrote:
   I am looking at using CF7 and CFC web services with Flex 1.5. I
 understand
   that some have seen issues with using these two togther or was this
 limited
   to CF6?
 
   Can anyone highlight the issue for me?
 
   Any help would be most appreciated.
 
   Cheers,
 
   Ted Patrick
 
 
   
   Yahoo! Groups Links
 
  To visit your group on the web, go to:
  http://groups.yahoo.com/group/flexcoders/
 
  To unsubscribe from this group, send an email to:
  [EMAIL PROTECTED]
 
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
 
 
 
 Yahoo! Groups Links
 
 
 
 




 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: [flexcoders] Web Services and CF7

2005-05-18 Thread Andrew Muller
So, silly question, how are you structuring/formatting the data that
you're returning from your webservice, something like arrays of
objects or is it CF query result sets?

Andrew

On 5/19/05, Theodore E Patrick [EMAIL PROTECTED] wrote:
  Remoting is great but it has a core limitation of one request at a time due
  the way AMF was implemented in the player. This is not the case with
  WebService calls as each request gets its own XML object and its own
 request
  socket. Even though the payload might be larger and the parsing takes
  longer, I want to avoid the issue of having remoting lock-up the AMF pipe
 on
  a long running request. Call me paranoid. ;) 
  
  The issue that I had heard about was that Flex 1.5 has trouble digesting
 CFC
  web services due to certain xml usage. I wanted to make sure that Flex 1.5
  and CF7 had compatible SOAP formats. I know it sound ridiculous but I have
  heard firsthand of some problems with compatibility of these two.
  
  Cheers,
  
  Ted ;)
 
  
  
   -Original Message-
   From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
   Behalf Of Andrew Muller
   Sent: Wednesday, May 18, 2005 9:57 PM
   To: flexcoders@yahoogroups.com
   Subject: Re: [flexcoders] Web Services and CF7
   
   Ted
   
   Is there any reason, since you're using CF7, why you wouldn't connect
   from Flex via Flash Remoting instead of Web Services, you'd be
   consuming the same CFC presumably and the data should be much less
   verbose...
   
   
   Andrew
   
   Andrew Muller
   Partner, RocketBoots
   http://www.rocketboots.com.au
   
   On 5/19/05, Theodore E Patrick [EMAIL PROTECTED] wrote:
 I am looking at using CF7 and CFC web services with Flex 1.5. I
   understand
 that some have seen issues with using these two togther or was this
   limited
 to CF6?
   
 Can anyone highlight the issue for me?
   
 Any help would be most appreciated.
   
 Cheers,
   
 Ted Patrick
   
   
 
 Yahoo! Groups Links
   
To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
   
To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
   
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
   
   
   
   Yahoo! Groups Links
   
   
   
   
  
  
  
  
  Yahoo! Groups Links
  
 To visit your group on the web, go to:
 http://groups.yahoo.com/group/flexcoders/
   
 To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED]
   
 Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.


 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/