Article - CS311821

Windchill OSLC Server support added to Windchill PDMLink 11.1 M020 CPS08 and 11.2.0.2

Modified: 05-Mar-2024   


Applies To

  • Windchill PDMLink 11.1 M020-CPS08
  • Windchill PDMLink 11.2.0.2 to 12.0

Description

  • Windchill now provides OSLC server APIs to support querying and linking of OSLC Clients to Windchill Parts based on OSLC specifications.
  • Windchill supports the following OSLC specifications:
The Windchill OSLC Services are responsible for mapping Windchill objects to a corresponding OSLC resource and provide the response for these resources in the requested format. Following are the supported formats:
  • rdf+xml (Default)
  • text/turtle
NOTE:  The Windchill OSLC Services can be used only by OSLC clients; non-OSLC clients must use the Windchill (OData) Rest Services (WRS).
 
OSLC Catlog
  • The OSLC Catalog can be accessed at http(s)://<server>:<port>/Windchill/oslc/catalog for more information on all available services, resources and terminology.

OAuth Configuration
  • The default authorization for the Windchill OSLC Services is Basic authorization. An additional configuration step is required to enable OAuth authorization.  See Configure OAuth Delegated Authorization for steps to configure Windchill to use OAuth. Once Windchill OAuth is configured the following Windchill properties need to be set in wt.properties:
 
Property Name
Description
oslc.authorizationURIURI for obtaining OAuth authorization.
oslc.oauthAccessTokenURIURI for obtaining OAuth access token.
oslc.oauthRequestTokenURIURI for obtaining OAuth request token.
  • When the OSLC OAuth properties are configured, the Windchill OSLC Catalog includes the OAuthConfiguration property which allows OSLC clients to discover that they should use OAuth authorization. 
Required Configuration when Updating Windchill from Previous Releases

Perform following steps to enable the Windchill OSLC Services after updating from a previous version of Windchill.
  1. Add the following entry to %WT_HOME%/codebase/WEB_INF/web.xml
     <servlet-mapping>
        <servlet-name>OSLCServlet</servlet-name>
        <url-pattern>/oslc/*</url-pattern>
      </servlet-mapping
  2. To add the OSLC path to the Apache configuration, add the following entry to HTTPServer/conf/conf.d/30-app-Windchill-AJP.conf
    JkMount /Windchill/oslc/* ajpWorke
  3. To configure the OSLC catalog for anonymous access in the Apache configuration, add the following entry to HTTPServer/conf/conf.d/30-app-Windchill-Auth.conf
    <LocationMatch ^/+Windchill/+oslc/catalog(;.*)?>
      Require all granted
    </LocationMatch
Note: do not edit the .conf files directly; use the procedure outlined in CS250053
This is a printer-friendly version of Article 311821 and may be out of date. For the latest version click CS311821