Re: [flexcoders] Re: problems access a Flex/CF site via a URL

2007-10-22 Thread Tom Chiverton
On Monday 22 Oct 2007, [EMAIL PROTECTED] wrote:
 I've been reading through your comments, thanks for the help. I looked
 on the Livedocs as you mentioned and I saw that there is a
 remoting-config.xml file, so I wondered if that was the cause of the
 problems Im having. THen when I went to the wwwroot/web-inf/flex
 folder there is no remoting-config.xml file, there is only a
 service-config.xml file.

This is a change in CF7 vs. CF8.

-- 
Tom Chiverton. Are you a great Flex programmer, who knows Cairngorm, and has 
done some ColdFusion work ? Would you like to work for a top 30 law firm in 
Manchester, UK ? Are not an agency ? If yes, send email !



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office.  Any reference to a partner in 
relation to Halliwells LLP means a member of Halliwells LLP.  Regulated by The 
Solicitors Regulation Authority.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.


--
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

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] Re: problems access a Flex/CF site via a URL

2007-10-19 Thread Muzak
Added a comment here (awaiting approval):
http://livedocs.adobe.com/flex/2/docs/1099.html



- Original Message - 
From: Tom Chiverton [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Friday, October 19, 2007 10:39 AM
Subject: Re: [flexcoders] Re: problems access a Flex/CF site via a URL


 On Thursday 18 Oct 2007, [EMAIL PROTECTED] wrote:
  and on the server (and that they have to have
  matching destinations)?
 
  Again, I've not checked, but it must be in the docs somewhere.

 It's not..
 
 Find a relevant page on LiveDocs and comment it then, the docs team are great 
 about feedback.
 



--
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

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] Re: problems access a Flex/CF site via a URL

2007-10-19 Thread Tom Chiverton
On Thursday 18 Oct 2007, [EMAIL PROTECTED] wrote:
  and on the server (and that they have to have
  matching destinations)?
 
  Again, I've not checked, but it must be in the docs somewhere.

 It's not..

Find a relevant page on LiveDocs and comment it then, the docs team are great 
about feedback.

-- 
Tom Chiverton. Are you a great Flex programmer, who knows Cairngorm, and has 
done some ColdFusion work ? Would you like to work for a top 30 law firm in 
Manchester, UK ? Are not an agency ? If yes, send email !



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office.  Any reference to a partner in 
relation to Halliwells LLP means a member of Halliwells LLP.  Regulated by The 
Solicitors Regulation Authority.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.


--
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

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] Re: problems access a Flex/CF site via a URL

2007-10-18 Thread Tom Chiverton
On Thursday 18 Oct 2007, [EMAIL PROTECTED] wrote:
 the java.lang.NullPointerException' error message, which I originally
 received. After I made the change I did restart the ColdFusion server.
 Still not sure what's happening?

Did you recompile the application against the new services-config.xml too ?

-- 
Tom Chiverton. Are you a great Flex programmer, who knows Cairngorm, and has 
done some ColdFusion work ? Would you like to work for a top 30 law firm in 
Manchester, UK ? Are not an agency ? If yes, send email !



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office.  Any reference to a partner in 
relation to Halliwells LLP means a member of Halliwells LLP.  Regulated by The 
Solicitors Regulation Authority.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.


--
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

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] Re: problems access a Flex/CF site via a URL

2007-10-18 Thread Tom Chiverton
On Thursday 18 Oct 2007, [EMAIL PROTECTED] wrote:
 PC, but running on another server? Do I have to make both the
 service-config files on both my PC and the server the same and then
 recompile?

Yup.

-- 
Tom Chiverton. Are you a great Flex programmer, who knows Cairngorm, and has 
done some ColdFusion work ? Would you like to work for a top 30 law firm in 
Manchester, UK ? Are not an agency ? If yes, send email !



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office.  Any reference to a partner in 
relation to Halliwells LLP means a member of Halliwells LLP.  Regulated by The 
Solicitors Regulation Authority.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.


--
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

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] Re: problems access a Flex/CF site via a URL

2007-10-18 Thread Muzak
You don't need a config file on your server. The config file is compiled into 
the flex application.
I'm not sure this is still the case with Flex 2.01, but changes to the 
services-config.xml file weren't picked up by FlexBuilder, 
unless you 'touched' the project properties.
So to be sure that the new services-config.xml is getting compiled, make a 
small change to the project properties and apply before 
compiling.

regards,
Muzak

- Original Message - 
From: stephen50232 [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Thursday, October 18, 2007 12:20 PM
Subject: [flexcoders] Re: problems access a Flex/CF site via a URL


No, how do I do this, if the system is built using Flex builder on my
PC, but running on another server? Do I have to make both the
service-config files on both my PC and the server the same and then
recompile?


--- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED]
wrote:

 On Thursday 18 Oct 2007, [EMAIL PROTECTED] wrote:
  the java.lang.NullPointerException' error message, which I originally
  received. After I made the change I did restart the ColdFusion server.
  Still not sure what's happening?

 Did you recompile the application against the new
services-config.xml too ?

 -- 



--
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

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] Re: problems access a Flex/CF site via a URL

2007-10-18 Thread Tom Chiverton
On Thursday 18 Oct 2007, [EMAIL PROTECTED] wrote:
 You don't need a config file on your server.

You do if it's ColdFusion.
The destination names, for instance, must match what you compiled against.

 2.01, but changes to the services-config.xml file weren't picked up by
 FlexBuilder, unless you 'touched' the project properties.

Or do a clean build.

-- 
Tom Chiverton. Are you a great Flex programmer, who knows Cairngorm, and has 
done some ColdFusion work ? Would you like to work for a top 30 law firm in 
Manchester, UK ? Are not an agency ? If yes, send email !



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office.  Any reference to a partner in 
relation to Halliwells LLP means a member of Halliwells LLP.  Regulated by The 
Solicitors Regulation Authority.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.


--
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

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] Re: problems access a Flex/CF site via a URL

2007-10-18 Thread Muzak
So far I've only used the default ColdFusion destination and I guess that's why 
it always works ;-)

Is it documented somewhere that a services-config.xml file is required locally 
(at compile time) and on the server (and that they 
have to have matching destinations)?

regards,
Muzak

- Original Message - 
From: Tom Chiverton [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Thursday, October 18, 2007 1:34 PM
Subject: Re: [flexcoders] Re: problems access a Flex/CF site via a URL


 On Thursday 18 Oct 2007, [EMAIL PROTECTED] wrote:
 You don't need a config file on your server.

 You do if it's ColdFusion.
 The destination names, for instance, must match what you compiled against.

 2.01, but changes to the services-config.xml file weren't picked up by
 FlexBuilder, unless you 'touched' the project properties.

 Or do a clean build.




--
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

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] Re: problems access a Flex/CF site via a URL

2007-10-18 Thread Tom Chiverton
On Thursday 18 Oct 2007, [EMAIL PROTECTED] wrote:
 default ColdFusion destination

We remove that from our production servers because it allows the execution of 
any CFC.

 Is it documented somewhere that a services-config.xml file is required
 locally (at compile time) 

Probably.
The docs for the -service mxmlc argument might help.

 and on the server (and that they have to have 
 matching destinations)?

Again, I've not checked, but it must be in the docs somewhere.

-- 
Tom Chiverton. Are you a great Flex programmer, who knows Cairngorm, and has 
done some ColdFusion work ? Would you like to work for a top 30 law firm in 
Manchester, UK ? Are not an agency ? If yes, send email !



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office.  Any reference to a partner in 
relation to Halliwells LLP means a member of Halliwells LLP.  Regulated by The 
Solicitors Regulation Authority.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.


--
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

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] Re: problems access a Flex/CF site via a URL

2007-10-18 Thread Muzak

 default ColdFusion destination
 
 We remove that from our production servers because it allows the execution of 
 any CFC.

I guess that makes sense if you have dedicated hosting, not so when you have to 
deal with a shared hosting environment.

 
 Is it documented somewhere that a services-config.xml file is required
 locally (at compile time) 
 
 Probably.
 The docs for the -service mxmlc argument might help.
 

Looked high and low, googled... nothing..

 and on the server (and that they have to have 
 matching destinations)?
 
 Again, I've not checked, but it must be in the docs somewhere.
 

It's not..

regards,
Muzak



--
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

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] Re: problems access a Flex/CF site via a URL

2007-10-17 Thread Muzak
Use tokens for the endpoint uri

endpoint uri=http://83.170.86.32:80/flex2gateway/; 
class=flex.messaging.endpoints.AMFEndpoint/

should be:

endpoint uri=http://{server.name}:{server.port}/flex2gateway/; 
class=flex.messaging.endpoints.AMFEndpoint/


{server.name} and {server.port} will be replaced with the actual values at 
runtime.
So you can then put your app on different servers without having to worry about 
the gateway url.

regards,
Muzak

- Original Message - 
From: stephen50232 [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Wednesday, October 17, 2007 6:00 PM
Subject: [flexcoders] Re: problems access a Flex/CF site via a URL


Well my method calls worked fine on another server I was running this
application on, I've recently moved the site to a new server and
repointed the URL.






--
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

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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/