Flex配置文件remoting-config.xml

remoting-config.xml

<?xml version="1.0" encoding="UTF-8"?>
<service id="remoting-service"
    class="flex.messaging.services.RemotingService">

    <adapters>
        <adapter-definition id="java-object" class="flex.messaging.services.remoting.adapters.JavaAdapter" default="true"/>
    </adapters>

    <default-channels>
        <channel ref="my-amf"/>
    </default-channels>

    <destination id="product">
        <properties>
            <source>flex.samples.product.ProductService</source>
        </properties>
    </destination>

    <destination id="chat-room-service">
        <properties>
            <source>flex.samples.runtimeconfig.ChatRoomService</source>
            <scope>application</scope>
        </properties>
    </destination>

    <destination id="database">
        <properties>
            <source>flex.samples.sqladmin.DatabaseService</source>
        </properties>
    </destination>

    <destination id="census">
        <properties>
            <source>flex.samples.census.CensusService</source>
        </properties>
    </destination>

    <destination id="flex-client-qos-config" channels="per-client-qos-polling-amf">
        <properties>
            <source>flex.samples.qos.FlexClientConfigService</source>
        </properties>
    </destination>
    
    <destination   id = "helloworld" >      
      <properties >      
          <source > flex.samples.helloWorld.HelloWorld </source >      
      </properties >      
  	</destination >
    
  </service>


<?xml version="1.0" encoding="UTF-8"?>
<service id="remoting-service" 
    class="flex.messaging.services.RemotingService">

    <adapters>
        <adapter-definition id="java-object" class="flex.messaging.services.remoting.adapters.JavaAdapter" default="true"/>
    </adapters>

    <default-channels>
        <channel ref="my-amf"/>
    </default-channels>

	<destination id="BpelService">
		<properties>
			<source>org.softTank.BC.flex.BpelTools</source>
			<scope>application</scope>
		</properties>
	</destination>
</service>



你可能感兴趣的:(xml,Flex,配置文件)