Skip to Content
avatar image
Former Member

Converting PB12.6 .NET Web Service to PB2017 Classic Web Service.

At issue is functions are unable to return arrays. So in the old Web Service

(Simplified...)

function getemployees returns strct_employees[]

Strct_employees lstrct_emp[]

ds_emp.retrieve()

lstrct_emp = ds_emp.object.data

return lstrct_emp

Doesn't work in 2017 (yet?) Returning it through a reference argument (haven't tried that yet), may not be possible as the service is for third party, non PB apps/services.

Suggestions anyone?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Jan 31 at 07:36 PM

    Hi Dale,

    PowerBuilder 2017 is supported by Appeon.Please post this issue with them so they can look into it for you.

    https://community.appeon.com/

    Pat

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 01 at 01:57 PM

    You can create a non visual object and then make the structure an attribute of that object. Then return the object.

    Add comment
    10|10000 characters needed characters exceeded