Skip to main content
Jul 30, 2022 4:03 PM UTC

Returning UniDynArray or UniRecord objects from webservice(.asmx)

Hello Everyone,

We have a old application which is using UNIOBJECTSLib. We are in a process to migrate to new U2.Data.Client, so created a webservice application which should return UniObjects such as new UniDynArray or UniRecord.
Is there anyway I can return the UniDynArray or UniRecord objects from the webservice(.asmx) project.

I tried it but I am getting issues, UniDynArray has no parameterless constructor. Can I get a help on this.
If I cannot return these objects, how can I achieve this as I wanted to do a minimalist changes to my old application.




Thanks,
Sandeep

------------------------------
Sandeep Kumar
Consultant
Rocket Forum Shared Account
------------------------------

    1 reply

    Jonathan Smith
    Rocketeer
    Aug 18, 2022 12:12 PM UTC
    Hello Everyone,

    We have a old application which is using UNIOBJECTSLib. We are in a process to migrate to new U2.Data.Client, so created a webservice application which should return UniObjects such as new UniDynArray or UniRecord.
    Is there anyway I can return the UniDynArray or UniRecord objects from the webservice(.asmx) project.

    I tried it but I am getting issues, UniDynArray has no parameterless constructor. Can I get a help on this.
    If I cannot return these objects, how can I achieve this as I wanted to do a minimalist changes to my old application.




    Thanks,
    Sandeep

    ------------------------------
    Sandeep Kumar
    Consultant
    Rocket Forum Shared Account
    ------------------------------
    Sandeep,

    Could you please provide us with your code snippet where are you trying to do this, so that we can see what you are attempting to do.

    Thanks,

    ------------------------------
    Jonathan Smith
    UniData ATS
    Rocket Support
    ------------------------------
    Rocket Software - Senior Principal Technical Support Engineer - UniData ATS