3 Replies Latest reply on Jun 4, 2007 11:12 AM by Newsgroup_User

    FlexGrocer Problems

    Level 7
      Hi All

      I'm new to this flex stuf and trying to work through the book "Flex 2
      Training from the Source"

      Some of the examples run fine. Mostly the lower level chapters. After
      applying the Arrata updates to the flexGrocer (completed folder) and to the
      files in chapter 17. I also added the three xml files that had been left out
      to my CF server. Now when I complie and try to run the Ecomm.mxml I get this
      error. I see it has something to do with one of the xml files but that's all
      I can read of this error. Can anyone explain it to me?? Also the same app
      return NO categories in the header.

      [RPC Fault faultString="Error #1088: The markup in the document following
      the root element must be well-formed." faultCode="Client.CouldNotDecode"
      faultDetail="null"]
      at
      mx.rpc.http::HTTPService/ http://www.adobe.com/2006/flex/mx/internal::processResult()
      at
      mx.rpc::AbstractInvoker/ http://www.adobe.com/2006/flex/mx/internal::resultHandler()
      at mx.rpc::Responder/result()
      at mx.rpc::AsyncRequest/acknowledge()
      at ::DirectHTTPMessageResponder/completeHandler()
      at
      flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at flash.net::URLLoader/flash.net:URLLoader::onComplete()


      Bill



        • 1. Re: FlexGrocer Problems
          Level 7
          after running through the debugger and trying to follow the processes it
          looks like it's getting tripped up on the categorizedProducts.cfm which in
          turn queries the categorizedProducts.xml and that the format of that xml is
          not quit what it should be. Probably getting hung up on the "White Space"
          because of the way it's developer formatted the content for readability.

          gonna change it and post back the results

          Bill

          "Bill Betournay" <bill@datapacks.com> wrote in message
          news:f3rp44$ohf$1@forums.macromedia.com...
          > Hi All
          >
          > I'm new to this flex stuf and trying to work through the book "Flex 2
          > Training from the Source"
          >
          > Some of the examples run fine. Mostly the lower level chapters. After
          > applying the Arrata updates to the flexGrocer (completed folder) and to
          > the files in chapter 17. I also added the three xml files that had been
          > left out to my CF server. Now when I complie and try to run the Ecomm.mxml
          > I get this error. I see it has something to do with one of the xml files
          > but that's all I can read of this error. Can anyone explain it to me??
          > Also the same app return NO categories in the header.
          >
          > [RPC Fault faultString="Error #1088: The markup in the document following
          > the root element must be well-formed." faultCode="Client.CouldNotDecode"
          > faultDetail="null"]
          > at
          > mx.rpc.http::HTTPService/ http://www.adobe.com/2006/flex/mx/internal::processResult()
          > at
          > mx.rpc::AbstractInvoker/ http://www.adobe.com/2006/flex/mx/internal::resultHandler()
          > at mx.rpc::Responder/result()
          > at mx.rpc::AsyncRequest/acknowledge()
          > at ::DirectHTTPMessageResponder/completeHandler()
          > at
          > flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
          > at flash.events::EventDispatcher/dispatchEvent()
          > at flash.net::URLLoader/flash.net:URLLoader::onComplete()
          >
          >
          > Bill
          >
          >
          >


          • 2. FlexGrocer Problems
            cheftimo Level 2
            Bill:

            Being a beginner, I also have been learning with the TFS book. So far, I have done chapters 1 through 17 straight through and have only run into one of the problems you describe – the one about “NO categories in the header”. I found that the image paths in the book are incorrect.

            To see exactly what the errors are and how to fix them, go to my blog: http://www.timos.com/blog/ and look at the last two posts in the subject “Web Applications, RIAs”.

            This should help you. If you need anything else, post here again.

            Regards,

            Carlos

            PS - BTW, you should post this on the FlexBuilder 2 forum.
            • 3. Re: FlexGrocer Problems
              Level 7
              Perfect. I'll try your solutions. I'll also add to your errata if I find
              anything more then you.

              Thanks cheftimo, Pretty sad that the target audience/customer has to come to
              the rescue to make a book worth something more then fire starter

              Bill

              "cheftimo" <carlos@webgourmand.com> wrote in message
              news:f41jlh$s23$1@forums.macromedia.com...
              > Bill:
              >
              > Being a beginner, I also have been learning with the TFS book. So far, I
              > have
              > done chapters 1 through 17 straight through and have only run into one of
              > the
              > problems you describe ? the one about ?NO categories in the header?. I
              > found
              > that the image paths in the book are incorrect.
              >
              > To see exactly what the errors are and how to fix them, go to my blog:
              > http://www.timos.com/blog/ and look at the last two posts in the subject
              > ?Web
              > Applications, RIAs?.
              >
              > This should help you. If you need anything else, post here again.
              >
              > Regards,
              >
              > Carlos
              >
              >