3 Replies Latest reply on Oct 7, 2010 12:26 AM by ShanthiFlash

    HTTP service error

    ShanthiFlash Level 1

      Hi,

       

      I tried to connect flex with PHP.

       

      Here is the PHP code

       

      <?php
      $id_number = $_GET["id"];
      echo('<?xml version="1.0" encoding="utf-8" ?>');
      echo('<xml><author><id>'.$id_number.'</id><name>jai</name><age>30</age></author></xml>');
      ?>

       

      But I am getting error

       

       

      fault[RPC Fault faultString="Error #1096: XML parser failure: Unterminated element." faultCode="Client.CouldNotDecode" faultDetail="null"]

       

      Please help me to solve this.

       

      Thanks,

      Shanthi