Hi,

In my services-config.xml:

<?xml version="1.0" encoding="UTF-8"?>
<services-config>

    <services>
        <service-include file-path="remoting-config.xml" />
        <service-include file-path="data-management-config.xml" />
    </services>

    <channels>
        <channel-definition id="my-amf"
class="mx.messaging.channels.AMFChannel">
            <endpoint uri="http://www.gis.net.vn/weborb.aspx";
class="flex.messaging.endpoints.AMFEndpoint"/>
            <properties>
                <polling-enabled>false</polling-enabled>
            </properties>
        </channel-definition>

        <channel-definition id="amf-sessionactivation"
class="mx.messaging.channels.AMFChannel">
            <endpoint uri="http://www.gis.net.vn/weborb.aspx?
activate=session" class="flex.messaging.endpoints.AMFEndpoint"/>
            <properties>
                <polling-enabled>false</polling-enabled>
            </properties>
        </channel-definition>

        <channel-definition id="amf-singletonactivation"
class="mx.messaging.channels.AMFChannel">
            <endpoint uri="http://www.gis.net.vn/weborb.aspx?
activate=application" class="flex.messaging.endpoints.AMFEndpoint"/>
            <properties>
                <polling-enabled>false</polling-enabled>
            </properties>
        </channel-definition>

        <channel-definition id="my-secure-amf"
class="mx.messaging.channels.SecureAMFChannel">
            <endpoint uri="http://www.gis.net.vn/weborb.aspx";
class="flex.messaging.endpoints.SecureAMFEndpoint"/>
        </channel-definition>

        <channel-definition id="air-http"
class="mx.messaging.channels.AMFChannel">
            <endpoint uri="http://www.gis.net.vn/weborb.aspx";
class="flex.messaging.endpoints.AMFEndpoint"/>
              <properties>
                 <polling-enabled>false</polling-enabled>
              </properties>
        </channel-definition>
    </channels>
</services-config>

And in my weborb-services-config.xml:

<?xml version="1.0" encoding="UTF-8"?>
<services-config>

    <services>
        <service-include file-path="remoting-config.xml" />
        <service-include file-path="messaging-config.xml" />
        <service-include file-path="data-management-config.xml" />
        <service id="remoting-weborb-service"
class="Weborb.V3Types.Core.RemotingHandler"
            messageTypes="flex.messaging.messages.RemotingMessage">
            <adapters />

            <default-channels>
                <channel ref="weborb-rtmp"/>
                <channel ref="air-nohttp"/>
            </default-channels>

            <destination id="MessagingDestination">
                <properties>
                    <source>*</source>
                </properties>
            </destination>

            <destination id="GenericAIRDestination">
              <properties>
                <source>*</source>
              </properties>
            </destination>
        </service>
    </services>

    <channels>
        <channel-definition id="my-amf"
class="mx.messaging.channels.AMFChannel">
            <endpoint uri="http://www.gis.net.vn/weborb.aspx";
class="flex.messaging.endpoints.AMFEndpoint"/>
            <properties>
                <polling-enabled>false</polling-enabled>
            </properties>
        </channel-definition>

        <channel-definition id="amf-sessionactivation"
class="mx.messaging.channels.AMFChannel">
            <endpoint uri="http://www.gis.net.vn/weborb.aspx?
activate=session" class="flex.messaging.endpoints.AMFEndpoint"/>
            <properties>
                <polling-enabled>false</polling-enabled>
            </properties>
        </channel-definition>

        <channel-definition id="amf-singletonactivation"
class="mx.messaging.channels.AMFChannel">
            <endpoint uri="http://www.gis.net.vn/weborb.aspx?
activate=application" class="flex.messaging.endpoints.AMFEndpoint"/>
            <properties>
                <polling-enabled>false</polling-enabled>
            </properties>
        </channel-definition>

        <channel-definition id="my-secure-amf"
class="mx.messaging.channels.SecureAMFChannel">
            <endpoint uri="http://www.gis.net.vn/weborb.aspx";
class="flex.messaging.endpoints.SecureAMFEndpoint"/>
        </channel-definition>

        <channel-definition id="weborb-rtmp"
class="weborb.messaging.WeborbMessagingChannel">
            <endpoint uri="rtmp://www.gis.net.vn:80" />
        </channel-definition>

        <channel-definition id="air-http"
class="mx.messaging.channels.AMFChannel">
            <endpoint uri="http://www.gis.net.vn/weborb.aspx";
class="flex.messaging.endpoints.AMFEndpoint"/>
              <properties>
                 <polling-enabled>false</polling-enabled>
              </properties>
        </channel-definition>

    <channel-definition id="air-nohttp"
class="weborb.messaging.WeborbMessagingChannel">
              <endpoint uri="rtmp://www.gis.net.vn:80"/>
        </channel-definition>
    </channels>

</services-config>

Notes: This bug occur when i publish to server. my localhost works
fine.

Please help me

Thank a lot

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to