Hi Mark,
in order to call .NET component from PowerServer you must
1) copy the .NET DLL (and its dependencies under) C:\inetpub\wwwroot\appeon\AEM\components
2) Use AppeonDotNetComponent object to call the .NET functions
Unfortunately non-primitive type parameters such as arrays are unsupported in AppeonDotNetComponent, so you must:
1) change the signature of the .NET function, e.g. change the array argument into a string and use Base64 for encoding/decoding the byte array
2) use a REST API as a "man-in-the-middle", call it via PowerServer RESTClient/HTTPclient objects, and have the REST API that calls, in turn, the original .NET DLL.
Best,
.m
I remember a similar problem with .NET SOAP WS.
Can you make a test by using the return value to send out the result instead of arguments by reference?
Best,
.m