Get the Metadata Available to Map to

The response from a GetMetadata request determines the possible mapping options for a policy model which uses that web service connection. The GetMetadata response represents the metadata describing the entire abstract layer. That is:

A response describing a fictional and very simple abstract layer is provided below:

<get-metadata-response xmlns="http://xmlns.oracle.com/policyautomation/hub/12.2.13/metadata/types">
    <Table name="Vehicles" can-be-input="true" can-be-output="false" accepts-attachments="false">
        <Link name="Cars" target="Car" cardinality="C_1M"/>
    </Table>
    <Table name="Car" can-be-input="false" can-be-output="false" accepts-attachments="false">
        <Field name="Model" type="STRING" can-be-input="true" can-be-output="false" is-required="false"/>
        <Field name="Price" type="DECIMAL" can-be-input="true" can-be-output="false" is-required="false"/>
        <Field name="Color" type="STRING" can-be-input="true" can-be-output="false" is-required="false"/>
    </Table>
    <Table name="Car Request" can-be-input="false" can-be-output="true" accepts-attachments="true">
        <Field name="Request ID" type="DECIMAL" can-be-input="true" can-be-output="false" is-required="true"/>
        <Field name="Selected Model" type="STRING" can-be-input="false" can-be-output="true"  is-required="true"/>
        <Field name="Contact Name" type="STRING" can-be-input="false" can-be-output="true" is-required="true"/>
        <Link name="Customer's Phone Numbers" target="Customer's Phone Number" cardinality="C_1M"/>
    </Table>
    <Table name="Customer's Phone Number" can-be-input="false" can-be-output="false" accepts-attachments="false">
        <Field name="Phone Number" type="STRING" can-be-input="false" can-be-output="true" ="true" is-required="true"/>
        <Field name="Is Preferred Number" type="BOOLEAN" can-be-input="false" can-be-output="true" is-required="true"/>
    </Table>
</get-metadata-response>