in my weborb-services-config.xml:

<?xml version="1.0" encoding="UTF-8"?>
<services-config>
    <channels>
        <channel-definition id="my-amf"
class="mx.messaging.channels.AMFChannel">
            <endpoint uri="weborb.aspx"
class="flex.messaging.endpoints.AMFEndpoint"/>
            <properties>
                <polling-enabled>true</polling-enabled>
            </properties>
        </channel-definition>

        <channel-definition id="my-secure-amf"
class="mx.messaging.channels.SecureAMFChannel">
            <endpoint uri="weborb.aspx"
class="flex.messaging.endpoints.SecureAMFEndpoint"/>
        </channel-definition>
    </channels>
    ...
</services-config>

in my services-config.xml:

<?xml version="1.0" encoding="UTF-8"?>
<services-config>
    <channels>
        <channel-definition id="my-amf"
class="mx.messaging.channels.AMFChannel">
            <endpoint uri="weborb.aspx"
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="weborb.aspx"
class="flex.messaging.endpoints.SecureAMFEndpoint"/>
                         <properties>
                <polling-enabled>false</polling-enabled>
            </properties>
        </channel-definition>
    </channels>
</services-config>

I still get error message when i publish to server (localhost works
fine)

[RPC Fault faultString="Send failed"
faultCode="Client.Error.MessageSend"
faultDetail="Channel.Connect.Failed error NetConnection.Call.Failed:
HTTP: Status 500: url: 'http://www.gis.net.vn/weborb.aspx'"]
--~--~---------~--~----~------------~-------~--~----~
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