0 Replies Latest reply on Jun 6, 2008 2:11 AM by wonderolie

    Fluorine mapping

    wonderolie
      Hi

      I am working on a flex project which is an search tool with a .NET backend. The project is set up with CairnGorm and the connection with .NET is made with Fluorine. At the moment i am having difficulty adding a parameter to the facade. The original function was extended from 12 to 13 parameters.
      this is the function from the flex file SearchDelegate.AS. The problem is that some of the parameters comes through .NET en some paramters don't.

      If I'am right the delegate calls parameters need only be known inside the delegate, but still some of the parameters are unknown.Should there be some initialization of the parameters?

      I also see that the parameters from .NET to Flex do not match still the " languageCode (flex) to cultureCode(.net) " connection works flawlessly, even more weirder if I match these names the connection doesn't work anymore.

      I hope someone has experience with fluorine. the code files are attached searchDelegate from C# and as


      ---------------------------------------

      public function getCompanyListByKeyword( branchID:String,
      sectorID:String,
      countryCode:String,
      region:String,
      postalCode:String,
      city:String,
      projectEditionID:String,
      searchProjectID:String,
      searchFilterString:String,
      keyword:String,
      languageCode:String,
      startRowIndex:uint,
      maximumRows:uint ):void
      {
      // -- this method is the actual .Net method that is defined in the
      // SearchFacade.cs class.
      var call:Object = service.GetCompanyListByKeyword(
      branchID,
      sectorID,
      countryCode,
      region,
      postalCode,
      city,
      projectEditionID,
      searchProjectID,
      searchFilterString,
      keyword,
      languageCode,
      startRowIndex,
      maximumRows);
      // -- this ensures that command class' result() or fault() methods
      // are called.
      call.addResponder( responder );
      }

      ---- THE CODE ----------------------------------------------------------------------------------------- ----------------


      -----------------------------------------------------------