1 Reply Latest reply on Jul 12, 2011 4:51 AM by rabinprithvi

    BlazeDS Doubt

    rabinprithvi Level 2

      Hi,

       

      I am very new to BlazeDS

       

      I tried a sample BlazeDS app from Flex 4 Bible. It worked fine.

       

      Just to test, I changed a url value in proxy-config.xml.

       

      correct one

       

      <destination id="DefaultHTTP">

            <properties>

              <dynamic-url>http://127.0.0.1:8400/*</dynamic-url>

            </properties>

          </destination>

       

      Wrong one

       

       

      <destination id="DefaultHTTP">

            <properties>

              <dynamic-url>http://128.0.0.1:8400/*</dynamic-url>

            </properties>

          </destination>

       

       

      But to my surprise, the app worked fine.

       

      I tried to do the following

       

      1. Refresh the browser

      2. Cleared browser cache

      3. Restarted the Tomcat server

       

      But no difference, the app still works fine even when I commented the destination xml tag.

       

      <!--destination id="DefaultHTTP">

            <properties>

              <dynamic-url>http://128.0.0.1:8400/*</dynamic-url>

            </properties>

          </destination -->

       

      For sure, I am missing something.

       

      Please bridge my knowledge gap in BlazeDS.

       

      Thanks.

      Rabin.