Symptom

Failed to call the web service .dlls when migrated from previous PowerBuilder to PowerBuilder 2017 and it throws the error xx.dll does not exist.

Environment

PowerBuilder

Cause

Incorrect .pbd or .pbx files are used.

Resolution

1. Open pre-existing workspace in PowerBuilder xx.x (from which you migrated);

2. Test to see if the web service functionality works (It should work at this point);

3. Open the same workspace in PowerBuilder 2017;

4. Carefully check and see if there's any PBWSCLIENTxxx.pbd or pbsoapclientxxx.pbd object included in the project in the Migrate Application window. If yes, replace it with the corresponding object PBWSCLIENT170.pbd or pbsoapclient170.pbd, which are located in C:\Program Files (x86)\Appeon\Shared\PowerBuilder;

5. Run the migration;

6. Carefully check and see if there's any PBWSCLIENTxxx.pbx or pbsoapclientxxx.pbx imported. If yes, import PBWSCLIENT170.pbx or pbsoapclient170.pbx, which are located in C:\Program Files (x86)\Appeon\Shared\PowerBuilder, to replace the corresponding object PBWSCLIENTxxx.pbx or pbsoapclientxxx.pbx;

7. Rebuild the PB code;

8. Run the application and hit the service call.

For more details on Web service please refer to the help in the below link:

https://www.appeon.com/support/documents/appeon_online_help/pb2017/release_bulletin_for_pb/ch04s03.html

1
0