1. Mitch Goldstein
  2. PowerBuilder
  3. Monday, 30 November 2020 16:08 PM UTC

I have recently reinstalled 2019 R2 due to a hard drive carsh where I needed to re-install everything.  My SoapConnection which used to work is no longer working.  How do I debug the issue?

 

Error:  Bad Runtime function reference at line 14 in function checkrepoversion of object w_repo.

I've bolded line 14 below.

string ls_connect_url, ls_ret, ls_tmp
long ll_ret, lLog
integer li_pos, li_ret
wbsrv_soapconnection2 = CREATE SoapConnection

is_repo_site=ProfileString(gs_networkini,"Repository","Min-U-Script TR Site Domain Name","company2.minuscript.sparknetlabs.com")
if pos(is_repo_site,"sparknetlabs",1) > 0 then //on test server
ls_connect_url=ProfileString(gs_networkini,"Repository","Connect URL","http://company1.minuscript.sparknetlabs.com/Services/APIManagement.asmx")
else
ls_connect_url=ProfileString(gs_networkini,"Repository","Connect URL","https://mus-tr.com/Services/APIManagement.asmx")
end if

try
ll_ret = wbsrv_soapconnection2.Createinstance( lpo_proxy_obj2, 'repoverapimanagement1',ls_connect_url)

wbsrv_soapconnection2 is a global variable

SoapConnection wbsrv_soapconnection

 

TIA,

Mitch

Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Thursday, 3 December 2020 22:09 PM UTC
  2. PowerBuilder
  3. # 1

Hi Mitch;

  I looked though the PB 2019 Help "runtime" DLL listings but could not pinpoint the SOAP WS stuff specifically.

  So I then I just ran the PB 2019 "Packager" utility selecting the "Soap Client" option....

  The installation of that MSI resulted in the following DLL's ...

  I suspect that the "pbNetWSRuntime190.dll" might be the missing DLL for the SOAP WS Client support.

Also note though that the PB 2019 Rx help does list the WS DataWindow runtime DLL's. So if your App is using the WS DW feature, these DLL's will need to be installed as well ...

Sybase.PowerBuilder.WebService.Runtime.dll, Sybase.PowerBuilder.WebService.RuntimeRemoteLoader.dll, Sybase.PowerBuilder.WebService.WSDL.dll, Sybase.PowerBuilder.WebService.WSDLRemoteLoader.dll,


HTH

Regards .... Chris

Comment
There are no comments made yet.
Mitch Goldstein Accepted Answer Pending Moderation
  1. Monday, 30 November 2020 20:58 PM UTC
  2. PowerBuilder
  3. # 2

Thanks for your response.

I did try to regenerate.  What do you mean by .NET Soap option?  FYI, this is a Windows App uploading files to a Web App.

Thanks,

Mitch

Comment
  1. Mitch Goldstein
  2. Thursday, 3 December 2020 21:06 PM UTC
I'm not following. I use Inno Setup to create my application custom installation. This is an installation which has gone to hundreds of users. But this is the first time I'm creating an install with the latest version of PB. Since I'm blowing up on the SoapConnection creation, I must be missing some supporting files. Everything else in the app is working. Just need to figure out what to add to my custom install.
  1. Helpful
  1. Chris Pollach @Appeon
  2. Thursday, 3 December 2020 21:51 PM UTC
Hi Mitch;

Sorry, I was thinking that you were referencing an IDE issue.

Yes, the SOAP stuff would be the Soap Client runtime DLL's. I am not sure if those are the same ones as listed for the Web Service DW in the PB Help's "runtime" section.

I'll respond in a few minutes with more details. I need to check a few things first.

Regards ... Chris

  1. Helpful
  1. Mitch Goldstein
  2. Monday, 21 December 2020 14:47 PM UTC
Unfortunately, I'm still having issues with runtime files. Everything works find locally. I get an error on this line:

ll_ret = wbsrv_soapconnection2.Createinstance( lpo_proxy_obj2, 'repoverapimanagement1',ls_connect_url)

Application Terminated

Error: The underlying connection was closed. An unexpected error occurred on a send



Maybe by looking at this install folder you can see what I'm missing. Or maybe there's an old file which needs update.

07/19/2019 08:39 AM 138,056 atl100.dll

02/28/2008 05:02 PM 1,740,800 ChilkatZip2.dll

03/30/2005 02:52 PM 282,624 ctTree.ocx

01/11/2007 02:26 PM 221,184 DartSock.dll

12/07/2006 02:49 PM 147,456 DartWeb.dll

07/19/2020 10:52 PM 262,224 EasySoap190.dll

07/19/2020 10:52 PM 131,152 ExPat190.dll

05/25/2019 02:25 AM 655,480 HTS20.DLL

12/21/2020 09:39 AM 0 installfiles.txt

05/25/2019 02:23 AM 2,258,552 libcrypto-1_1.dll

07/19/2020 10:57 PM 1,275,472 libeay32.dll

05/25/2019 02:22 AM 249,976 libjcc.dll

05/25/2019 02:25 AM 27,768 libjtml.dll

05/25/2019 02:22 AM 65,656 libjutils.dll

05/25/2019 02:23 AM 393,336 libsybunic.dll

07/19/2019 08:39 AM 421,200 msvcp100.dll

07/19/2019 08:39 AM 773,968 msvcr100.dll

03/11/2011 10:08 AM 36,864 musrepoapi.dll

03/01/2011 11:23 PM 36,864 musrepoapix.dll

03/11/2011 10:07 AM 8,192 musrepover.dll

03/01/2011 11:23 PM 8,192 musrepoverx.dll

05/25/2019 02:25 AM 20,600 nlwnsck.dll

05/25/2019 02:22 AM 23,160 pbacc190.dll

05/25/2019 02:23 AM 1,537,144 pbcompression190.dll

05/25/2019 02:22 AM 68,728 pbcomrt190.dll

05/25/2019 02:23 AM 756,856 pbcrypt190.dll

05/25/2019 12:45 AM 702,464 PBDOM190.pbx

07/19/2020 10:54 PM 124,496 pbdotnet190.dll

07/19/2020 10:54 PM 111,696 pbdotnetcoreinvoker190.dll

07/19/2020 10:54 PM 435,792 pbdotnetframeworkinvoker190.dll

05/25/2019 02:22 AM 146,040 pbdpl190.dll

05/25/2019 02:22 AM 4,820,600 pbdwe190.dll

05/25/2019 12:46 AM 196,608 pbdwr190.pbd

05/25/2019 12:43 AM 2,270 pbejbclient190.jar

05/25/2019 12:43 AM 190,464 pbejbclient190.pbx

05/25/2019 02:23 AM 1,056,888 pbhttpclient190.dll

05/25/2019 02:22 AM 176,248 pbjag190.dll

05/25/2019 02:23 AM 209,528 pbjson190.dll

05/25/2019 02:22 AM 94,328 pbjvm190.dll

05/25/2019 02:23 AM 48,248 pbjwt190.dll

07/19/2020 10:53 PM 148,560 pbNetWSDL190.dll

07/19/2020 10:53 PM 322,128 pbNetWSRuntime190.dll

05/25/2019 02:23 AM 89,720 pboauth190.dll

05/25/2019 02:23 AM 548,472 pbodb190.dll

06/13/2018 08:36 PM 80,669 pbodb190.ini

05/25/2019 02:23 AM 5,283,960 pbPDF190.dll

07/19/2020 10:54 PM 4,013,648 pbresource190.dll

05/25/2019 02:23 AM 983,672 pbrestclient190.dll

07/19/2020 10:54 PM 1,172,560 pbribbonbar190.dll

05/25/2019 02:23 AM 100,984 pbrtc190.dll

05/25/2019 02:23 AM 1,666,680 pbshr190.dll

07/19/2020 09:12 PM 664,064 pbsoapclient190.pbx

05/25/2019 02:23 AM 19,064 pbsysfunc190.dll

05/25/2019 02:23 AM 608,888 pbTCTEXT190.dll

05/25/2019 02:23 AM 333,432 pbtheme190.dll

05/25/2019 02:23 AM 77,944 pbtra190.dll

05/25/2019 02:23 AM 33,912 pbtrs190.dll

05/25/2019 02:23 AM 312,440 pbTXTEXT190.dll

05/25/2019 02:22 AM 3,047,032 pbUIS190.dll

05/25/2019 02:23 AM 6,474,872 pbvm190.dll

07/19/2020 10:57 PM 494,160 pbwebbrowser190.dll

07/19/2020 09:12 PM 29,184 pbwsclient190.pbd

07/19/2020 09:12 PM 923,648 pbwsclient190.pbx

05/25/2019 02:23 AM 502,392 pbXerces190.dll

05/25/2019 02:25 AM 401,528 PDC32.dll

07/19/2020 10:54 PM 1,657,936 podofo.dll

12/21/2020 08:37 AM 41,984 repotest.exe

12/21/2020 08:37 AM 146,432 repotest.pbd

05/25/2019 02:25 AM 94,328 spell32.dll

05/25/2019 02:25 AM 127,096 SSGP.dll

07/19/2020 10:57 PM 304,208 ssleay32.dll

05/25/2019 02:25 AM 114,808 ssts.dll

07/19/2020 10:55 PM 1,567,824 Sybase.PowerBuilder.Web.WebService.dll

07/19/2020 10:55 PM 40,016 Sybase.Powerbuilder.WebService.Runtime.dll

07/19/2020 10:55 PM 105,040 Sybase.PowerBuilder.WebService.RuntimeRemoteLoader.dll

07/19/2020 10:54 PM 31,824 Sybase.PowerBuilder.WebService.WSDL.dll

07/19/2020 10:54 PM 63,056 Sybase.PowerBuilder.WebService.WSDLRemoteLoader.dll

05/25/2019 02:25 AM 2,093,176 TER25.dll

05/25/2019 02:25 AM 819,320 tp15.dll

09/05/2018 04:42 PM 61,440 tp15_bmp.flt

05/25/2019 02:25 AM 368,760 tp15_css.dll

05/25/2019 02:25 AM 782,456 tp15_doc.dll

05/25/2019 02:25 AM 1,101,944 tp15_dox.dll

09/05/2018 04:42 PM 57,344 tp15_gif.flt

05/25/2019 02:25 AM 651,384 tp15_htm.dll

05/25/2019 02:25 AM 139,384 tp15_ic.dll

09/05/2018 04:42 PM 530 tp15_ic.ini

09/05/2018 04:42 PM 200,704 tp15_jpg.flt

05/25/2019 02:25 AM 335,992 tp15_obj.dll

05/25/2019 02:25 AM 663,672 tp15_pdf.dll

09/05/2018 04:42 PM 253,952 tp15_png.flt

05/25/2019 02:25 AM 585,848 tp15_rtf.dll

09/05/2018 04:42 PM 73,728 tp15_tif.flt

05/25/2019 02:25 AM 245,880 tp15_tls.dll

09/05/2018 04:42 PM 53,248 tp15_wmf.flt

05/25/2019 02:25 AM 73,848 tp15_wnd.dll

09/05/2018 04:42 PM 344,064 tp4ole15.ocx

05/25/2019 02:25 AM 102,520 TXML2.dll

12/21/2020 08:33 AM 26,673 unins000.dat

12/21/2020 08:33 AM 3,038,269 unins000.exe

05/25/2019 02:25 AM 397,432 WRS9.dll

05/25/2019 02:25 AM 473,208 WRW9.dll

05/25/2019 02:25 AM 1,916,024 xerces-c_2_8.dll

05/25/2019 02:25 AM 277,112 xerces-depdom_2_8.dll

  1. Helpful
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Monday, 30 November 2020 18:19 PM UTC
  2. PowerBuilder
  3. # 3

Hi Mitch;

1) Did you rebuild all your "proxy" objects?

2) Are you using the .NET SOAP option?

Regards ... Chris

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.