Friday, November 28, 2008

Blazeds Configuration under Http and Https

1. visitor --> Flex app on Apache/IIS (Https) --> Backend system on Tomcat/JBoss(Http)
service-config.xml:
<channel-definition 
id="my-amf-secure"
class="mx.messaging.channels.SecureAMFChannel">
<endpoint
uri="https://{server.name}:{server.port}/{context.root}/messagebroker/amfsecure"
class="flex.messaging.endpoints.AMFEndpoint "/>
<properties>
<add-no-cache-headers>false</add-no-cache-headers>
</properties>
</channel-definition>


2. visitor --> Flex app on Apache/IIS (Http) --> Backend system on Tomcat/JBoss(Https)
service-config.xml:
<channel-definition 
id="my-amf"
class="mx.messaging.channels.SecureAMFChannel">
<endpoint
uri="https://{server.name}:{server.port}/{context.root}/messagebroker/amfsecure"
class="flex.messaging.endpoints.SecureAMFEndpoint"/>
<properties>
<add-no-cache-headers>false</add-no-cache-headers>
</properties>
</channel-definition>

No comments:

Post a Comment