'Registering dll for powerbuilder - web service integration

We are using Powerbuilder 10.5 (not .NET) and try to connect our application to a POS. The vendor has provided instructions and a .dll file. The way the POS works is that a windows service is installed, and then we are supposed to consume it through the dll.

On the section "Consuming the service through wrapper dll", it states verbatim:

Edps.Terminal.Wrapper.dll - Service wrapper dynamic link library

To integrate the Service Wrapper DLL into your application perform the following:

Step 1. Add a reference to System.ServiceModel and Edps.Terminal.Wrapper.dll

Until now, the way we have used dlls in powerbuilder is to register them through the registry by running either regsrv32 or regasm.

In this instance, when we ran regasm (both with and without /codebase), it reported:

"Assembly exported to (path\Edps.Terminal.Wrapper.tlb), and the type library was registered successfully".

Thus, we expected within the registry to find a new key, containing info about the class containing the needed functions. However, we could not find any key containing the string "edps".

Why is that? If we could find such a key, we would have the reference to Edps.Terminal.Wrapper.dll.

Additionally, we are not sure about the System.ServiceModel part. What does that refer to? How does one create such a reference? We see solutions for this existing for the powerbuilder .NET version, but not for 10.5 .



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source