6 Replies Latest reply on May 14, 2009 7:26 AM by Lalit_OSI

    Flex Data Services Issue

    Lalit_OSI

      Hi,

       

      I have a DWR service created in java and trying to call it from the flex through http service ,but instead of getting the actual result i am getting result as folows:

       

      //#DWR-REPLY

       

      if (window.dwr) dwr.engine.remote.handleBatchException({ name:'java.lang.IllegalArgumentException', message:'Failed to find parameter: scriptSessionId' });

       

      else if (window.parent.dwr) window.parent.dwr.engine.remote.handleBatchException({ name:'java.lang.IllegalArgumentException', message:'Failed to find parameter: scriptSessionId' });                                                 

       

       

      and on the server side following is the exception :

       

      20:51:08,307 WARN  [BaseCallHandler] Exception while processing batch

      java.lang.IllegalArgumentException: Failed to find parameter: scriptSessionId

      at org.directwebremoting.dwrp.Batch.extractParameter(Batch.java:91)

      at org.directwebremoting.dwrp.Batch.<init>(Batch.java:59)

       

       

      If any solution on calling the DWR services from flex would be graetly apreciated,

       

      Thanks,

      Lalit