I have a flex app which uses blazeds for some messaging and I am converting it into an AIR app. I have a java class called AutoWatcher which extends ServiceAdapter and it sends and recieves messages. I declared it the same way in both my flex and AIR apps:
<mx:Producer id="reportManager" destination="autoWatch"/>
<mx:Consumer id="consumer" destination="autoWatch" message="messageHandler(event.message)"/>
<adapter-definition id="TCautomation" class="factory.AutoWatcher"/>
<adapter-definition id="actionscript" class="flex.messaging.services.messaging.adapters.ActionScriptAdapter" default="true" />
You probably need to define the end point URLs explicitly. (In a web app, the server provides this information, but there's no server in an AIR app.)
Hey thanks for that link. It was a little tricky, but I think I have it running now. Thanks!