Export (0) Print
Expand All

ServiceCatalog.config

Connected Services Framework

The following diagram shows how the Web.config file references the Common.config, EnterpriseInstrumentation.config, TraceSessions.config, PolicyCache.config, and ServiceCatalog.config configuration files:

Please see the previous sections for Web.config, Common.config, EnterpriseInstrumentation.config, TraceSessions.config, and PolicyCache.config. These files are used by all of the Connected Services Framework components.

ServiceCatalog.config

The ServiceCatalog.config file is located in the directory specified by the ServiceCatalog property of the Web.config file that is located in the Service Catalog deployment directory:

<Microsoft.Csf>

 …

 <ConfigFiles>

 …

 <add key="ServiceCatalog" value="C:\Program Files\Microsoft\Microsoft Csf\Configuration ServiceCatalog.config" />

 …

 </ConfigFiles>

 …

</Microsoft.Csf>

Here is an example of ServiceCatalog.config:

<?xml version="1.0" encoding="utf-8"?>

<ServiceCatalogConfigurationSettings>

<!--

   These are the configuration settings for the Service catalog.  They relate to finding

   the appropriate instance of the UDDI service to allow it to lookup services.

-->

<ConfigValues>

       <!-- This is the uri of the inquiry page for UDDI.  -->

       <ConfigValue key="UDDIInquiryServiceURL" value="http://csf-dev-mom/uddipublic/inquire.asmx" />

 

       <!-- This is the uri of the publish page for UDDI.  Not used in current release-->

       <ConfigValue key="UDDIPublishServiceURL" value="http://csf-dev-mom/uddipublic/publish.asmx" />

 

       <!-- This parameter specifies how long the service urls are cached after they return from

              uddi.  <=0 means they never expired, a positive value is the number of minutes

              between clearings of the cache.  Note that UDDI calls are quite expensive. -->

       <ConfigValue key="UDDIServiceLookupCacheRefresh" value="10" />

</ConfigValues>

</ServiceCatalogConfigurationSettings>

Please note that the Connected Services Framework Service Catalog component will re-load its configuration file every 15 minutes. The component should be restarted if you need to re-read the ServiceCatalog.config file before 15 minutes has elapsed.

ServiceCatalog.config configuration values:

 UDDIInquiryServiceURL

Description

URI of the UDDI inquiry page.

How it is used

The UDDI API requires the location of the inquiry page to look up data in UDDI. This is used for the GetServiceUris() call as well as the ReadService() call. At configuration time, the only part of the value that has to be changed is the hostname; the rest of the URI is defined by UDDI and will not change unless UDDI itself is updated.

Default value

http://hostname/uddipublic/inquire.asmx

Needs to be changed for each deployment

Yes

 UDDIPublishServiceURL

Description

URI of the UDDI publish page.

How it is used

This is used by the UDDI API to locate the publish page when adding data into UDDI. This parameter is loaded and by Service Catalog and must be a valid URI; however, it is not used in the current release. At configuration time, the only part of the value that has to be changed is the hostname; the rest of the URI is defined by UDDI and will not change unless UDDI itself is updated.  

Default value

http://hostname/uddipublic/publish.asmx

Needs to be changed for each deployment

Yes

 UDDIServiceLookupCacheRefresh

Description

Duration, in minutes, that the Service Catalog will cache retrieved values from UDDI.

How it is used

The Service Catalog will clear its cache of URIs based on this value. This effects the GetServiceUris() call directly as it always searches the cache first. The ReadService() call gets the URI from the cache, but the additional service details come from UDDI each time it is called.

If this value is not specified or is <=0, the cache will never timeout.

Default value

10

Needs to be changed for each deployment

No

Show:
© 2014 Microsoft