This means that the XML returned by customer.php was invalid and couldn’t be parsed correctly.  You might want to set the resultFormat=”text”, take that result and put it in a text area (or trace it), copy into an editor that does XML checking (or maybe load it in a browser) and see if you can spot the error.

 

Matt

 


From: [email protected] [mailto:[email protected]] On Behalf Of juyalmanu
Sent: Thursday, June 23, 2005 12:56 PM
To: [email protected]
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="" href="http://localhost/test/customer.php">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





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

Reply via email to