I am running an application with a veriety of Remote  obkect 
requests to coldfusion.

requests invoked without arguments and simply returning query data 
back to flex are working fine.

Today though some of my calls that have been working fine have 
suddenly stopped with errors of type "'Unknown AMF type '-124'" (the 
error number dows change on subsequent requests) that i am having 
trouble getting to the bottom of.

I feel that i am having a data type mismatch between flex and 
coldfusion but may need help from someone more experienced.


here is my code:

// Set up RO
getOffersRO.destination = "ColdFusion";
getOffersRO.source = "com.getOffers";
getOffersRO.getOffers.addEventListener("result",offersHandler);
getOffersRO.getOffers.addEventListener("fault",ro_fault_handler);


// Request function
public static function getOffers():void {

        var bookingVO = Application.application.bookingVO;
        var itineryAC = Application.application.itineryAC;
                        
        var params:Object = new Object();
        params.bookingVO = bookingVO;
        params.itineryAC = itineryAC;
                                                
        getOffersRO.getOffers.send(params) ;
}

// fault errors
event = FaultEvent (@4c3f319)
        bubbles = false
        cancelable = true
        currentTarget = Operation (@48f9101)
                argumentNames = Array (@4884401)
                arguments = Object (@48e98e1)
                lastResult = null
                makeObjectsBindable = true
                name = "getOffers"
                service = RemoteObject (@48b56c1)
        eventPhase = 2 [0x2]
        fault = Fault (@a5daca1)
                errorID = 0 [0x0]
                faultCode = "Client.Message.Encoding"
                faultDetail = null
                faultString = "Unknown AMF type '-124'."
                message = "faultCode:Client.Message.Encoding 
faultString:'Unknown AMF type '-124'.' faultDetail:'null'"
                name = "Error"
                rootCause = null
        message = ErrorMessage (@4c47831)
        messageId = "26755C7A-F00C-49F5-F88E-EF0C6E504EC6"
        target = Operation (@48f9101)
                argumentNames = Array (@4884401)
                        length = 0 [0x0]
                arguments = Object (@48e98e1)
                lastResult = <getter>
                makeObjectsBindable = <getter>
                name = <getter>
                service = <getter>
        token = null
        type = "fault"


Thanks in advance to any advise that may get me back on track...



Reply via email to