1. Moshe Tangi
  2. PowerBuilder
  3. Thursday, 24 January 2019 15:21 PM UTC

Hi all

I have created a web service ( pb 2017 R3 build 1858 ) on my machine ( called it lola_tech)

the purpose is :  connecting a db and return xml formatted answer for 3party users .

each db is physically located on my customer's site .

I want to publish the same ws as much as I need ( about 100 different sites for now)

the db connection made by an ini file ( published with the ws )

I have created  msi file and install it on the first machine .

( the db is MSsql / Sybase )

I have some Questions :

1. on my sever ( the developer one ) , I can see automatically in : c:\inetpub\wwwroot\ , 2 folders ,

on the customer's pc , its installing on : c:\program files (x86)\…   why ?

I copied the directories to the c:\inetpub\wwwroot .. Is that ok ?

 

2. Do I need something more to do ? configure ?

 

3. To get to the WSDL file , I double clicked the .asmx file but I get error on the explorer , the page cant be displayed

4. how the 3party knows to connect to the right ws if it is published on 100 pc's by the same name?

thanks

 

Moshe Tangi Accepted Answer Pending Moderation
  1. Wednesday, 6 February 2019 13:17 PM UTC
  2. PowerBuilder
  3. # 1

Hi Chris

Thanks a lot for your answers

Still see the 2 pics I uploaded

As you see I did all by the instructions but I cant produce the WSDL on the client's machine .

I don't  understand what the html ( the error pic ) tells me .

It's not a machine I can "play" as a like , afraid to do something wrong

 

Thanks a lot

Attachments (2)
Comment
  1. Chris Pollach @Appeon
  2. Wednesday, 6 February 2019 16:51 PM UTC
Hi Moshe;

1) Did you also install the PB2017Rx's .Net run-tine DLL's as well on the deployment IIS server?

Note: This is not the native PB run-time.

2) Did you create an Application Pool on the deplyment's IIS Server for your PB web service?

Regards ... Chris
  1. Helpful
  1. Moshe Tangi
  2. Wednesday, 6 February 2019 19:35 PM UTC
1. You mean the msi file produced after the changes in PBPack.ini ? I did.

2. I need to create an application pool on the customer's server ? if so , to create one and sign the app to it ?any specific parms ? have an example ?
  1. Helpful
  1. Chris Pollach @Appeon
  2. Wednesday, 6 February 2019 19:59 PM UTC
1) Yes

2) Check you local IIS instance on your developer PC for the "PBDotnet4AppPool" App pool. That is where your local PB WS's should be attached to. Then proceed to the IIS instance where you are deploying and see if your deployed PB WS's are attached to the same.

  1. Helpful
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Thursday, 24 January 2019 22:39 PM UTC
  2. PowerBuilder
  3. # 2

Hi Moshe ;

  Don't forget that you need to also deploy the WS's PB.Net run-time. That's not obvious because the PB Packager utility no longer displays that option. You need to ...

1) Create a "PBPack.ini" file in the "Shared" folder of where the PB IDE is installed.

2) Add to that INI file ...

[Packager]
DotNetComponents=1

3) Run the PB Packager and now select the .Net pieces for the WS to run on another IIS, as follows:

4) Take the MSI from step #3 and run this on the remote IIS server where the WS will be installed.

HTH

Regards ... Chris

Comment
  1. Chris Pollach @Appeon
  2. Thursday, 31 January 2019 15:58 PM UTC
Hi Moshe;

That is all that I do to make my WS's run in another IIS instance. Don't forget to make sure that the proper .NET run-times are also installed on the IIS machine. When you are installing your PB WS's, make sure that you point the installer to "c:\inetpub\wwwroot" so that your WS is installed *under* IIS - not outside as the default might be.

HTH

Regards ... Chris
  1. Helpful
  1. Moshe Tangi
  2. Monday, 11 February 2019 15:31 PM UTC
Hi Chris



I seems to work . I get to see the WSDL file under the IE . what was missed is ASP.NET for iis

Thanks a lot
  1. Helpful
  1. Chris Pollach @Appeon
  2. Monday, 11 February 2019 16:19 PM UTC
Hi Moshe;

That is great news ... thanks for letting us know!

Regards ... Chris

  1. Helpful
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.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.