Skip to Content
0

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

Jan 30 at 06:41 PM

66

avatar image
Former Member

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?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Patricia Steinhardt
Jan 31 at 07:36 PM
0

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

Share
10 |10000 characters needed characters left characters exceeded
Bruce Armstrong
Feb 01 at 01:57 PM
0

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

Share
10 |10000 characters needed characters left characters exceeded