RE: [flexcoders] Simple XML web service call

2006-05-11 Thread Darren Houle



Yes, I'm loading the SWF from localhost, which is calling a web service on 
locahost.

Darren



>How are you loading the SWF? Is the SWF hosted on the same machine as
>the CFC? Note that localhost and 127.0.0.1 are not the same string for
>purposes of domain name checking for security sandbox restrictions.
>
>-Original Message-
>From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
>Behalf Of Darren Houle
>Sent: Tuesday, May 09, 2006 2:51 PM
>To: flexcoders@yahoogroups.com
>Subject: [flexcoders] Simple XML web service call
>
>This is probably very simple and I'm just being stupid, but... why
>doesn't this work?  I don't get any errors, just a blank swf w/o the
>Label.  I'm in Beta 3.
>
>mxml file
>
>
>http://www.adobe.com/2006/mxml"
>  creationComplete="wsTest.testFunction.send()">
>  
>    wsdl="http://localhost/ia_cleanup.cfc?wsdl">
>    
>  
>  
>
>
>
>...and the accompanying CFC file
>-
>
>  
>returntype="xml">
>    
>      Hello World
>    
>    
>  
>
>
>I've tried different resultFormats, different returnTypes... returning a
>string instead of the cfxml tag... building mystring and returning the
>result of parseXML(mystring).  Nothing seems to work.
>
>Thanks,
>Darren
>
>
>
>
>
>--
>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
>
>
>
>
>
>
>
>
>
>
>--
>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
>
>
>
>
>
>
>










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



   Visit your group "flexcoders" on the web. 
   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] Simple XML web service call

2006-05-11 Thread Darren Houle



Yes, the CFC is running, it's Flex that's not dealing with the returned 
results properly.  I finally gave up on doing it this way and now I'm just 
returning a datatype of "query" from the CFC which works fine.  It just that 
it seems like the code should work (it's so basic) but yet it didn't.  Maybe 
it's just me, but it seems like the Flex documentation was a little thin 
here.

Darren



>Can you confirm the CFC is run (by adding some logging) or at least 
>accessed (in the web server logs) ?
>
>
>Tom Chiverton
>
>










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



   Visit your group "flexcoders" on the web. 
   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] Simple XML web service call

2006-05-10 Thread Tom Chiverton



>>> On Tue, May 9, 2006 at  7:50 PM, in message
<[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote: 
> I've tried different resultFormats, different returnTypes... returning a 
> string instead of the cfxml tag... building mystring and returning the 
> result of parseXML(mystring).  Nothing seems to work.

Can you confirm the CFC is run (by adding some logging) or at least accessed (in the web server logs) ?


Tom Chiverton




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 Law Society.

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.

We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of the Year at the 2005 Growth Company Awards







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



   Visit your group "flexcoders" on the web. 
   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] Simple XML web service call

2006-05-09 Thread Peter Farland



You need to add a fault handler to the WebService to see why it has
failed.

How are you loading the SWF? Is the SWF hosted on the same machine as
the CFC? Note that localhost and 127.0.0.1 are not the same string for
purposes of domain name checking for security sandbox restrictions.

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Darren Houle
Sent: Tuesday, May 09, 2006 2:51 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Simple XML web service call

This is probably very simple and I'm just being stupid, but... why
doesn't this work?  I don't get any errors, just a blank swf w/o the
Label.  I'm in Beta 3.

mxml file


http://www.adobe.com/2006/mxml"
  creationComplete="wsTest.testFunction.send()">
  
    wsdl="http://localhost/ia_cleanup.cfc?wsdl">
    
  
  



...and the accompanying CFC file
-

  
returntype="xml">
    
      Hello World
    
    
  


I've tried different resultFormats, different returnTypes... returning a
string instead of the cfxml tag... building mystring and returning the
result of parseXML(mystring).  Nothing seems to work.

Thanks,
Darren




 Yahoo! Groups Sponsor ~-->
Get to your groups with one click. Know instantly when new email arrives
http://us.click.yahoo.com/.7bhrC/MGxNAA/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



 









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



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.