Web Applications Post-Installation Updates REST.Config Incorrectly. Bug?

614
4
04-11-2010 01:04 PM
JithenSingh
Esri Contributor
Hi There,

I have seen this problem with ArcGIS 9.3, ArcGIS 9.3.1 and now with ArcGIS 10.
Running the web application post-installation is good when machine names change however, I notice that it updates the rest.config with the new machine name.

In the rest.config you have something along the lines of this after running the web applications post-installation:

<ServerName>IP-0AF06A94</ServerName>
<SoapUrl>http://IP-0AF06A94/ArcGIS/services</SoapUrl>
<SoapSslUrl>https://IP-0AF06A94:443/ArcGIS/services</SoapSslUrl>

The problem is that IP-0AF06A94 is not a valid IP address address for a AGS that will be exposed. During the GIS Server post-installation you specify the web server name which adds the URL's to the SOM for arcgiscache, arcgisoutput etc. Can these be added into this config as well?

I have to go through and manually update them everytime.

<ServerName>IP-0AF06A94</ServerName>
<SoapUrl>http://ts1.eaglegis.co.nz/ArcGIS/services</SoapUrl>
<SoapSslUrl>https://ts1.demos.eaglegis.co.nz:443/ArcGIS/services</SoapSslUrl>

Cheers
0 Kudos
4 Replies
RaviNarayanan
Esri Contributor
Jithen,

The first time you set up the SOAP/SoapSsl url to an external url, it has to be done manually. Currently when the Webservices post install is run for the first time, it will apply the host name that is given to generate the Soap and SoapSsl urls.  At 10 Final, Webservices post install has been updated to not alter SoapUrl, SoapSslUrl,ServicesDirectoryHelpUrl and ApiBaseHelpUrl if those already contain a value.

Ravi
0 Kudos
JithenSingh
Esri Contributor
Thanks for the reply. When you mention it has to be done manually, are you meaning you have to go in and modify the rest.config file yourself?

Any chance it could be changed so that it picks this up from the GIS Services post-installation? and sets the SoapUrl and SoapSslUrl

Cheers
0 Kudos
RaviNarayanan
Esri Contributor
Jithen,

Yes at 10 rest.config has to be edited to update the SOAPUrl and SOAPSSl url to not use the URL generated for the hostname. Since Web Services can be installed independent of SOM/SOC, the webserver settings from GIS Server post install may not be always available.

I'll submit a request for solution (post 10.0) that will allow updating the SOAP URL in rest.config without the need for hand edit.

Ravi
0 Kudos
JithenSingh
Esri Contributor
Jithen,

Yes at 10 rest.config has to be edited to update the SOAPUrl and SOAPSSl url to not use the URL generated for the hostname. Since Web Services can be installed independent of SOM/SOC, the webserver settings from GIS Server post install may not be always available.

I'll submit a request for solution (post 10.0) that will allow updating the SOAP URL in rest.config without the need for hand edit.

Ravi


Thanks Ravi that would be great to have a tool available, even better if its scriptable via a command line.

Cheers
0 Kudos