0 Replies Latest reply on Sep 27, 2009 8:32 AM by rickcr

    Newb: How is endpoint path substitution working? I'd like to know what is going on, and when to manually define

    rickcr Level 1

      I'm looking over the flex dev guide http://livedocs.adobe.com/blazeds/1/blazeds_devguide/ but I really don't see the details of this covered.

       

      I have a single amf channel endpoint defined as such in my services-config.xml:

       

      <channel-definition id="emp-maint-amf" class="mx.messaging.channels.AMFChannel">
           <endpoint url="http://{server.name}:{server.port}/{context.root}/messagebroker/amf" class="flex.messaging.endpoints.AMFEndpoint"/>
      </channel-definition>

       

      What I'd like to know is what is replacing server.name, server.port etc? I asume it's happening at run time since I certainly am not doing anything to set them.

       

      I also a lot of examples where those paths are hardcoded in, and then some, more complicated examples, where you somehow work on setting themselves through code.

       

      What are the pincipals here on when you neeed to define those vars and whe you can get by with them being left as is above?

       

      Shouldn't there be some documentation that covers this? Am I just not finding it? Thanks for any help or links that will help me understand what is going on in regard to figuring out how the path substitution is working.