Hi,

This error comes when the result of HTTPService call returns an invalid
XML. HTTPService expects that result of
"http://localhost/test/customer.php"; is a valid xml....

I think, it is a html where some tags don't have end tags...


Hope that helps..

-abdul  

-----Original Message-----
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of juyalmanu
Sent: Friday, June 24, 2005 1:26 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Httpservice error message

I am getting following error:

"Httpservice fault: Start tag had no corresponding end tag"

I tried and checked every tag but of no success. Can anyone please 
help
me out with it. Following is code I am using.

mx:Script>
        <![CDATA[
                function sendCustomerData() {
                
                customer_srv.send({custfname: custfname.text, 
custlname: custlname.text, custemail: custemail.text,custphone: 
custphone.text, custdept: custdept.text, custcollege: 
custcollege.text,  contfname: contfname.text,contlname: 
contlname.text, contemail: contemail.text, contphone: 
contphone.text});
                }
                function faultHandler(faultstring, code){
                    var ecode = faultstring+": "+code
                        mx.controls.Alert.show(ecode, "fault");

                }
                function resultHandler(event){
                        mx.controls.Alert.show
(event.result, "result");
                }
        ]]>
 </mx:Script> 
 
 <mx:HTTPService id="customer_srv" 
url="http://localhost/test/customer.php"; 
  fault="faultHandler(event.fault.faultstring, 
event.fault.faultcode)" 
  result="resultHandler(event)"
  method="POST" showBusyCursor="true" useProxy="false" />





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

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


Reply via email to