Metadata Service (v12.2.5)

The metadata services are used to retrieve metadata from a web service connector. The response from a GetMetadata request determines the possible mapping options within an OPM project which use a that web service connector via one of the Hub's configured connections. Another method, CheckAlive, simply allows the Hub to verify that a connection's configuration is valid and that the service is responding.

 

WSDL

Download the Current Version of the Web Service Connector WSDL

Namespace

http://xmlns.oracle.com/policyautomation/hub/12.2.5/metadata/types

Actions

CheckAlive, GetMetadata

Headers

Security

CheckAlive

This action allows Intelligent Advisor Hub to check whether the web service connector is online and responding satisfactorily to the credentials that the web service connection has been configured with.

The web service will receive a SOAPAction of CheckAlive with a Security header (if the connection was configured with a username and password), and the body will contain an empty element named check-alive-request with the namespace http://xmlns.oracle.com/policyautomation/hub/12.2.5/metadata/types.

The web service receiving the request should parse the request and verify the credentials within the security header. If the credentials do not pass, the response should be an error such as HTTP 401 Unauthorized. The response is expected to be an HTTP 200 OK with the body containing an empty element named check-alive-response if the service accepts the username and password supplied. Alternately if the SOAP Body is empty, or if it contains a GetMetadata Response this will also be accepted, this gives the flexibility to use a RESTful web service. Otherwise Intelligent Advisor Hub will interpret the response, or lack of response, as an offline web service connection and will display the connection as Failing on the Connections page in Intelligent Advisor Hub.

The CheckAlive method provides a means for a Hub to establish that a web service connector is running.

Request

A CheckAlive request contains a mandatory check-alive-request node, without any child elements.

 

Response

A CheckAlive response contains a mandatory check-alive-response node, without any child elements.

 

Errors

If the response to a CheckAlive request from a configured web service is not as described above, the Hub will display the status of the service as 'Failed' under the Connections page.

GetMetadata

The metadata action will have a SOAPAction of GetMetadata. The Security header will be included if the web service connection was configured in Intelligent Advisor Hub with a username and password, and must be understood by the web service. The body of the request will contain an empty element named languageCode with the namespace http://xmlns.oracle.com/policyautomation/hub/12.2.5/metadata/types. The only information supplied in the request is the language used in the project, which may be utilized by the web service connector to include descriptions of metadata elements in that language. The response must contain all of the metadata which is available for Policy Modeling to map attributes, tables and relationships to.

Request

Parameter Type Description
language xsd:string The language of the project is included so that a web service connector is able to return a contextual response using descriptions in the language specified.

Response

Parameter Type Description
MetadataEnumerations MetaEnumList Describes the set of enumerated data types provided by this metadata service.
supports-checkpoints xsd:boolean When true, indicates that the web service will support SetCheckpoint and GetCheckpoint.
Table MetaTable Describes a table which can be used for mapping purposes in an OPM project.