Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-12823

.NET: Service method with user type array parameter can't be found

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.9
    • platforms

    Description

      Setup

      • Ignite Java service with a method having an array of user types as a parameters, for example, caclulate(Parameter[] params)

      Actions

      • .NET client calls the Ignite Java service, for example, ignite.GetServices().GetServiceProxy<ICalculator>().calculate(new[] {new Parameter()});

      Expected

      • The service method is called

      Actual

      • Exception "Could not find proxy method 'calculate' in class ICalculator"

      Workaround

      • Replace array of user types with array of objects in the service methods signatures, for example, caclulate(Object[] params)

      Attachments

        1. IGNITE-12823-from-2.9.0.patch
          16 kB
          Alexey Kukushkin
        2. IGNITE-13734-from-2.9.0.patch
          41 kB
          Alexey Kukushkin

        Issue Links

          Activity

            People

              ptupitsyn Pavel Tupitsyn
              kukushal Alexey Kukushkin
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 40m
                  1h 40m