False error highlighting for Flex RemoteObject

Before I open a JIRA on this, I want to check to make sure this is in fact a bug and not a project configuration issue or such. I'm new to flex, so it may be something I am unaware of as well.

I'm working on a Flex project that uses WebORB Data Service for the server side. Based on the WebORB documentation, I have a generic destination definition for the remoting service defined in my remoting-config.xml:

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


The server side class to use is specified in the source attribute of the remote object:

    <mx:RemoteObject id="calculatorService"
                     destination="GenericDestination"
                     source="com.example.MyService"
                     fault="errorHandler(event)">
        <mx:method name="myMethod" result="myResultHandler(event)" />
    </mx:RemoteObject>



IDEA is highlighting the source attribute value in red with an error of "Cannot resolve file 'com.example.MyService'" This code compiles and executes correctly. Am I correct that this is a bug (or potential feature enhancement) in IDEA?

0

Please sign in to leave a comment.