Skip Headers
Oracle® Fusion Middleware Developer's Guide for Oracle WebCenter Portal
11g Release 1 (11.1.1.6.0)

Part Number E10148-19
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
PDF · Mobi · ePub

68 Using Personalization APIs Externally

A client can access the WebCenter Personalization public APIs using Java APIs or public Rest APIs as described in the following sections:

68.1 Using Java APIs

The service interfaces shown in Table 68-1 define the remote Conductor API.

Table 68-1 Remote Conductor APIs

Interface/Service Description

oracle.wcps.conductor.services.IScenariosService

General management, retrieval, and execution of stored Scenarios.

oracle.wcps.conductor.services.INamespaceService

General management of stored namespaces known to the Conductor.

oracle.wcps.conductor.services.IProviderService

Retrieval of provider metadata known to the Conductor server.


For more information about Personalization Java APIs, see the JavaDoc for WebCenter in the Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal.

68.2 Using the Property Service REST APIs

This section provides examples of how you can use the Property Service's REST APIs to programatically carry out basic Personalization tasks, such as:

This section contains the following subsections:

68.2.1 Accessing the Property Service's Resource Index

The Property Service resource index's response contains links and templates to access other resources of the Property Service. For the request and response for accessing the Property Service's resource index, see Section 68.3.1.1, "ResourceIndex."

68.2.2 Creating a Namespace Using the Property Service

Creating an object using the REST HTTP interface requires setting the request method to POST and adding a header content-type with the value application/xml. For the request and response for creating a namespace using the Property Service, see Section 68.3.2.1, "Create Namespace."

68.2.3 Viewing Property Set Definitions Within a Namespace Using the Property Service

For the request and response for viewing property set definitions within a namespace using the Property Service, see Section 68.3.4.3, "Retrieve All Property Set Definitions."

68.2.4 Creating a Property Definition Within a Namespace Using the Property Service

For the request and response for creating a property definitions within a namespace using the Property Service, see Section 68.3.3.1, "Create Property Definition - Create Integer Property Definition."

68.2.5 Viewing Property Definitions Within a Namespace Using the Property Service

For the request and response for viewing property definitions within a namespace using the Property Service, see Section 68.3.3.6, "Retrieve all Property Definitions."

68.2.6 Creating a Property Set Definition Within a Namespace Using the Property Service

For the request and response for creating a property set definition within a namespace using the Property Service, see Section 68.3.4.1, "Create Property Set Definition."

68.2.7 Creating a Property Set Within a Namespace Using the Property Service

For the request and response for creating a property set within a namespace using the Property Service, see Section 68.3.5.1, "Create Property Set."

68.2.8 Viewing a Property Set Within a Namespace Using the Property Service

For the request and response for viewing a property set within a namespace using the Property Service, see Section 68.3.5.5, "Retrieve all Property Sets."

68.2.9 Accessing the Conductor ResourceIndex

Note that in the example below the link templates and ResourceIndex will be modified to comply with best practice guidelines.

Request URI:
GET http://localhost:8891/wcps/api/conductor/resourceIndex
 
Response:
<resourceIndex resourceType="urn:oracle:wcps:conductor:resourceIndex">
  <links>
    <link resourceType="urn:oracle:wcps:conductor:namespaces" rel="urn:oracle:wcps:conductor:namespaces" href="http://localhost:8891/wcps/api/conductor/namespaces" capabilities="urn:oracle:restframework:read urn:oracle:restframework:create"/>
    <link template="http://localhost:8891/wcps/api/conductor/namespaces/%7Bnamespace%7D" resourceType="urn:oracle:wcps:conductor:namespace" rel="urn:oracle:wcps:conductor:namespace" capabilities="urn:oracle:restframework:read"/>
    <link template="http://localhost:8891/wcps/api/conductor/namespaces/%7Bnamespace%7D/scenarios?tag={tag}&amp;projection={projection}&amp;startIndex={startIndex}&amp;itemsPerPage={itemsPerPage}" resourceType="urn:oracle:wcps:conductor:scenarioMetadatas" rel="urn:oracle:wcps:conductor:scenarioMetadatas" capabilities="urn:oracle:restframework:read"/>
    <link template="http://localhost:8891/wcps/api/conductor/namespaces/%7Bnamespace%7D/scenarios/%7Bscenario-name%7D?projection={projection}&amp;startIndex={startIndex}&amp;itemsPerPage={itemsPerPage}" resourceType="urn:oracle:wcps:conductor:scenario" rel="urn:oracle:wcps:conductor:scenario" capabilities="urn:oracle:restframework:read"/>
    <link template="http://localhost:8891/wcps/api/conductor/namespaces/%7Bnamespace%7D/dataProviders?projection={projection}&amp;startIndex={startIndex}&amp;itemsPerPage={itemsPerPage}" resourceType="urn:oracle:wcps:conductor:provider:dataProviders" rel="urn:oracle:wcps:conductor:provider:dataProviders" capabilities="urn:oracle:restframework:read"/>
    <link template="http://localhost:8891/wcps/api/conductor/namespaces/%7Bnamespace%7D/dataProviders/%7Bprovider-name%7D?projection={projection}" resourceType="urn:oracle:wcps:conductor:provider:dataProvider" rel="urn:oracle:wcps:conductor:provider:dataProvider" capabilities="urn:oracle:restframework:read"/>
    <link template="http://localhost:8891/wcps/api/conductor/namespaces/%7Bnamespace%7D/functionProviders?projection={projection}&amp;startIndex={startIndex}&amp;itemsPerPage={itemsPerPage}" resourceType="urn:oracle:wcps:conductor:provider:functionProviders" rel="urn:oracle:wcps:conductor:provider:functionProviders" capabilities="urn:oracle:restframework:read"/>
    <link template="http://localhost:8891/wcps/api/conductor/namespaces/%7Bnamespace%7D/functionProviders/%7Bcategory-name%7D:%7Bfunction-name%7D?projection={projection}" resourceType="urn:oracle:wcps:conductor:provider:functionProvider" rel="urn:oracle:wcps:conductor:provider:functionProvider" capabilities="urn:oracle:restframework:read"/>
  </links>
</resourceIndex>

68.2.10 Accessing Namespaces Using the Conductor

Request URI:
GET  http://localhost:8891/wcps/api/conductor/namespaces
 
Response:
<namespaces resourceType="urn:oracle:wcps:conductor:namespaces">
  <links>
    <link resourceType="urn:oracle:wcps:conductor:resourceIndex" rel="urn:oracle:webcenter:parent" href="http://localhost:8891/wcps/api/conductor/resourceIndex" capabilities="urn:oracle:restframework:read"/>
    <link resourceType="urn:oracle:wcps:conductor:namespaces" rel="self" href="http://localhost:8891/wcps/api/conductor/namespaces" capabilities="urn:oracle:restframework:read urn:oracle:restframework:create"/>
  </links>
  <items>
    <namespace resourceType="urn:oracle:wcps:conductor:namespace">
      <links>
        <link resourceType="urn:oracle:wcps:conductor:namespaces" rel="urn:oracle:webcenter:parent" href="http://localhost:8891/wcps/api/conductor/namespaces" capabilities="urn:oracle:restframework:read"/>
        <link resourceType="urn:oracle:wcps:conductor:namespace" rel="self" href="http://localhost:8891/wcps/api/conductor/namespaces/people.connections.person" capabilities="urn:oracle:restframework:read urn:oracle:restframework:delete"/>
        <link template="http://localhost:8891/wcps/api/conductor/namespaces/people.connections.person/scenarios?tag={tag}&amp;projection={projection}&amp;startIndex={startIndex}&amp;itemsPerPage={itemsPerPage}" resourceType="urn:oracle:wcps:conductor:scenarioMetadatas" 
rel="urn:oracle:wcps:conductor:scenarioMetadatas" href="http://localhost:8891/wcps/api/conductor/namespaces/people.connections.person/scenarios" capabilities="urn:oracle:restframework:read urn:oracle:restframework:create"/>
        <link template="http://localhost:8891/wcps/api/conductor/namespaces/people.connections.person/dataProviders?projection={projection}" resourceType="urn:oracle:wcps:conductor:provider:dataProviders" 
rel="urn:oracle:wcps:conductor:provider:dataProviders" href="http://localhost:8891/wcps/api/conductor/namespaces/people.connections.person/dataProviders" capabilities="urn:oracle:restframework:read"/>
        <link template="http://localhost:8891/wcps/api/conductor/namespaces/people.connections.person/functionProviders?projection={projection}" resourceType="urn:oracle:wcps:conductor:provider:functionProviders" 
rel="urn:oracle:wcps:conductor:provider:functionProviders" href="http://localhost:8891/wcps/api/conductor/namespaces/people.connections.person/functionProviders" capabilities="urn:oracle:restframework:read"/>
      </links>
      <name>people.connections.person</name>
    </namespace>
    <namespace resourceType="urn:oracle:wcps:conductor:namespace">
      <links>
        <link resourceType="urn:oracle:wcps:conductor:namespaces" rel="urn:oracle:webcenter:parent" href="http://localhost:8891/wcps/api/conductor/namespaces" capabilities="urn:oracle:restframework:read"/>
        <link resourceType="urn:oracle:wcps:conductor:namespace" rel="self" href="http://localhost:8891/wcps/api/conductor/namespaces/JDEV" capabilities="urn:oracle:restframework:read urn:oracle:restframework:delete"/>
        <link template="http://localhost:8891/wcps/api/conductor/namespaces/JDEV/scenarios?tag={tag}&amp;projection={projection}&amp;startIndex={startIndex}&amp;itemsPerPage={itemsPerPage}" resourceType="urn:oracle:wcps:conductor:scenarioMetadatas" 
rel="urn:oracle:wcps:conductor:scenarioMetadatas" href="http://localhost:8891/wcps/api/conductor/namespaces/JDEV/scenarios" capabilities="urn:oracle:restframework:read urn:oracle:restframework:create"/>
        <link template="http://localhost:8891/wcps/api/conductor/namespaces/JDEV/dataProviders?projection={projection}" resourceType="urn:oracle:wcps:conductor:provider:dataProviders" 
rel="urn:oracle:wcps:conductor:provider:dataProviders" href="http://localhost:8891/wcps/api/conductor/namespaces/JDEV/dataProviders" capabilities="urn:oracle:restframework:read"/>
        <link template="http://localhost:8891/wcps/api/conductor/namespaces/JDEV/functionProviders?projection={projection}" resourceType="urn:oracle:wcps:conductor:provider:functionProviders" 
rel="urn:oracle:wcps:conductor:provider:functionProviders" href="http://localhost:8891/wcps/api/conductor/namespaces/JDEV/functionProviders" capabilities="urn:oracle:restframework:read"/>
      </links>
      <name>JDEV</name>
    </namespace>
  </items>
</namespaces>

68.2.11 Creating a Scenario Within a Namespace Using the Conductor

Request URI:
POST http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/scenarios
 
Request Body:
<scenarioMetadata>
<scenario xmlns:ns2="http://xmlns.oracle.com/webcenter/conductor/common/1.0.0" xmlns:ns3="http://xmlns.oracle.com/webcenter/conductor/scenarios/1.0.0">
  <body>
    <assign-variable>
      <variable>var1</variable>
      <expression>${ScenarioContext.scenarioRequest.parameters['param1']}</expression>
    </assign-variable>
    <assign-variable>
      <variable>var2</variable>
      <expression>${var1}</expression>
    </assign-variable>
    <return>
      <expression>${var2}</expression>
    </return>
  </body>
  <name>FeatureCompleteScenario</name>
  <comments>FeatureCompleteScenario comments</comments>
  <tags>
    <tag>FeatureScenario</tag>
    <tag>ScenarioExample</tag>
    <tag>Simple</tag>
  </tags>
</scenario>
</scenarioMetadata>
 
Response:
<scenarioMetadata xmlns:ns2="http://xmlns.oracle.com/wcps/conductor/common/1.0.0" xmlns:ns3="http://xmlns.oracle.com/wcps/conductor/scenarios/1.0.0">
  <links>
    <link template="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/scenarios/FeatureCompleteScenario?projection={projection}&startIndex={startIndex}&itemsPerPage={itemsPerPage}" resourceType="urn:oracle:wcps:conductor:scenario-metadata" rel="self" 
href="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/scenarios" capabilities="urn:oracle:restframework:read urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete urn:oracle:restframework:execute"/>
    <link resourceType="urn:oracle:wcps:conductor:scenario" rel="alternate" href="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/scenarios/FeatureCompleteScenario/definition" capabilities="urn:oracle:restframework:read"/>
  </links>
  <status>PUBLISHED</status>
  <created-author>anonymous</created-author>
  <created-date-time>2010-05-11T15:52:30.729-07:00</created-date-time>
  <updated-author>anonymous</updated-author>
  <updated-date-time>2010-05-11T15:52:30.729-07:00</updated-date-time>
  <scenario>
    <type>Scenario</type>
    <body>
      <assign-variable>
        <type>VariableAssignment</type>
        <variable>var1</variable>
        <expression>${ScenarioContext.scenarioRequest.parameters['param1']}</expression>
      </assign-variable>
      <assign-variable>
        <type>VariableAssignment</type>
        <variable>var2</variable>
        <expression>${var1}</expression>
      </assign-variable>
      <return>
        <type>Return</type>
        <expression>${var2}</expression>
      </return>
    </body>
    <name>FeatureCompleteScenario</name>
    <comments>FeatureCompleteScenario comments</comments>
    <tags>
      <tag>FeatureScenario</tag>
      <tag>ScenarioExample</tag>
      <tag>Simple</tag>
    </tags>
    <input-parameters/>
  </scenario>
</scenarioMetadata>

68.2.12 Viewing Scenarios Within a Namespace Using the Conductor

Request URI:
GET http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/scenarios
 
Response:
<scenarios xmlns:ns2="http://xmlns.oracle.com/wcps/conductor/common/1.0.0" xmlns:ns3="http://xmlns.oracle.com/wcps/conductor/scenarios/1.0.0">
  <links>
    <link template="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/scenarios?tag={tag}&projection={projection}&startIndex={startIndex}&itemsPerPage={itemsPerPage}" 
resourceType="urn:oracle:wcps:conductor:scenarios" rel="self" href="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/scenarios" capabilities="urn:oracle:restframework:read urn:oracle:restframework:read urn:oracle:restframework:create"/>
  </links>
  <items>
    <scenarioMetadata>
      <links>
        <link template="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/scenarios/FeatureCompleteScenario?projection={projection}&startIndex={startIndex}&itemsPerPage={itemsPerPage}" resourceType="urn:oracle:wcps:conductor:scenario-metadata" rel="self" 
href="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/scenarios/FeatureCompleteScenario" capabilities="urn:oracle:restframework:read urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete urn:oracle:restframework:execute"/>
        <link resourceType="urn:oracle:wcps:conductor:scenario" rel="alternate" href="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/scenarios/FeatureCompleteScenario/definition" 
capabilities="urn:oracle:restframework:read"/>
      </links>
      <status>PUBLISHED</status>
      <created-author>anonymous</created-author>
      <created-date-time>2010-05-11T15:52:30.729-07:00</created-date-time>
      <updated-author>anonymous</updated-author>
      <updated-date-time>2010-05-11T15:52:30.729-07:00</updated-date-time>
      <scenario>
        <type>Scenario</type>
        <name>FeatureCompleteScenario</name>
        <comments>FeatureCompleteScenario comments</comments>
        <tags>
          <tag>FeatureScenario</tag>
          <tag>ScenarioExample</tag>
          <tag>Simple</tag>
        </tags>
        <input-parameters/>
      </scenario>
    </scenarioMetadata>
  </items>
</scenarios>

68.2.13 Executing a Scenario Using the Conductor

Request URI:
POST http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/scenarios/FeatureCompleteScenario
 
Request Body:
<parameters>
  <parameter>
    <name>param1</name>
    <value>param1Value</value>
</parameter>
<parameter>
    <name>param2</name>
    <value>param2Value</value>
  </parameter>
</parameters>
 
Response:
<conductorExecutionResults resourceType="urn:oracle:wcps:conductor:genericType">
  <type>java.lang.String</type>
  <results xsi:type="xs:string" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema">param1Value</results>
</conductorExecutionResults>

68.2.14 Viewing Data Providers Within a Namespace Using the Conductor

Three IDataProvider implementations are provided out-of-the-box and are accessible in every namespace: ActivityGraphProvider; CMISDataProvider; PropertiesProvider.

Request URI:
http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders
 
Response:
<dataProviders resourceType="urn:oracle:wcps:conductor:provider:dataProviders">
  <links>
    <link template="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders?projection={projection}" resourceType="urn:oracle:wcps:conductor:provider:dataProviders" rel="self" href="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders" capabilities="urn:oracle:restframework:read"/>
  </links>
  <items>
    <dataProvider resourceType="urn:oracle:wcps:conductor:provider:dataProvider">
      <links>
        <link template="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders?projection={projection}" resourceType="urn:oracle:wcps:conductor:provider:dataProviders" rel="urn:oracle:webcenter:parent" href="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders" capabilities="urn:oracle:restframework:read"/>
        <link template="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders/CMISProvider?projection={projection}" resourceType="urn:oracle:wcps:conductor:provider:dataProvider" rel="self" href="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders/CMISProvider" capabilities="urn:oracle:restframework:read"/>
      </links>
      <name>CMISProvider</name>
      <localizedName>Universal Content Provider (CMIS)</localizedName>
      <localizedDescription>Provides access to content over CMIS connections.</localizedDescription>
    </dataProvider>
    <dataProvider resourceType="urn:oracle:wcps:conductor:provider:dataProvider">
      <links>
        <link template="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders?projection={projection}" resourceType="urn:oracle:wcps:conductor:provider:dataProviders" rel="urn:oracle:webcenter:parent" href="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders" capabilities="urn:oracle:restframework:read"/>
        <link template="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders/ActivityGraphProvider?projection={projection}" resourceType="urn:oracle:wcps:conductor:provider:dataProvider" rel="self" href="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders/ActivityGraphProvider" capabilities="urn:oracle:restframework:read"/>
      </links>
      <name>ActivityGraphProvider</name>
      <localizedName>Activity Graph</localizedName>
      <localizedDescription>Activity Graph Adapter</localizedDescription>
    </dataProvider>
    <dataProvider resourceType="urn:oracle:wcps:conductor:provider:dataProvider">
      <links>
        <link template="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders?projection={projection}" resourceType="urn:oracle:wcps:conductor:provider:dataProviders" rel="urn:oracle:webcenter:parent" href="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders" capabilities="urn:oracle:restframework:read"/>
        <link template="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders/oracle.PropertiesServiceProvider?projection={projection}" resourceType="urn:oracle:wcps:conductor:provider:dataProvider" rel="self" href="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders/oracle.PropertiesServiceProvider" capabilities="urn:oracle:restframework:read"/>
      </links>
      <name>oracle.PropertiesServiceProvider</name>
      <localizedName>Property Service Data Provider</localizedName>
      <localizedDescription>Data provider implementation to integrate the properties service for use in scenarios.</localizedDescription>
    </dataProvider>
  </items>
</dataProviders>

68.2.15 Viewing Detailed Data Provider Properties Within a Namespace Using the Conductor

Request URI:
GET http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders/oracle.PropertiesServiceProvider
 
Response:
<dataProvider resourceType="urn:oracle:wcps:conductor:provider:dataProvider">
  <links>
    <link template="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders?projection={projection}" resourceType="urn:oracle:wcps:conductor:provider:dataProviders" rel="urn:oracle:webcenter:parent" href="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders" capabilities="urn:oracle:restframework:read"/>
    <link template="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders/oracle.PropertiesServiceProvider?projection={projection}" resourceType="urn:oracle:wcps:conductor:provider:dataProvider" rel="self" href="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders/oracle.PropertiesServiceProvider" capabilities="urn:oracle:restframework:read"/>
    <link template="http://localhost:8891/wcps/api/conductor/namespaces/%7Bnamespace%7D/dataProviders/%7Bprovider-name%7D/connections?projection={projection}" resourceType="urn:oracle:wcps:conductor:provider:providerConnections" rel="urn:oracle:wcps:conductor:provider:providerConnections" capabilities="urn:oracle:restframework:read"/>
    <link template="http://localhost:8891/wcps/api/conductor/namespaces/%7Bnamespace%7D/dataProviders/%7Bprovider-name%7D/connections/%7Bconnection-name%7D?projection={projection}" resourceType="urn:oracle:wcps:conductor:provider:providerConnection" rel="urn:oracle:wcps:conductor:provider:providerConnection" capabilities="urn:oracle:restframework:read"/>
    <link template="http://localhost:8891/wcps/api/conductor/namespaces/%7Bnamespace%7D/dataProviders/%7Bprovider-name%7D/connections/%7Bconnection-name%7D/resources?projection={projection}" resourceType="urn:oracle:wcps:conductor:provider:connectionResources" rel="urn:oracle:wcps:conductor:provider:connectionResources" capabilities="urn:oracle:restframework:read"/>
    <link template="http://localhost:8891/wcps/api/conductor/namespaces/%7Bnamespace%7D/dataProviders/%7Bprovider-name%7D/connections/%7Bconnection-name%7D/resources/%7Bresource-name%7D?projection={projection}" resourceType="urn:oracle:wcps:conductor:provider:connectionResource" rel="urn:oracle:wcps:conductor:provider:connectionResource" capabilities="urn:oracle:restframework:read"/>
    <link template="http://localhost:8891/wcps/api/conductor/namespaces/%7Bnamespace%7D/dataProviders/%7Bprovider-name%7D/connections/%7Bconnection-name%7D/resources/%7Bresource-name%7D/methods?projection={projection}" resourceType="urn:oracle:wcps:conductor:provider:resourceMethods" rel="urn:oracle:wcps:conductor:provider:resourceMethods" capabilities="urn:oracle:restframework:read"/>
    <link template="http://localhost:8891/wcps/api/conductor/namespaces/%7Bnamespace%7D/dataProviders/%7Bprovider-name%7D/connections/%7Bconnection-name%7D/resources/%7Bresource-name%7D/methods/%7Bmethod-name%7D?projection={projection}" resourceType="urn:oracle:wcps:conductor:provider:resourceMethod" rel="urn:oracle:wcps:conductor:provider:resourceMethod" capabilities="urn:oracle:restframework:read"/>
  </links>
  <name>oracle.PropertiesServiceProvider</name>
  <localizedName>Property Service Data Provider</localizedName>
  <localizedDescription>Data provider implementation to integrate the properties service for use in scenarios.</localizedDescription>
  <providerConnections resourceType="urn:oracle:wcps:conductor:provider:providerConnections">
    <links>
      <link template="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders/oracle.PropertiesServiceProvider?projection={projection}" resourceType="urn:oracle:wcps:conductor:provider:dataProvider" rel="urn:oracle:webcenter:parent" href="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders/oracle.PropertiesServiceProvider" capabilities="urn:oracle:restframework:read"/>
      <link template="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders/oracle.PropertiesServiceProvider/connections?projection={projection}" resourceType="urn:oracle:wcps:conductor:provider:providerConnections" rel="self" href="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders/oracle.PropertiesServiceProvider/connections" capabilities="urn:oracle:restframework:read"/>
    </links>
    <items>
      <providerConnection resourceType="urn:oracle:wcps:conductor:provider:providerConnection">
        <links>
          <link template="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders/oracle.PropertiesServiceProvider/connections?projection={projection}" resourceType="urn:oracle:wcps:conductor:provider:providerConnections" rel="urn:oracle:webcenter:parent" href="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders/oracle.PropertiesServiceProvider/connections" capabilities="urn:oracle:restframework:read"/>
          <link template="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/metadata?projection={projection}" resourceType="urn:oracle:wcps:conductor:provider:connectionMetadata" rel="urn:oracle:wcps:conductor:provider:connectionMetadata" href="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/metadata" capabilities="urn:oracle:restframework:read"/>
          <link template="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection?projection={projection}" resourceType="urn:oracle:wcps:conductor:provider:providerConnection" rel="self" href="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection" capabilities="urn:oracle:restframework:read"/>
        </links>
        <name>LocalServerConnection</name>
      </providerConnection>
    </items>
  </providerConnections>
</dataProvider>

68.2.16 Viewing Data Provider Connections Within a Namespace Using the Conductor

Request URI:
GET http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders/oracle.PropertiesServiceProvider/connections
 
Response:
<providerConnections resourceType="urn:oracle:wcps:conductor:provider:providerConnections">
  <links>
    <link template="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders/oracle.PropertiesServiceProvider?projection={projection}" resourceType="urn:oracle:wcps:conductor:provider:dataProvider" rel="urn:oracle:webcenter:parent" href="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders/oracle.PropertiesServiceProvider" capabilities="urn:oracle:restframework:read"/>
    <link template="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders/oracle.PropertiesServiceProvider/connections?projection={projection}" resourceType="urn:oracle:wcps:conductor:provider:providerConnections" rel="self" href="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders/oracle.PropertiesServiceProvider/connections" capabilities="urn:oracle:restframework:read"/>
  </links>
  <items>
    <providerConnection resourceType="urn:oracle:wcps:conductor:provider:providerConnection">
      <links>
        <link template="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders/oracle.PropertiesServiceProvider/connections?projection={projection}" resourceType="urn:oracle:wcps:conductor:provider:providerConnections" rel="urn:oracle:webcenter:parent" href="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders/oracle.PropertiesServiceProvider/connections" capabilities="urn:oracle:restframework:read"/>
        <link template="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/metadata?projection={projection}" resourceType="urn:oracle:wcps:conductor:provider:connectionMetadata" rel="urn:oracle:wcps:conductor:provider:connectionMetadata" href="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/metadata" capabilities="urn:oracle:restframework:read"/>
        <link template="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection?projection={projection}" resourceType="urn:oracle:wcps:conductor:provider:providerConnection" rel="self" href="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection" capabilities="urn:oracle:restframework:read"/>
      </links>
      <name>LocalServerConnection</name>
      <connectionResources resourceType="urn:oracle:wcps:conductor:provider:connectionResources">
        <links>
          <link template="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection?projection={projection}" resourceType="urn:oracle:wcps:conductor:provider:providerConnection" rel="urn:oracle:webcenter:parent" href="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection" capabilities="urn:oracle:restframework:read"/>
          <link template="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources?projection={projection}" resourceType="urn:oracle:wcps:conductor:provider:connectionResources" rel="self" href="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources" capabilities="urn:oracle:restframework:read"/>
        </links>
        <items>
          <connectionResource resourceType="urn:oracle:wcps:conductor:provider:connectionResource">
            <links>
              <link template="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources?projection={projection}" resourceType="urn:oracle:wcps:conductor:provider:connectionResources" rel="urn:oracle:webcenter:parent" href="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources" capabilities="urn:oracle:restframework:read"/>
              <link template="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource?projection={projection}" resourceType="urn:oracle:wcps:conductor:provider:connectionResource" rel="self" href="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource" capabilities="urn:oracle:restframework:read"/>
            </links>
            <name>GetPropertiesResource</name>
          </connectionResource>
        </items>
      </connectionResources>
    </providerConnection>
  </items>
</providerConnections>

68.2.17 Viewing Data Provider Connection Resources Within a Namespace Using the Conductor

Request URI:
GET http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources
 
Response:
<connectionResources resourceType="urn:oracle:wcps:conductor:provider:connectionResources">
  <links>
    <link template="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection?projection={projection}" resourceType="urn:oracle:wcps:conductor:provider:providerConnection" rel="urn:oracle:webcenter:parent" href="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection" capabilities="urn:oracle:restframework:read"/>
    <link template="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources?projection={projection}" resourceType="urn:oracle:wcps:conductor:provider:connectionResources" rel="self" 
href="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources" capabilities="urn:oracle:restframework:read"/>
  </links>
  <items>
    <connectionResource resourceType="urn:oracle:wcps:conductor:provider:connectionResource">
      <links>
        <link template="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources?projection={projection}" resourceType="urn:oracle:wcps:conductor:provider:connectionResources" 
rel="urn:oracle:webcenter:parent" href="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources" capabilities="urn:oracle:restframework:read"/>
        <link template="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource?projection={projection}" resourceType="urn:oracle:wcps:conductor:provider:connectionResource" rel="self" 
href="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource" capabilities="urn:oracle:restframework:read"/>
      </links>
      <name>GetPropertiesResource</name>
      <resourceMethods resourceType="urn:oracle:wcps:conductor:provider:resourceMethods">
        <links>
          <link template="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource?projection={projection}" resourceType="urn:oracle:wcps:conductor:provider:connectionResource" 
rel="urn:oracle:webcenter:parent" href="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource" capabilities="urn:oracle:restframework:read"/>
          <link template="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods?projection={projection}" resourceType="urn:oracle:wcps:conductor:provider:resourceMethods" rel="self" 
href="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods" capabilities="urn:oracle:restframework:read"/>
        </links>
        <items>
          <resourceMethod resourceType="urn:oracle:wcps:conductor:provider:resourceMethod">
            <links>
              <link template="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods?projection={projection}" resourceType="urn:oracle:wcps:conductor:provider:resourceMethods" 
rel="urn:oracle:webcenter:parent" href="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods" capabilities="urn:oracle:restframework:read"/>
              <link template="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/GetProperty(namespace,definition,set,property)?projection={projection}" resourceType="urn:oracle:wcps:conductor:provider:resourceMethod" rel="self" 
href="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/GetProperty(namespace,definition,set,property)" capabilities="urn:oracle:restframework:read"/>
            </links>
            <name>GetProperty</name>
            <uniqueName>GetProperty(namespace,definition,set,property)</uniqueName>
            <parameters/>
          </resourceMethod>
          <resourceMethod resourceType="urn:oracle:wcps:conductor:provider:resourceMethod">
            <links>
              <link template="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods?projection={projection}" resourceType="urn:oracle:wcps:conductor:provider:resourceMethods" 
rel="urn:oracle:webcenter:parent" href="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods" capabilities="urn:oracle:restframework:read"/>
              <link template="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/GetProperty(definition,set,property)?projection={projection}" resourceType="urn:oracle:wcps:conductor:provider:resourceMethod" rel="self" 
href="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/GetProperty(definition,set,property)" capabilities="urn:oracle:restframework:read"/>
            </links>
            <name>GetProperty</name>
            <uniqueName>GetProperty(definition,set,property)</uniqueName>
            <parameters/>
          </resourceMethod>
          <resourceMethod resourceType="urn:oracle:wcps:conductor:provider:resourceMethod">
            <links>
              <link template="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods?projection={projection}" resourceType="urn:oracle:wcps:conductor:provider:resourceMethods" 
rel="urn:oracle:webcenter:parent" href="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods" capabilities="urn:oracle:restframework:read"/>
              <link template="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/execute()?projection={projection}" resourceType="urn:oracle:wcps:conductor:provider:resourceMethod" rel="self" 
href="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/execute()" capabilities="urn:oracle:restframework:read"/>
            </links>
            <name>execute</name>
            <uniqueName>execute()</uniqueName>
            <parameters/>
          </resourceMethod>
          <resourceMethod resourceType="urn:oracle:wcps:conductor:provider:resourceMethod">
            <links>
              <link template="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods?projection={projection}" resourceType="urn:oracle:wcps:conductor:provider:resourceMethods" 
rel="urn:oracle:webcenter:parent" href="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods" capabilities="urn:oracle:restframework:read"/>
              <link template="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/GetPropertySet(definition,set)?projection={projection}" resourceType="urn:oracle:wcps:conductor:provider:resourceMethod" rel="self" 
href="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/GetPropertySet(definition,set)" capabilities="urn:oracle:restframework:read"/>
            </links>
            <name>GetPropertySet</name>
            <uniqueName>GetPropertySet(definition,set)</uniqueName>
            <parameters/>
          </resourceMethod>
          <resourceMethod resourceType="urn:oracle:wcps:conductor:provider:resourceMethod">
            <links>
              <link template="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods?projection={projection}" resourceType="urn:oracle:wcps:conductor:provider:resourceMethods" 
rel="urn:oracle:webcenter:parent" href="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods" capabilities="urn:oracle:restframework:read"/>
              <link template="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/GetPropertySet(namespace,definition,set)?projection={projection}" resourceType="urn:oracle:wcps:conductor:provider:resourceMethod" rel="self" 
href="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/GetPropertySet(namespace,definition,set)" capabilities="urn:oracle:restframework:read"/>
            </links>
            <name>GetPropertySet</name>
            <uniqueName>GetPropertySet(namespace,definition,set)</uniqueName>
            <parameters/>
          </resourceMethod>
          <resourceMethod resourceType="urn:oracle:wcps:conductor:provider:resourceMethod">
            <links>
              <link template="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods?projection={projection}" resourceType="urn:oracle:wcps:conductor:provider:resourceMethods" 
rel="urn:oracle:webcenter:parent" href="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods" capabilities="urn:oracle:restframework:read"/>
              <link template="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/GetPropertySets(definition)?projection={projection}" resourceType="urn:oracle:wcps:conductor:provider:resourceMethod" rel="self" 
href="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/GetPropertySets(definition)" capabilities="urn:oracle:restframework:read"/>
            </links>
            <name>GetPropertySets</name>
            <uniqueName>GetPropertySets(definition)</uniqueName>
            <parameters/>
          </resourceMethod>
          <resourceMethod resourceType="urn:oracle:wcps:conductor:provider:resourceMethod">
            <links>
              <link template="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods?projection={projection}" resourceType="urn:oracle:wcps:conductor:provider:resourceMethods" 
rel="urn:oracle:webcenter:parent" href="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods" capabilities="urn:oracle:restframework:read"/>
              <link template="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/GetPropertySets(namespace,definition)?projection={projection}" resourceType="urn:oracle:wcps:conductor:provider:resourceMethod" rel="self" 
href="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/GetPropertySets(namespace,definition)" capabilities="urn:oracle:restframework:read"/>
            </links>
            <name>GetPropertySets</name>
            <uniqueName>GetPropertySets(namespace,definition)</uniqueName>
            <parameters/>
          </resourceMethod>
        </items>
      </resourceMethods>
    </connectionResource>
  </items>
</connectionResources>

68.2.18 Viewing Data Provider Connection Resources Method Within a Namespace Using the Conductor

Request URI:
GET http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/GetProperty(definition,set,property)
 
Response:
<resourceMethod resourceType="urn:oracle:wcps:conductor:provider:resourceMethod">
  <links>
    <link template="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods?projection={projection}" resourceType="urn:oracle:wcps:conductor:provider:resourceMethods" 
rel="urn:oracle:webcenter:parent" href="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods" capabilities="urn:oracle:restframework:read"/>
    <link template="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/GetProperty(definition,set,property)?projection={projection}" resourceType="urn:oracle:wcps:conductor:provider:resourceMethod" rel="self" 
href="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/GetProperty(definition,set,property)" capabilities="urn:oracle:restframework:read"/>
  </links>
  <name>GetProperty</name>
  <uniqueName>GetProperty(definition,set,property)</uniqueName>
  <localizedDescription>Retrieves a property set for the current (or specified) namespace, property set definition name, and property set name, and property name.  If no namespace, property set definition, property set and property exists       null will be returned.</localizedDescription>
  <parameters>
    <parameter>
      <localizedDescription>The property set definition name.</localizedDescription>
      <name>definition</name>
      <type>java.lang.String</type>
    </parameter>
    <parameter>
      <localizedDescription>The property set name.</localizedDescription>
      <name>set</name>
      <type>java.lang.String</type>
    </parameter>
    <parameter>
      <localizedDescription>The property name.</localizedDescription>
      <name>property</name>
      <type>java.lang.String</type>
    </parameter>
  </parameters>
  <returnType>java.io.Serializable</returnType>
</resourceMethod>

68.2.19 Viewing Function Providers Within a Namespace Using the Conductor

Request URI:
GET http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/functionProviders
 
Response:
<functionProviders resourceType="urn:oracle:wcps:conductor:provider:functionProviders">
  <links>
    <link template="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_Namespace/functionProviders?projection={projection}"
resourceType="urn:oracle:wcps:conductor:provider:functionProviders" rel="self"
href="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_
Namespace/functionProviders" capabilities="urn:oracle:restframework:read"/>
  </links>
  <items>
    <functionProvider
resourceType="urn:oracle:wcps:conductor:provider:functionProvider">
      <links>
        <link template="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_
Namespace/functionProviders?projection={projection}"
resourceType="urn:oracle:wcps:conductor:provider:functionProviders"
rel="urn:oracle:webcenter:parent" href="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_
Namespace/functionProviders" capabilities="urn:oracle:restframework:read"/>
        <link template="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_
Namespace/functionProviders/collections:new?projection={projection}"
resourceType="urn:oracle:wcps:conductor:provider:functionProvider" rel="self" 
href="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_
Namespace/functionProviders/collections:new"
 capabilities="urn:oracle:restframework:read"/>
      </links>
      <category>collections</category>
      <example>${collections:new()}</example>
      <localizedDescription>Creates and returns a new collection.</localizedDescription>
      <name>new</name>
      <parameters/>
      <returnType>java.util.Collection</returnType>
    </functionProvider>
    <functionProvider resourceType="urn:oracle:wcps:conductor:provider:functionProvider">
      <links>
        <link template="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_
Namespace/functionProviders?projection={projection}"
resourceType="urn:oracle:wcps:conductor:provider:functionProviders"
rel="urn:oracle:webcenter:parent"
href="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_
Namespace/functionProviders" capabilities="urn:oracle:restframework:read"/>
        <link template="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_
Namespace/functionProviders/cmisfunction:getCMISQueryForDocIDs?projection={project
ion}" resourceType="urn:oracle:wcps:conductor:provider:functionProvider"
rel="self" href="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_
Namespace/functionProviders/cmisfunction:getCMISQueryForDocIDs" capabilities="urn:oracle:restframework:read"/>
      </links>
      <category>cmisfunction</category>
      <example>${cmisfunction:getCMISQueryForDocIDs(repository,ids)}</example>
      <localizedDescription>Construct a CMIS query in the form of 'IN' query
syntax that will retrieve the documents for the array of input doc
IDs.</localizedDescription>
      <name>getCMISQueryForDocIDs</name>
      <parameters/>
      <returnType>java.lang.String</returnType>
    </functionProvider>
    <functionProvider resourceType="urn:oracle:wcps:conductor:provider:functionProvider">
      <links>
        <link template="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_
Namespace/functionProviders?projection={projection}"
resourceType="urn:oracle:wcps:conductor:provider:functionProviders"
rel="urn:oracle:webcenter:parent"
href="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_
Namespace/functionProviders" capabilities="urn:oracle:restframework:read"/>
        <link template="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_
Namespace/functionProviders/cmisfunction:getCMISQueryForDocIDsFromFullID?
projection={projection}" resourceType="urn:oracle:wcps:conductor:provider:functionProvider" rel="self"
href="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_
Namespace/functionProviders/cmisfunction:getCMISQueryForDocIDsFromFullID"
capabilities="urn:oracle:restframework:read"/>
      </links>
      <category>cmisfunction</category>
      <example>${cmisfunction:getCMISQueryForDocIDsFromFullID(ids)}</example>
      <localizedDescription>Construct a CMIS query in the form of 'IN' query
 syntax that will retrieve the documents for the array of input doc IDs.</localizedDescription>
      <name>getCMISQueryForDocIDsFromFullID</name>
      <parameters/>
      <returnType>java.lang.String</returnType>
    </functionProvider>
    <functionProvider resourceType="urn:oracle:wcps:conductor:provider:functionProvider">
      <links>
        <link template="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_
Namespace/functionProviders?projection={projection}"
resourceType="urn:oracle:wcps:conductor:provider:functionProviders"
rel="urn:oracle:webcenter:parent"
href="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_
Namespace/functionProviders" capabilities="urn:oracle:restframework:read"/>
        <link template="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_
Namespace/functionProviders/agfunction:filterRecsByScore?projection={projection}"
resourceType="urn:oracle:wcps:conductor:provider:functionProvider" rel="self" href="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_
Namespace/functionProviders/agfunction:filterRecsByScore"
 capabilities="urn:oracle:restframework:read"/>
      </links>
      <category>agfunction</category>
      <example>${agfunction:filterRecsByScore(recommendations,cutoffScore)}</example>
      <localizedDescription>Filter out Recommendations whose score is &gt;= the
input score</localizedDescription>
      <name>filterRecsByScore</name>
      <parameters/>
      <returnType>oracle.wcps.activity.agrest.spy.jaxb.Recommendations</returnType>
    </functionProvider>
    <functionProvider resourceType="urn:oracle:wcps:conductor:provider:functionProvider">
      <links>
        <link template="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_
Namespace/functionProviders?projection={projection}"
resourceType="urn:oracle:wcps:conductor:provider:functionProviders"
rel="urn:oracle:webcenter:parent"
href="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_
Namespace/functionProviders" capabilities="urn:oracle:restframework:read"/>
        <link template="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_
Namespace/functionProviders/agfunction:getContentIDs?projection={projection}"
resourceType="urn:oracle:wcps:conductor:provider:functionProvider" rel="self"
href="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_
Namespace/functionProviders/agfunction:getContentIDs"
capabilities="urn:oracle:restframework:read"/>
      </links>
      <category>agfunction</category>
      <example>${agfunction:getContentIDs(agResults,filterClassURN)}</example>
      <localizedDescription>Extract content IDs from input
objects</localizedDescription>
      <name>getContentIDs</name>
      <parameters/>
      <returnType>java.util.List</returnType>
    </functionProvider>
    <functionProvider resourceType="urn:oracle:wcps:conductor:provider:functionProvider">
      <links>
        <link template="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_
Namespace/functionProviders?projection={projection}"
resourceType="urn:oracle:wcps:conductor:provider:functionProviders"
rel="urn:oracle:webcenter:parent"
href="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_
Namespace/functionProviders" capabilities="urn:oracle:restframework:read"/>
        <link template="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_
Namespace/functionProviders/collections:append?projection={projection}"
resourceType="urn:oracle:wcps:conductor:provider:functionProvider" rel="self"
href="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_
Namespace/functionProviders/collections:append"
capabilities="urn:oracle:restframework:read"/>
      </links>
      <category>collections</category>
      <example>${collections:append(collection,item)}</example>
      <localizedDescription>Appends</localizedDescription>
      <name>append</name>
      <parameters/>
      <returnType>java.util.Collection</returnType>
    </functionProvider>
    <functionProvider resourceType="urn:oracle:wcps:conductor:provider:functionProvider">
      <links>
        <link template="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_
Namespace/functionProviders?projection={projection}"
resourceType="urn:oracle:wcps:conductor:provider:functionProviders"
rel="urn:oracle:webcenter:parent"
href="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_
Namespace/functionProviders" capabilities="urn:oracle:restframework:read"/>
        <link template="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_
Namespace/functionProviders/collections:merge?projection={projection}"
resourceType="urn:oracle:wcps:conductor:provider:functionProvider" rel="self"
href="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_
Namespace/functionProviders/collections:merge"
capabilities="urn:oracle:restframework:read"/>
      </links>
      <category>collections</category>
      <example>${collections:merge(allCollections)}</example>
      <localizedDescription>Concatenates all provided collections in the order in
which they are provided.</localizedDescription>
      <name>merge</name>
      <parameters/>
      <returnType>java.util.Collection</returnType>
    </functionProvider>
    <functionProvider resourceType="urn:oracle:wcps:conductor:provider:functionProvider">
      <links>
        <link template="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_
Namespace/functionProviders?projection={projection}"
resourceType="urn:oracle:wcps:conductor:provider:functionProviders"
rel="urn:oracle:webcenter:parent"
href="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_
Namespace/functionProviders" capabilities="urn:oracle:restframework:read"/>
        <link template="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_
Namespace/functionProviders/collections:sort?projection={projection}"
resourceType="urn:oracle:wcps:conductor:provider:functionProvider" rel="self"
href="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_
Namespace/functionProviders/collections:sort"
capabilities="urn:oracle:restframework:read"/>
      </links>
      <category>collections</category>
      <example>${collections:sort(list)}</example>
      <localizedDescription>Sorts the provided collection.</localizedDescription>
      <name>sort</name>
      <parameters/>
      <returnType>void</returnType>
    </functionProvider>
    <functionProvider resourceType="urn:oracle:wcps:conductor:provider:functionProvider">
      <links>
        <link template="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_
Namespace/functionProviders?projection={projection}"
resourceType="urn:oracle:wcps:conductor:provider:functionProviders"
rel="urn:oracle:webcenter:parent"
href="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_
Namespace/functionProviders" capabilities="urn:oracle:restframework:read"/>
        <link template="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_
Namespace/functionProviders/agfunction:getDocumentIDs?projection={projection}"
resourceType="urn:oracle:wcps:conductor:provider:functionProvider" rel="self"
href="http://localhost:8891/wcps/api/conductor/namespaces/FeatureReview_
Namespace/functionProviders/agfunction:getDocumentIDs"
capabilities="urn:oracle:restframework:read"/>
      </links>
      <category>agfunction</category>
      <example>${agfunction:getDocumentIDs(agResults,dDocNameOnly)}</example>
      <localizedDescription>Extract content IDs from input
objects</localizedDescription>
      <name>getDocumentIDs</name>
      <parameters/>
      <returnType>java.util.List</returnType>
    </functionProvider>
  </items>
</functionProviders>

68.3 Property Service REST APIs

This section includes the following subsections:

68.3.1 Property Service Resource Index

This section includes the following subsections:

68.3.1.1 ResourceIndex

ResourceIndex

XML

Request:
GET http://localhost:8891/wcps/api/property/resourceIndex
Content-Type: application/xml
Accept: application/xml
 
Response:
Status Code:200
Content-Length: 3595
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Set-Cookie: JSESSIONID=t0FKMnYDSzjRlshhs0sFX20nvnTZLQY8vnxNLkplyfYPcWgfb9y6!-1714998420; path=/wcps; HttpOnly
X-Oracle-RF-Token-Location: header
Content-Type: application/xml
Date: Thu, 07 Oct 2010 23:31:15 GMT
 
<?xml version="1.0" encoding="UTF-8"?>
<resourceIndex resourceType="urn:oracle:wcps:property:resourceIndex">
  <links>
    <link
      capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete"
      href="http://localhost:8891/wcps/api/property/namespaces"
      resourceType="urn:oracle:wcps:property:namespaces" template="http://localhost:8891/wcps/api/property/namespaces?startIndex={startIndex}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
    <link capabilities="urn:oracle:restframework:read"
      href="http://localhost:8891/wcps/api/property/resourceIndex"
      rel="self" resourceType="urn:oracle:wcps:property:resourceIndex"/>
    <link
      capabilities="urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
      resourceType="urn:oracle:wcps:property:namespace" template="http://localhost:8891/wcps/api/property/namespaces/{namespaceName}"/>
    <link
      capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete"
      resourceType="urn:oracle:wcps:property:propertydefinitions" template="http://localhost:8891/wcps/api/property/namespaces/{namespaceName}/propertydefinitions?startIndex={startIndex}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
    <link
      capabilities="urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
      resourceType="urn:oracle:wcps:property:propertydefinition" template="http://localhost:8891/wcps/api/property/namespaces/{namespaceName}/propertydefinitions/{definitionName}"/>
    <link
      capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete"
      resourceType="urn:oracle:wcps:property:propertysetdefinitions" template="http://localhost:8891/wcps/api/property/namespaces/{namespaceName}/propertysetdefinitions?startIndex={startIndex}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
    <link
      capabilities="urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
      resourceType="urn:oracle:wcps:property:propertysetdefinition" template="http://localhost:8891/wcps/api/property/namespaces/{namespaceName}/propertysetdefinitions/{setDefinitionName}"/>
    <link
      capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete"
      resourceType="urn:oracle:wcps:property:propertysets" template="http://localhost:8891/wcps/api/property/namespaces/{namespaceName}/propertysetdefinitions/{setDefinitionName}/propertysets?startIndex={startIndex}&amp;dataFields={dataFields}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
    <link
      capabilities="urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
      resourceType="urn:oracle:wcps:property:propertyset" template="http://localhost:8891/wcps/api/property/namespaces/{namespaceName}/propertysetdefinitions/{setDefinitionName}/propertysets/{propertySetName}"/>
    <link
      capabilities="urn:oracle:restframework:read urn:oracle:restframework:delete"
      resourceType="urn:oracle:wcps:property:properties" template="http://localhost:8891/wcps/api/property/namespaces/{namespaceName}/propertysetdefinitions/{setDefinitionName}/propertysets/{propertySetName}/properties"/>
    <link
      capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
      resourceType="urn:oracle:wcps:property:property" template="http://localhost:8891/wcps/api/property/namespaces/{namespaceName}/propertysetdefinitions/{setDefinitionName}/propertysets/{propertySetName}/properties/{propertyName}"/>
  </links>
</resourceIndex>

JSON

Request:
GET http://localhost:8891/wcps/api/property/resourceIndex
Content-Type: application/json
Accept: application/json
 
Response:
Status Code:200
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Set-Cookie: JSESSIONID=WFGvMnyKP7nDBW1RQynhhphbQvWLDjLSbFJj2MQ1g6nFH2VQlgJ4!-609606431; path=/wcps; HttpOnly
X-Oracle-RF-Token-Location: header
Transfer-Encoding: chunked
Content-Type: application/json
Date: Fri, 08 Oct 2010 01:24:22 GMT
 
{
  "resourceType" : "urn:oracle:wcps:property:resourceIndex",
  "links" : [ {
    "template" : "http://localhost:8891/wcps/api/property/namespaces?startIndex={startIndex}&q={q}&itemsPerPage={itemsPerPage}",
    "resourceType" : "urn:oracle:wcps:property:namespaces",
    "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete",
    "href" : "http://localhost:8891/wcps/api/property/namespaces"
  }, {
    "resourceType" : "urn:oracle:wcps:property:resourceIndex",
    "capabilities" : "urn:oracle:restframework:read",
    "href" : "http://localhost:8891/wcps/api/property/resourceIndex",
    "rel" : "self"
  }, {
    "template" : "http://localhost:8891/wcps/api/property/namespaces/{namespaceName}",
    "resourceType" : "urn:oracle:wcps:property:namespace",
    "capabilities" : "urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
  }, {
    "template" : "http://localhost:8891/wcps/api/property/namespaces/{namespaceName}/propertydefinitions?startIndex={startIndex}&q={q}&itemsPerPage={itemsPerPage}",
    "resourceType" : "urn:oracle:wcps:property:propertydefinitions",
    "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete"
  }, {
    "template" : "http://localhost:8891/wcps/api/property/namespaces/{namespaceName}/propertydefinitions/{definitionName}",
    "resourceType" : "urn:oracle:wcps:property:propertydefinition",
    "capabilities" : "urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
  }, {
    "template" : "http://localhost:8891/wcps/api/property/namespaces/{namespaceName}/propertysetdefinitions?startIndex={startIndex}&q={q}&itemsPerPage={itemsPerPage}",
    "resourceType" : "urn:oracle:wcps:property:propertysetdefinitions",
    "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete"
  }, {
    "template" : "http://localhost:8891/wcps/api/property/namespaces/{namespaceName}/propertysetdefinitions/{setDefinitionName}",
    "resourceType" : "urn:oracle:wcps:property:propertysetdefinition",
    "capabilities" : "urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
  }, {
    "template" : "http://localhost:8891/wcps/api/property/namespaces/{namespaceName}/propertysetdefinitions/{setDefinitionName}/propertysets?startIndex={startIndex}&dataFields={dataFields}&q={q}&itemsPerPage={itemsPerPage}",
    "resourceType" : "urn:oracle:wcps:property:propertysets",
    "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete"
  }, {
    "template" : "http://localhost:8891/wcps/api/property/namespaces/{namespaceName}/propertysetdefinitions/{setDefinitionName}/propertysets/{propertySetName}",
    "resourceType" : "urn:oracle:wcps:property:propertyset",
    "capabilities" : "urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
  }, {
    "template" : "http://localhost:8891/wcps/api/property/namespaces/{namespaceName}/propertysetdefinitions/{setDefinitionName}/propertysets/{propertySetName}/properties",
    "resourceType" : "urn:oracle:wcps:property:properties",
    "capabilities" : "urn:oracle:restframework:read urn:oracle:restframework:delete"
  }, {
    "template" : "http://localhost:8891/wcps/api/property/namespaces/{namespaceName}/propertysetdefinitions/{setDefinitionName}/propertysets/{propertySetName}/properties/{propertyName}",
    "resourceType" : "urn:oracle:wcps:property:property",
    "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
  } ]
}

68.3.2 Namespace CRUD

This section contains the following subsection:

68.3.2.1 Create Namespace

CreateNamespace

XML

Request:
POST http://localhost:8891/wcps/api/property/namespaces
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
Cookie: JSESSIONID=t0FKMnYDSzjRlshhs0sFX20nvnTZLQY8vnxNLkplyfYPcWgfb9y6!-1714998420;Version=1
Content-Type: application/xml
Accept: application/xml
 
<?xml version="1.0" encoding="UTF-8"?>
<namespace resourceType="urn:oracle:wcps:property:namespace">
  <name>Oracle</name>
</namespace>
 
Response:
Status Code:201
Content-Length: 1671
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Cache-Control: no-cache
X-Oracle-RF-Token-Location: header
Content-Type: application/xml
Location: http://localhost:8891/wcps/api/property/namespaces/Oracle
Date: Thu, 07 Oct 2010 23:31:16 GMT
ETag: "1286494276437"
 
<?xml version="1.0" encoding="UTF-8"?>
<namespace resourceType="urn:oracle:wcps:property:namespace">
  <links>
    <link
      capabilities="urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
      href="http://localhost:8891/wcps/api/property/namespaces/Oracle"
      rel="self" resourceType="urn:oracle:wcps:property:namespace"/>
    <link
      capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete"
      href="http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions"
      resourceType="urn:oracle:wcps:property:propertysetdefinitions" template="http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions?startIndex={startIndex}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
    <link
      capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete"
      href="http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions"
      resourceType="urn:oracle:wcps:property:propertydefinitions" template="http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions?startIndex={startIndex}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
    <link capabilities="urn:oracle:restframework:read"
      resourceType="urn:oracle:wcps:property:propertysets" template="http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/{setDefinitionName}/propertysets?startIndex={startIndex}&amp;dataFields={dataFields}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
  </links>
  <name>Oracle</name>
  <createdOn>2010-10-07T17:31:16.437-0600</createdOn>
  <updatedOn>2010-10-07T17:31:16.437-0600</updatedOn>
</namespace>

JSON

Request:
POST http://localhost:8891/wcps/api/property/namespaces
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
Cookie: JSESSIONID=WFGvMnyKP7nDBW1RQynhhphbQvWLDjLSbFJj2MQ1g6nFH2VQlgJ4!-609606431;Version=1
Content-Type: application/json
Accept: application/json
 
{
  "name" : "Oracle",
  "resourceType" : "urn:oracle:wcps:property:namespace"
}
 
Response:
Status Code:201
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Cache-Control: no-cache
X-Oracle-RF-Token-Location: header
Transfer-Encoding: chunked
Content-Type: application/json
Location: http://localhost:8891/wcps/api/property/namespaces/Oracle
Date: Fri, 08 Oct 2010 01:24:26 GMT
ETag: "1286501066698"
 
{
  "name" : "Oracle",
  "createdOn" : "2010-10-07T19:24:26.698-0600",
  "updatedOn" : "2010-10-07T19:24:26.698-0600",
  "resourceType" : "urn:oracle:wcps:property:namespace",
  "links" : [ {
    "resourceType" : "urn:oracle:wcps:property:namespace",
    "capabilities" : "urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete",
    "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle",
    "rel" : "self"
  }, {
    "template" : "http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions?startIndex={startIndex}&q={q}&itemsPerPage={itemsPerPage}",
    "resourceType" : "urn:oracle:wcps:property:propertysetdefinitions",
    "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete",
    "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions"
  }, {
    "template" : "http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions?startIndex={startIndex}&q={q}&itemsPerPage={itemsPerPage}",
    "resourceType" : "urn:oracle:wcps:property:propertydefinitions",
    "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete",
    "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions"
  }, {
    "template" : "http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/{setDefinitionName}/propertysets?startIndex={startIndex}&dataFields={dataFields}&q={q}&itemsPerPage={itemsPerPage}",
    "resourceType" : "urn:oracle:wcps:property:propertysets",
    "capabilities" : "urn:oracle:restframework:read"
  } ]
}

68.3.2.2 Retrieve Namespace

RetrieveNamespace

XML

Request:
GET http://localhost:8891/wcps/api/property/namespaces/Oracle
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
Cookie: JSESSIONID=t0FKMnYDSzjRlshhs0sFX20nvnTZLQY8vnxNLkplyfYPcWgfb9y6!-1714998420;Version=1
Content-Type: application/xml
Accept: application/xml
 
Response:
Status Code:200
Content-Length: 1759
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Cache-Control: no-cache
X-Oracle-RF-Token-Location: header
Content-Type: application/xml
Date: Thu, 07 Oct 2010 23:31:16 GMT
ETag: "1286494276833"
 
<?xml version="1.0" encoding="UTF-8"?>
<namespace resourceType="urn:oracle:wcps:property:namespace">
  <links>
    <link
      capabilities="urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
      href="http://localhost:8891/wcps/api/property/namespaces/Oracle"
      rel="self" resourceType="urn:oracle:wcps:property:namespace"/>
    <link
      capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete"
      href="http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions"
      resourceType="urn:oracle:wcps:property:propertysetdefinitions" template="http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions?startIndex={startIndex}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
    <link
      capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete"
      href="http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions"
      resourceType="urn:oracle:wcps:property:propertydefinitions" template="http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions?startIndex={startIndex}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
    <link capabilities="urn:oracle:restframework:read"
      resourceType="urn:oracle:wcps:property:propertysets" template="http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/{setDefinitionName}/propertysets?startIndex={startIndex}&amp;dataFields={dataFields}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
  </links>
  <name>Oracle</name>
  <createdOn>2010-10-07T17:31:16.437-0600</createdOn>
  <updatedOn>2010-10-07T17:31:16.833-0600</updatedOn>
  <propertyLocatorClassName>com.oracle.custom.MyPropertyLocator</propertyLocatorClassName>
</namespace>

JSON

Request:
GET http://localhost:8891/wcps/api/property/namespaces/Oracle
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
Cookie: JSESSIONID=WFGvMnyKP7nDBW1RQynhhphbQvWLDjLSbFJj2MQ1g6nFH2VQlgJ4!-609606431;Version=1
Content-Type: application/json
Accept: application/json
 
Response:
Status Code:200
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Cache-Control: no-cache
X-Oracle-RF-Token-Location: header
Transfer-Encoding: chunked
Content-Type: application/json
Date: Fri, 08 Oct 2010 01:24:26 GMT
ETag: "1286501066808"
 
{
  "name" : "Oracle",
  "createdOn" : "2010-10-07T19:24:26.698-0600",
  "propertyLocatorClassName" : "com.oracle.custom.MyPropertyLocator",
  "updatedOn" : "2010-10-07T19:24:26.808-0600",
  "resourceType" : "urn:oracle:wcps:property:namespace",
  "links" : [ {
    "resourceType" : "urn:oracle:wcps:property:namespace",
    "capabilities" : "urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete",
    "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle",
    "rel" : "self"
  }, {
    "template" : "http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions?startIndex={startIndex}&q={q}&itemsPerPage={itemsPerPage}",
    "resourceType" : "urn:oracle:wcps:property:propertysetdefinitions",
    "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete",
    "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions"
  }, {
    "template" : "http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions?startIndex={startIndex}&q={q}&itemsPerPage={itemsPerPage}",
    "resourceType" : "urn:oracle:wcps:property:propertydefinitions",
    "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete",
    "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions"
  }, {
    "template" : "http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/{setDefinitionName}/propertysets?startIndex={startIndex}&dataFields={dataFields}&q={q}&itemsPerPage={itemsPerPage}",
    "resourceType" : "urn:oracle:wcps:property:propertysets",
    "capabilities" : "urn:oracle:restframework:read"
  } ]
}

68.3.2.3 Update Namespace

UpdateNamespace

XML

Request:
PUT http://localhost:8891/wcps/api/property/namespaces/Oracle
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
Cookie: JSESSIONID=t0FKMnYDSzjRlshhs0sFX20nvnTZLQY8vnxNLkplyfYPcWgfb9y6!-1714998420;Version=1
Content-Type: application/xml
Accept: application/xml
If-Match: 1286494276437
 
<?xml version="1.0" encoding="UTF-8"?>
<namespace resourceType="urn:oracle:wcps:property:namespace">
  <name>Oracle</name>
  <createdOn>2010-10-07T17:31:16.437-0600</createdOn>
  <updatedOn>2010-10-07T17:31:16.437-0600</updatedOn>
  <propertyLocatorClassName>com.oracle.custom.MyPropertyLocator</propertyLocatorClassName>
</namespace>
 
Response:
Status Code:200
Content-Length: 0
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Cache-Control: no-cache
X-Oracle-RF-Token-Location: header
Date: Thu, 07 Oct 2010 23:31:16 GMT
ETag: "1286494276833"

JSON

Request:
PUT http://localhost:8891/wcps/api/property/namespaces/Oracle
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
Cookie: JSESSIONID=WFGvMnyKP7nDBW1RQynhhphbQvWLDjLSbFJj2MQ1g6nFH2VQlgJ4!-609606431;Version=1
Content-Type: application/json
Accept: application/json
If-Match: 1286501066698
 
{
  "name" : "Oracle",
  "propertyLocatorClassName" : "com.oracle.custom.MyPropertyLocator",
  "createdOn" : "2010-10-07T19:24:26.698-0600",
  "updatedOn" : "2010-10-07T19:24:26.698-0600",
  "resourceType" : "urn:oracle:wcps:property:namespace"
}
 
Response:
Status Code:200
Content-Length: 0
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Cache-Control: no-cache
X-Oracle-RF-Token-Location: header
Date: Fri, 08 Oct 2010 01:24:26 GMT
ETag: "1286501066808"

68.3.2.4 Delete Namespace

DeleteNamespace

XML

Request:
DELETE http://localhost:8891/wcps/api/property/namespaces/Oracle
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
Cookie: JSESSIONID=t0FKMnYDSzjRlshhs0sFX20nvnTZLQY8vnxNLkplyfYPcWgfb9y6!-1714998420;Version=1
Content-Type: application/xml
Accept: application/xml
If-Match: 1286494276833
 
Response:
Status Code:204
Content-Length: 0
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Connection: close
X-Oracle-RF-Token-Location: header
Date: Thu, 07 Oct 2010 23:31:17 GMT

JSON

Request:
DELETE http://localhost:8891/wcps/api/property/namespaces/Oracle
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
Cookie: JSESSIONID=WFGvMnyKP7nDBW1RQynhhphbQvWLDjLSbFJj2MQ1g6nFH2VQlgJ4!-609606431;Version=1
Content-Type: application/json
Accept: application/json
If-Match: 1286501066808
 
Response:
Status Code:204
Content-Length: 0
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Connection: close
X-Oracle-RF-Token-Location: header
Date: Fri, 08 Oct 2010 01:24:26 GMT

68.3.2.5 Retrieve all Namespaces

RetrieveAllNamespaces

XML

Request:
GET http://localhost:8891/wcps/api/property/namespaces
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
Cookie: JSESSIONID=t0FKMnYDSzjRlshhs0sFX20nvnTZLQY8vnxNLkplyfYPcWgfb9y6!-1714998420;Version=1
Content-Type: application/xml
Accept: application/xml
 
Response:
Status Code:200
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Cache-Control: no-cache
X-Oracle-RF-Token-Location: header
Transfer-Encoding: chunked
Content-Type: application/xml
Date: Thu, 07 Oct 2010 23:31:19 GMT
 
<?xml version="1.0" encoding="UTF-8"?>
<namespaces resourceType="urn:oracle:wcps:property:namespaces">
  <links>
    <link
      capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete"
      href="http://localhost:8891/wcps/api/property/namespaces"
      rel="self" resourceType="urn:oracle:wcps:property:namespaces" template="http://localhost:8891/wcps/api/property/namespaces?startIndex={startIndex}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
    <link
      capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete"
      href="http://localhost:8891/wcps/api/property/namespaces?startIndex=10&amp;itemsPerPage=10"
      rel="next" resourceType="urn:oracle:wcps:property:namespaces"/>
  </links>
  <itemsPerPage>10</itemsPerPage>
  <startIndex>0</startIndex>
  <totalCount>21</totalCount>
  <items>
    <namespace resourceType="urn:oracle:wcps:property:namespace">
      <links>
        <link
          capabilities="urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
          href="http://localhost:8891/wcps/api/property/namespaces/JDEV"
          rel="self" resourceType="urn:oracle:wcps:property:namespace"/>
        <link
          capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete"
          href="http://localhost:8891/wcps/api/property/namespaces/JDEV/propertysetdefinitions"
          resourceType="urn:oracle:wcps:property:propertysetdefinitions" template="http://localhost:8891/wcps/api/property/namespaces/JDEV/propertysetdefinitions?startIndex={startIndex}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
        <link
          capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete"
          href="http://localhost:8891/wcps/api/property/namespaces/JDEV/propertydefinitions"
          resourceType="urn:oracle:wcps:property:propertydefinitions" template="http://localhost:8891/wcps/api/property/namespaces/JDEV/propertydefinitions?startIndex={startIndex}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
        <link capabilities="urn:oracle:restframework:read"
          resourceType="urn:oracle:wcps:property:propertysets" template="http://localhost:8891/wcps/api/property/namespaces/JDEV/propertysetdefinitions/{setDefinitionName}/propertysets?startIndex={startIndex}&amp;dataFields={dataFields}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
      </links>
      <name>JDEV</name>
      <createdOn>2010-10-07T17:31:20.061-0600</createdOn>
      <updatedOn>2010-10-07T17:31:20.061-0600</updatedOn>
      <propertyLocatorClassName>oracle.wcps.conductor.scenario.persistence.impl.properties.MDSScenarioPropertyLocator</propertyLocatorClassName>
      <definitionLocatorClassName>oracle.wcps.property.persistence.mds.MDSDefinitionsLocator</definitionLocatorClassName>
    </namespace>
    <namespace resourceType="urn:oracle:wcps:property:namespace">
      <links>
        <link
          capabilities="urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
          href="http://localhost:8891/wcps/api/property/namespaces/Oracle_0"
          rel="self" resourceType="urn:oracle:wcps:property:namespace"/>
        <link
          capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete"
          href="http://localhost:8891/wcps/api/property/namespaces/Oracle_0/propertysetdefinitions"
          resourceType="urn:oracle:wcps:property:propertysetdefinitions" template="http://localhost:8891/wcps/api/property/namespaces/Oracle_0/propertysetdefinitions?startIndex={startIndex}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
        <link
          capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete"
          href="http://localhost:8891/wcps/api/property/namespaces/Oracle_0/propertydefinitions"
          resourceType="urn:oracle:wcps:property:propertydefinitions" template="http://localhost:8891/wcps/api/property/namespaces/Oracle_0/propertydefinitions?startIndex={startIndex}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
        <link capabilities="urn:oracle:restframework:read"
          resourceType="urn:oracle:wcps:property:propertysets" template="http://localhost:8891/wcps/api/property/namespaces/Oracle_0/propertysetdefinitions/{setDefinitionName}/propertysets?startIndex={startIndex}&amp;dataFields={dataFields}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
      </links>
      <name>Oracle_0</name>
      <createdOn>2010-10-07T17:31:17.318-0600</createdOn>
      <updatedOn>2010-10-07T17:31:17.318-0600</updatedOn>
    </namespace>
    <namespace resourceType="urn:oracle:wcps:property:namespace">
      <links>
        <link
          capabilities="urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
          href="http://localhost:8891/wcps/api/property/namespaces/Oracle_1"
          rel="self" resourceType="urn:oracle:wcps:property:namespace"/>
        <link
          capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete"
          href="http://localhost:8891/wcps/api/property/namespaces/Oracle_1/propertysetdefinitions"
          resourceType="urn:oracle:wcps:property:propertysetdefinitions" template="http://localhost:8891/wcps/api/property/namespaces/Oracle_1/propertysetdefinitions?startIndex={startIndex}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
        <link
          capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete"
          href="http://localhost:8891/wcps/api/property/namespaces/Oracle_1/propertydefinitions"
          resourceType="urn:oracle:wcps:property:propertydefinitions" template="http://localhost:8891/wcps/api/property/namespaces/Oracle_1/propertydefinitions?startIndex={startIndex}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
        <link capabilities="urn:oracle:restframework:read"
          resourceType="urn:oracle:wcps:property:propertysets" template="http://localhost:8891/wcps/api/property/namespaces/Oracle_1/propertysetdefinitions/{setDefinitionName}/propertysets?startIndex={startIndex}&amp;dataFields={dataFields}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
      </links>
      <name>Oracle_1</name>
      <createdOn>2010-10-07T17:31:17.568-0600</createdOn>
      <updatedOn>2010-10-07T17:31:17.568-0600</updatedOn>
    </namespace>
    <namespace resourceType="urn:oracle:wcps:property:namespace">
      <links>
        <link
          capabilities="urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
          href="http://localhost:8891/wcps/api/property/namespaces/Oracle_2"
          rel="self" resourceType="urn:oracle:wcps:property:namespace"/>
        <link
          capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete"
          href="http://localhost:8891/wcps/api/property/namespaces/Oracle_2/propertysetdefinitions"
          resourceType="urn:oracle:wcps:property:propertysetdefinitions" template="http://localhost:8891/wcps/api/property/namespaces/Oracle_2/propertysetdefinitions?startIndex={startIndex}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
        <link
          capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete"
          href="http://localhost:8891/wcps/api/property/namespaces/Oracle_2/propertydefinitions"
          resourceType="urn:oracle:wcps:property:propertydefinitions" template="http://localhost:8891/wcps/api/property/namespaces/Oracle_2/propertydefinitions?startIndex={startIndex}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
        <link capabilities="urn:oracle:restframework:read"
          resourceType="urn:oracle:wcps:property:propertysets" template="http://localhost:8891/wcps/api/property/namespaces/Oracle_2/propertysetdefinitions/{setDefinitionName}/propertysets?startIndex={startIndex}&amp;dataFields={dataFields}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
      </links>
      <name>Oracle_2</name>
      <createdOn>2010-10-07T17:31:17.807-0600</createdOn>
      <updatedOn>2010-10-07T17:31:17.807-0600</updatedOn>
    </namespace>
    <namespace resourceType="urn:oracle:wcps:property:namespace">
      <links>
        <link
          capabilities="urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
          href="http://localhost:8891/wcps/api/property/namespaces/Oracle_3"
          rel="self" resourceType="urn:oracle:wcps:property:namespace"/>
        <link
          capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete"
          href="http://localhost:8891/wcps/api/property/namespaces/Oracle_3/propertysetdefinitions"
          resourceType="urn:oracle:wcps:property:propertysetdefinitions" template="http://localhost:8891/wcps/api/property/namespaces/Oracle_3/propertysetdefinitions?startIndex={startIndex}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
        <link
          capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete"
          href="http://localhost:8891/wcps/api/property/namespaces/Oracle_3/propertydefinitions"
          resourceType="urn:oracle:wcps:property:propertydefinitions" template="http://localhost:8891/wcps/api/property/namespaces/Oracle_3/propertydefinitions?startIndex={startIndex}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
        <link capabilities="urn:oracle:restframework:read"
          resourceType="urn:oracle:wcps:property:propertysets" template="http://localhost:8891/wcps/api/property/namespaces/Oracle_3/propertysetdefinitions/{setDefinitionName}/propertysets?startIndex={startIndex}&amp;dataFields={dataFields}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
      </links>
      <name>Oracle_3</name>
      <createdOn>2010-10-07T17:31:18.066-0600</createdOn>
      <updatedOn>2010-10-07T17:31:18.066-0600</updatedOn>
    </namespace>
    <namespace resourceType="urn:oracle:wcps:property:namespace">
      <links>
        <link
          capabilities="urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
          href="http://localhost:8891/wcps/api/property/namespaces/Oracle_4"
          rel="self" resourceType="urn:oracle:wcps:property:namespace"/>
        <link
          capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete"
          href="http://localhost:8891/wcps/api/property/namespaces/Oracle_4/propertysetdefinitions"
          resourceType="urn:oracle:wcps:property:propertysetdefinitions" template="http://localhost:8891/wcps/api/property/namespaces/Oracle_4/propertysetdefinitions?startIndex={startIndex}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
        <link
          capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete"
          href="http://localhost:8891/wcps/api/property/namespaces/Oracle_4/propertydefinitions"
          resourceType="urn:oracle:wcps:property:propertydefinitions" template="http://localhost:8891/wcps/api/property/namespaces/Oracle_4/propertydefinitions?startIndex={startIndex}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
        <link capabilities="urn:oracle:restframework:read"
          resourceType="urn:oracle:wcps:property:propertysets" template="http://localhost:8891/wcps/api/property/namespaces/Oracle_4/propertysetdefinitions/{setDefinitionName}/propertysets?startIndex={startIndex}&amp;dataFields={dataFields}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
      </links>
      <name>Oracle_4</name>
      <createdOn>2010-10-07T17:31:18.319-0600</createdOn>
      <updatedOn>2010-10-07T17:31:18.319-0600</updatedOn>
    </namespace>
    <namespace resourceType="urn:oracle:wcps:property:namespace">
      <links>
        <link
          capabilities="urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
          href="http://localhost:8891/wcps/api/property/namespaces/Oracle_5"
          rel="self" resourceType="urn:oracle:wcps:property:namespace"/>
        <link
          capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete"
          href="http://localhost:8891/wcps/api/property/namespaces/Oracle_5/propertysetdefinitions"
          resourceType="urn:oracle:wcps:property:propertysetdefinitions" template="http://localhost:8891/wcps/api/property/namespaces/Oracle_5/propertysetdefinitions?startIndex={startIndex}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
        <link
          capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete"
          href="http://localhost:8891/wcps/api/property/namespaces/Oracle_5/propertydefinitions"
          resourceType="urn:oracle:wcps:property:propertydefinitions" template="http://localhost:8891/wcps/api/property/namespaces/Oracle_5/propertydefinitions?startIndex={startIndex}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
        <link capabilities="urn:oracle:restframework:read"
          resourceType="urn:oracle:wcps:property:propertysets" template="http://localhost:8891/wcps/api/property/namespaces/Oracle_5/propertysetdefinitions/{setDefinitionName}/propertysets?startIndex={startIndex}&amp;dataFields={dataFields}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
      </links>
      <name>Oracle_5</name>
      <createdOn>2010-10-07T17:31:18.572-0600</createdOn>
      <updatedOn>2010-10-07T17:31:18.572-0600</updatedOn>
    </namespace>
    <namespace resourceType="urn:oracle:wcps:property:namespace">
      <links>
        <link
          capabilities="urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
          href="http://localhost:8891/wcps/api/property/namespaces/Oracle_6"
          rel="self" resourceType="urn:oracle:wcps:property:namespace"/>
        <link
          capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete"
          href="http://localhost:8891/wcps/api/property/namespaces/Oracle_6/propertysetdefinitions"
          resourceType="urn:oracle:wcps:property:propertysetdefinitions" template="http://localhost:8891/wcps/api/property/namespaces/Oracle_6/propertysetdefinitions?startIndex={startIndex}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
        <link
          capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete"
          href="http://localhost:8891/wcps/api/property/namespaces/Oracle_6/propertydefinitions"
          resourceType="urn:oracle:wcps:property:propertydefinitions" template="http://localhost:8891/wcps/api/property/namespaces/Oracle_6/propertydefinitions?startIndex={startIndex}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
        <link capabilities="urn:oracle:restframework:read"
          resourceType="urn:oracle:wcps:property:propertysets" template="http://localhost:8891/wcps/api/property/namespaces/Oracle_6/propertysetdefinitions/{setDefinitionName}/propertysets?startIndex={startIndex}&amp;dataFields={dataFields}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
      </links>
      <name>Oracle_6</name>
      <createdOn>2010-10-07T17:31:18.813-0600</createdOn>
      <updatedOn>2010-10-07T17:31:18.813-0600</updatedOn>
    </namespace>
    <namespace resourceType="urn:oracle:wcps:property:namespace">
      <links>
        <link
          capabilities="urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
          href="http://localhost:8891/wcps/api/property/namespaces/Oracle_7"
          rel="self" resourceType="urn:oracle:wcps:property:namespace"/>
        <link
          capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete"
          href="http://localhost:8891/wcps/api/property/namespaces/Oracle_7/propertysetdefinitions"
          resourceType="urn:oracle:wcps:property:propertysetdefinitions" template="http://localhost:8891/wcps/api/property/namespaces/Oracle_7/propertysetdefinitions?startIndex={startIndex}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
        <link
          capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete"
          href="http://localhost:8891/wcps/api/property/namespaces/Oracle_7/propertydefinitions"
          resourceType="urn:oracle:wcps:property:propertydefinitions" template="http://localhost:8891/wcps/api/property/namespaces/Oracle_7/propertydefinitions?startIndex={startIndex}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
        <link capabilities="urn:oracle:restframework:read"
          resourceType="urn:oracle:wcps:property:propertysets" template="http://localhost:8891/wcps/api/property/namespaces/Oracle_7/propertysetdefinitions/{setDefinitionName}/propertysets?startIndex={startIndex}&amp;dataFields={dataFields}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
      </links>
      <name>Oracle_7</name>
      <createdOn>2010-10-07T17:31:19.084-0600</createdOn>
      <updatedOn>2010-10-07T17:31:19.084-0600</updatedOn>
    </namespace>
    <namespace resourceType="urn:oracle:wcps:property:namespace">
      <links>
        <link
          capabilities="urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
          href="http://localhost:8891/wcps/api/property/namespaces/Oracle_8"
          rel="self" resourceType="urn:oracle:wcps:property:namespace"/>
        <link
          capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete"
          href="http://localhost:8891/wcps/api/property/namespaces/Oracle_8/propertysetdefinitions"
          resourceType="urn:oracle:wcps:property:propertysetdefinitions" template="http://localhost:8891/wcps/api/property/namespaces/Oracle_8/propertysetdefinitions?startIndex={startIndex}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
        <link
          capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete"
          href="http://localhost:8891/wcps/api/property/namespaces/Oracle_8/propertydefinitions"
          resourceType="urn:oracle:wcps:property:propertydefinitions" template="http://localhost:8891/wcps/api/property/namespaces/Oracle_8/propertydefinitions?startIndex={startIndex}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
        <link capabilities="urn:oracle:restframework:read"
          resourceType="urn:oracle:wcps:property:propertysets" template="http://localhost:8891/wcps/api/property/namespaces/Oracle_8/propertysetdefinitions/{setDefinitionName}/propertysets?startIndex={startIndex}&amp;dataFields={dataFields}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
      </links>
      <name>Oracle_8</name>
      <createdOn>2010-10-07T17:31:19.328-0600</createdOn>
      <updatedOn>2010-10-07T17:31:19.328-0600</updatedOn>
    </namespace>
  </items>
</namespaces>

JSON

Request:
GET http://localhost:8891/wcps/api/property/namespaces
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
Cookie: JSESSIONID=WFGvMnyKP7nDBW1RQynhhphbQvWLDjLSbFJj2MQ1g6nFH2VQlgJ4!-609606431;Version=1
Content-Type: application/json
Accept: application/json
 
Response:
Status Code:200
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Cache-Control: no-cache
X-Oracle-RF-Token-Location: header
Transfer-Encoding: chunked
Content-Type: application/json
Date: Fri, 08 Oct 2010 01:24:27 GMT
 
{
  "namespaces" : [ {
    "name" : "JDEV",
    "createdOn" : "2010-10-07T19:24:28.114-0600",
    "propertyLocatorClassName" : "oracle.wcps.conductor.scenario.persistence.impl.properties.MDSScenarioPropertyLocator",
    "definitionLocatorClassName" : "oracle.wcps.property.persistence.mds.MDSDefinitionsLocator",
    "updatedOn" : "2010-10-07T19:24:28.114-0600",
    "resourceType" : "urn:oracle:wcps:property:namespace",
    "links" : [ {
      "resourceType" : "urn:oracle:wcps:property:namespace",
      "capabilities" : "urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete",
      "href" : "http://localhost:8891/wcps/api/property/namespaces/JDEV",
      "rel" : "self"
    }, {
      "template" : "http://localhost:8891/wcps/api/property/namespaces/JDEV/propertysetdefinitions?startIndex={startIndex}&q={q}&itemsPerPage={itemsPerPage}",
      "resourceType" : "urn:oracle:wcps:property:propertysetdefinitions",
      "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete",
      "href" : "http://localhost:8891/wcps/api/property/namespaces/JDEV/propertysetdefinitions"
    }, {
      "template" : "http://localhost:8891/wcps/api/property/namespaces/JDEV/propertydefinitions?startIndex={startIndex}&q={q}&itemsPerPage={itemsPerPage}",
      "resourceType" : "urn:oracle:wcps:property:propertydefinitions",
      "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete",
      "href" : "http://localhost:8891/wcps/api/property/namespaces/JDEV/propertydefinitions"
    }, {
      "template" : "http://localhost:8891/wcps/api/property/namespaces/JDEV/propertysetdefinitions/{setDefinitionName}/propertysets?startIndex={startIndex}&dataFields={dataFields}&q={q}&itemsPerPage={itemsPerPage}",
      "resourceType" : "urn:oracle:wcps:property:propertysets",
      "capabilities" : "urn:oracle:restframework:read"
    } ]
  }, {
    "name" : "Oracle_0",
    "createdOn" : "2010-10-07T19:24:26.907-0600",
    "updatedOn" : "2010-10-07T19:24:26.907-0600",
    "resourceType" : "urn:oracle:wcps:property:namespace",
    "links" : [ {
      "resourceType" : "urn:oracle:wcps:property:namespace",
      "capabilities" : "urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete",
      "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_0",
      "rel" : "self"
    }, {
      "template" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_0/propertysetdefinitions?startIndex={startIndex}&q={q}&itemsPerPage={itemsPerPage}",
      "resourceType" : "urn:oracle:wcps:property:propertysetdefinitions",
      "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete",
      "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_0/propertysetdefinitions"
    }, {
      "template" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_0/propertydefinitions?startIndex={startIndex}&q={q}&itemsPerPage={itemsPerPage}",
      "resourceType" : "urn:oracle:wcps:property:propertydefinitions",
      "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete",
      "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_0/propertydefinitions"
    }, {
      "template" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_0/propertysetdefinitions/{setDefinitionName}/propertysets?startIndex={startIndex}&dataFields={dataFields}&q={q}&itemsPerPage={itemsPerPage}",
      "resourceType" : "urn:oracle:wcps:property:propertysets",
      "capabilities" : "urn:oracle:restframework:read"
    } ]
  }, {
    "name" : "Oracle_1",
    "createdOn" : "2010-10-07T19:24:26.954-0600",
    "updatedOn" : "2010-10-07T19:24:26.954-0600",
    "resourceType" : "urn:oracle:wcps:property:namespace",
    "links" : [ {
      "resourceType" : "urn:oracle:wcps:property:namespace",
      "capabilities" : "urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete",
      "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_1",
      "rel" : "self"
    }, {
      "template" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_1/propertysetdefinitions?startIndex={startIndex}&q={q}&itemsPerPage={itemsPerPage}",
      "resourceType" : "urn:oracle:wcps:property:propertysetdefinitions",
      "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete",
      "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_1/propertysetdefinitions"
    }, {
      "template" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_1/propertydefinitions?startIndex={startIndex}&q={q}&itemsPerPage={itemsPerPage}",
      "resourceType" : "urn:oracle:wcps:property:propertydefinitions",
      "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete",
      "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_1/propertydefinitions"
    }, {
      "template" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_1/propertysetdefinitions/{setDefinitionName}/propertysets?startIndex={startIndex}&dataFields={dataFields}&q={q}&itemsPerPage={itemsPerPage}",
      "resourceType" : "urn:oracle:wcps:property:propertysets",
      "capabilities" : "urn:oracle:restframework:read"
    } ]
  }, {
    "name" : "Oracle_2",
    "createdOn" : "2010-10-07T19:24:27.034-0600",
    "updatedOn" : "2010-10-07T19:24:27.034-0600",
    "resourceType" : "urn:oracle:wcps:property:namespace",
    "links" : [ {
      "resourceType" : "urn:oracle:wcps:property:namespace",
      "capabilities" : "urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete",
      "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_2",
      "rel" : "self"
    }, {
      "template" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_2/propertysetdefinitions?startIndex={startIndex}&q={q}&itemsPerPage={itemsPerPage}",
      "resourceType" : "urn:oracle:wcps:property:propertysetdefinitions",
      "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete",
      "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_2/propertysetdefinitions"
    }, {
      "template" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_2/propertydefinitions?startIndex={startIndex}&q={q}&itemsPerPage={itemsPerPage}",
      "resourceType" : "urn:oracle:wcps:property:propertydefinitions",
      "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete",
      "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_2/propertydefinitions"
    }, {
      "template" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_2/propertysetdefinitions/{setDefinitionName}/propertysets?startIndex={startIndex}&dataFields={dataFields}&q={q}&itemsPerPage={itemsPerPage}",
      "resourceType" : "urn:oracle:wcps:property:propertysets",
      "capabilities" : "urn:oracle:restframework:read"
    } ]
  }, {
    "name" : "Oracle_3",
    "createdOn" : "2010-10-07T19:24:27.191-0600",
    "updatedOn" : "2010-10-07T19:24:27.191-0600",
    "resourceType" : "urn:oracle:wcps:property:namespace",
    "links" : [ {
      "resourceType" : "urn:oracle:wcps:property:namespace",
      "capabilities" : "urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete",
      "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_3",
      "rel" : "self"
    }, {
      "template" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_3/propertysetdefinitions?startIndex={startIndex}&q={q}&itemsPerPage={itemsPerPage}",
      "resourceType" : "urn:oracle:wcps:property:propertysetdefinitions",
      "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete",
      "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_3/propertysetdefinitions"
    }, {
      "template" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_3/propertydefinitions?startIndex={startIndex}&q={q}&itemsPerPage={itemsPerPage}",
      "resourceType" : "urn:oracle:wcps:property:propertydefinitions",
      "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete",
      "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_3/propertydefinitions"
    }, {
      "template" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_3/propertysetdefinitions/{setDefinitionName}/propertysets?startIndex={startIndex}&dataFields={dataFields}&q={q}&itemsPerPage={itemsPerPage}",
      "resourceType" : "urn:oracle:wcps:property:propertysets",
      "capabilities" : "urn:oracle:restframework:read"
    } ]
  }, {
    "name" : "Oracle_4",
    "createdOn" : "2010-10-07T19:24:27.259-0600",
    "updatedOn" : "2010-10-07T19:24:27.259-0600",
    "resourceType" : "urn:oracle:wcps:property:namespace",
    "links" : [ {
      "resourceType" : "urn:oracle:wcps:property:namespace",
      "capabilities" : "urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete",
      "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_4",
      "rel" : "self"
    }, {
      "template" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_4/propertysetdefinitions?startIndex={startIndex}&q={q}&itemsPerPage={itemsPerPage}",
      "resourceType" : "urn:oracle:wcps:property:propertysetdefinitions",
      "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete",
      "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_4/propertysetdefinitions"
    }, {
      "template" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_4/propertydefinitions?startIndex={startIndex}&q={q}&itemsPerPage={itemsPerPage}",
      "resourceType" : "urn:oracle:wcps:property:propertydefinitions",
      "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete",
      "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_4/propertydefinitions"
    }, {
      "template" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_4/propertysetdefinitions/{setDefinitionName}/propertysets?startIndex={startIndex}&dataFields={dataFields}&q={q}&itemsPerPage={itemsPerPage}",
      "resourceType" : "urn:oracle:wcps:property:propertysets",
      "capabilities" : "urn:oracle:restframework:read"
    } ]
  }, {
    "name" : "Oracle_5",
    "createdOn" : "2010-10-07T19:24:27.359-0600",
    "updatedOn" : "2010-10-07T19:24:27.359-0600",
    "resourceType" : "urn:oracle:wcps:property:namespace",
    "links" : [ {
      "resourceType" : "urn:oracle:wcps:property:namespace",
      "capabilities" : "urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete",
      "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_5",
      "rel" : "self"
    }, {
      "template" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_5/propertysetdefinitions?startIndex={startIndex}&q={q}&itemsPerPage={itemsPerPage}",
      "resourceType" : "urn:oracle:wcps:property:propertysetdefinitions",
      "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete",
      "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_5/propertysetdefinitions"
    }, {
      "template" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_5/propertydefinitions?startIndex={startIndex}&q={q}&itemsPerPage={itemsPerPage}",
      "resourceType" : "urn:oracle:wcps:property:propertydefinitions",
      "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete",
      "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_5/propertydefinitions"
    }, {
      "template" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_5/propertysetdefinitions/{setDefinitionName}/propertysets?startIndex={startIndex}&dataFields={dataFields}&q={q}&itemsPerPage={itemsPerPage}",
      "resourceType" : "urn:oracle:wcps:property:propertysets",
      "capabilities" : "urn:oracle:restframework:read"
    } ]
  }, {
    "name" : "Oracle_6",
    "createdOn" : "2010-10-07T19:24:27.409-0600",
    "updatedOn" : "2010-10-07T19:24:27.409-0600",
    "resourceType" : "urn:oracle:wcps:property:namespace",
    "links" : [ {
      "resourceType" : "urn:oracle:wcps:property:namespace",
      "capabilities" : "urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete",
      "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_6",
      "rel" : "self"
    }, {
      "template" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_6/propertysetdefinitions?startIndex={startIndex}&q={q}&itemsPerPage={itemsPerPage}",
      "resourceType" : "urn:oracle:wcps:property:propertysetdefinitions",
      "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete",
      "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_6/propertysetdefinitions"
    }, {
      "template" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_6/propertydefinitions?startIndex={startIndex}&q={q}&itemsPerPage={itemsPerPage}",
      "resourceType" : "urn:oracle:wcps:property:propertydefinitions",
      "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete",
      "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_6/propertydefinitions"
    }, {
      "template" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_6/propertysetdefinitions/{setDefinitionName}/propertysets?startIndex={startIndex}&dataFields={dataFields}&q={q}&itemsPerPage={itemsPerPage}",
      "resourceType" : "urn:oracle:wcps:property:propertysets",
      "capabilities" : "urn:oracle:restframework:read"
    } ]
  }, {
    "name" : "Oracle_7",
    "createdOn" : "2010-10-07T19:24:27.463-0600",
    "updatedOn" : "2010-10-07T19:24:27.463-0600",
    "resourceType" : "urn:oracle:wcps:property:namespace",
    "links" : [ {
      "resourceType" : "urn:oracle:wcps:property:namespace",
      "capabilities" : "urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete",
      "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_7",
      "rel" : "self"
    }, {
      "template" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_7/propertysetdefinitions?startIndex={startIndex}&q={q}&itemsPerPage={itemsPerPage}",
      "resourceType" : "urn:oracle:wcps:property:propertysetdefinitions",
      "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete",
      "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_7/propertysetdefinitions"
    }, {
      "template" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_7/propertydefinitions?startIndex={startIndex}&q={q}&itemsPerPage={itemsPerPage}",
      "resourceType" : "urn:oracle:wcps:property:propertydefinitions",
      "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete",
      "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_7/propertydefinitions"
    }, {
      "template" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_7/propertysetdefinitions/{setDefinitionName}/propertysets?startIndex={startIndex}&dataFields={dataFields}&q={q}&itemsPerPage={itemsPerPage}",
      "resourceType" : "urn:oracle:wcps:property:propertysets",
      "capabilities" : "urn:oracle:restframework:read"
    } ]
  }, {
    "name" : "Oracle_8",
    "createdOn" : "2010-10-07T19:24:27.543-0600",
    "updatedOn" : "2010-10-07T19:24:27.543-0600",
    "resourceType" : "urn:oracle:wcps:property:namespace",
    "links" : [ {
      "resourceType" : "urn:oracle:wcps:property:namespace",
      "capabilities" : "urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete",
      "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_8",
      "rel" : "self"
    }, {
      "template" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_8/propertysetdefinitions?startIndex={startIndex}&q={q}&itemsPerPage={itemsPerPage}",
      "resourceType" : "urn:oracle:wcps:property:propertysetdefinitions",
      "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete",
      "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_8/propertysetdefinitions"
    }, {
      "template" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_8/propertydefinitions?startIndex={startIndex}&q={q}&itemsPerPage={itemsPerPage}",
      "resourceType" : "urn:oracle:wcps:property:propertydefinitions",
      "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete",
      "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_8/propertydefinitions"
    }, {
      "template" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_8/propertysetdefinitions/{setDefinitionName}/propertysets?startIndex={startIndex}&dataFields={dataFields}&q={q}&itemsPerPage={itemsPerPage}",
      "resourceType" : "urn:oracle:wcps:property:propertysets",
      "capabilities" : "urn:oracle:restframework:read"
    } ]
  } ],
  "totalCount" : 21,
  "startIndex" : 0,
  "itemsPerPage" : 10,
  "resourceType" : "urn:oracle:wcps:property:namespaces",
  "links" : [ {
    "template" : "http://localhost:8891/wcps/api/property/namespaces?startIndex={startIndex}&q={q}&itemsPerPage={itemsPerPage}",
    "resourceType" : "urn:oracle:wcps:property:namespaces",
    "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete",
    "href" : "http://localhost:8891/wcps/api/property/namespaces",
    "rel" : "self"
  }, {
    "resourceType" : "urn:oracle:wcps:property:namespaces",
    "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete",
    "href" : "http://localhost:8891/wcps/api/property/namespaces?startIndex=10&itemsPerPage=10",
    "rel" : "next"
  } ]
}

68.3.2.6 Delete all Namespaces

DeleteAllNamespaces

XML

Request:
DELETE http://localhost:8891/wcps/api/property/namespaces
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
Cookie: JSESSIONID=t0FKMnYDSzjRlshhs0sFX20nvnTZLQY8vnxNLkplyfYPcWgfb9y6!-1714998420;Version=1
Content-Type: application/xml
Accept: application/xml
 
Response:
Status Code:204
Content-Length: 0
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Connection: close
X-Oracle-RF-Token-Location: header
Date: Thu, 07 Oct 2010 23:31:17 GMT

JSON

Request:
DELETE http://localhost:8891/wcps/api/property/namespaces
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
Cookie: JSESSIONID=WFGvMnyKP7nDBW1RQynhhphbQvWLDjLSbFJj2MQ1g6nFH2VQlgJ4!-609606431;Version=1
Content-Type: application/json
Accept: application/json
 
Response:
Status Code:204
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Connection: close
X-Oracle-RF-Token-Location: header
Content-Type: application/json
Date: Fri, 08 Oct 2010 01:24:28 GMT

68.3.3 Property Definition CRUD

This section contains the following subsections:

68.3.3.1 Create Property Definition - Create Integer Property Definition

CreateIntPD

XML

Request:
POST http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
Cookie: JSESSIONID=ZfhzMnYQz7pg4gzv5wZV1srvy3yDTsG4J4090X1GnHhrQpCSTkG2!-1714998420;Version=1
Content-Type: application/xml
Accept: application/xml
 
<?xml version="1.0" encoding="UTF-8"?>
<propertyDefinition resourceType="urn:oracle:wcps:property:propertydefinition">
  <namespaceName>Oracle</namespaceName>
  <name>Integer_Def</name>
  <type>INT</type>
  <restricted>false</restricted>
  <defaultValues/>
</propertyDefinition>
 
Response:
Status Code:201
Content-Length: 678
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Cache-Control: no-cache
X-Oracle-RF-Token-Location: header
Content-Type: application/xml
Location: http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions/Integer_Def
Date: Thu, 07 Oct 2010 23:31:29 GMT
ETag: "1286494289263"
 
<?xml version="1.0" encoding="UTF-8"?>
<propertyDefinition resourceType="urn:oracle:wcps:property:propertydefinition">
  <links>
    <link
      capabilities="urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
      href="http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions/Integer_Def"
      rel="self" resourceType="urn:oracle:wcps:property:propertydefinition"/>
  </links>
  <namespaceName>Oracle</namespaceName>
  <name>Integer_Def</name>
  <createdOn>2010-10-07T17:31:29.263-0600</createdOn>
  <updatedOn>2010-10-07T17:31:29.263-0600</updatedOn>
  <type>INT</type>
  <restricted>false</restricted>
  <defaultValues/>
</propertyDefinition>

JSON

Request:
POST http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
Cookie: JSESSIONID=GSw4MnyYTw87Q6yCBb2H9F0JL6kLJwjrqYv3b72LtDMQGdLKPGRc!-609606431;Version=1
Content-Type: application/json
Accept: application/json
 
{
  "name" : "Integer_Def",
  "type" : "INT",
  "namespaceName" : "Oracle",
  "restricted" : false,
  "defaultValues" : [ ],
  "resourceType" : "urn:oracle:wcps:property:propertydefinition"
}
 
Response:
Status Code:201
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Cache-Control: no-cache
X-Oracle-RF-Token-Location: header
Transfer-Encoding: chunked
Content-Type: application/json
Location: http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions/Integer_Def
Date: Fri, 08 Oct 2010 01:24:41 GMT
ETag: "1286501081086"
 
{
  "name" : "Integer_Def",
  "type" : "INT",
  "namespaceName" : "Oracle",
  "defaultValues" : [ ],
  "createdOn" : "2010-10-07T19:24:41.086-0600",
  "updatedOn" : "2010-10-07T19:24:41.086-0600",
  "restricted" : false,
  "resourceType" : "urn:oracle:wcps:property:propertydefinition",
  "links" : [ {
    "resourceType" : "urn:oracle:wcps:property:propertydefinition",
    "capabilities" : "urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete",
    "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions/Integer_Def",
    "rel" : "self"
  } ]
}

68.3.3.2 Create Property Definition - Create Integer Array Property Definition

CreateIntArrPD

XML

Request:
POST http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
Cookie: JSESSIONID=ZfhzMnYQz7pg4gzv5wZV1srvy3yDTsG4J4090X1GnHhrQpCSTkG2!-1714998420;Version=1
Content-Type: application/xml
Accept: application/xml
 
<?xml version="1.0" encoding="UTF-8"?>
<propertyDefinition resourceType="urn:oracle:wcps:property:propertydefinition">
  <namespaceName>Oracle</namespaceName>
  <name>Integer_Array_Def</name>
  <type>INT_ARRAY</type>
  <restricted>true</restricted>
  <restrictedValues>
    <integer>1</integer>
    <integer>2</integer>
    <integer>3</integer>
    <integer>4</integer>
    <integer>5</integer>
  </restrictedValues>
  <defaultValues>
    <integer>1</integer>
    <integer>2</integer>
  </defaultValues>
</propertyDefinition>
 
Response:
Status Code:201
Content-Length: 887
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Cache-Control: no-cache
X-Oracle-RF-Token-Location: header
Content-Type: application/xml
Location: http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions/Integer_Array_Def
Date: Thu, 07 Oct 2010 23:31:29 GMT
ETag: "1286494289494"
 
<?xml version="1.0" encoding="UTF-8"?>
<propertyDefinition resourceType="urn:oracle:wcps:property:propertydefinition">
  <links>
    <link
      capabilities="urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
      href="http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions/Integer_Array_Def"
      rel="self" resourceType="urn:oracle:wcps:property:propertydefinition"/>
  </links>
  <namespaceName>Oracle</namespaceName>
  <name>Integer_Array_Def</name>
  <createdOn>2010-10-07T17:31:29.494-0600</createdOn>
  <updatedOn>2010-10-07T17:31:29.494-0600</updatedOn>
  <type>INT_ARRAY</type>
  <restricted>true</restricted>
  <restrictedValues>
    <integer>1</integer>
    <integer>2</integer>
    <integer>3</integer>
    <integer>4</integer>
    <integer>5</integer>
  </restrictedValues>
  <defaultValues>
    <integer>1</integer>
    <integer>2</integer>
  </defaultValues>
</propertyDefinition>

JSON

Request:
POST http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
Cookie: JSESSIONID=GSw4MnyYTw87Q6yCBb2H9F0JL6kLJwjrqYv3b72LtDMQGdLKPGRc!-609606431;Version=1
Content-Type: application/json
Accept: application/json
 
{
  "name" : "Integer_Array_Def",
  "type" : "INT_ARRAY",
  "namespaceName" : "Oracle",
  "restricted" : true,
  "restrictedValues" : [ {
    "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:integer-value",
    "value" : 1
  }, {
    "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:integer-value",
    "value" : 2
  }, {
    "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:integer-value",
    "value" : 3
  }, {
    "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:integer-value",
    "value" : 4
  }, {
    "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:integer-value",
    "value" : 5
  } ],
  "defaultValues" : [ {
    "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:integer-value",
    "value" : 1
  }, {
    "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:integer-value",
    "value" : 2
  } ],
  "resourceType" : "urn:oracle:wcps:property:propertydefinition"
}
 
Response:
Status Code:201
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Cache-Control: no-cache
X-Oracle-RF-Token-Location: header
Transfer-Encoding: chunked
Content-Type: application/json
Location: http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions/Integer_Array_Def
Date: Fri, 08 Oct 2010 01:24:41 GMT
ETag: "1286501081123"
 
{
  "name" : "Integer_Array_Def",
  "type" : "INT_ARRAY",
  "namespaceName" : "Oracle",
  "defaultValues" : [ {
    "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:integer-value",
    "value" : 1
  }, {
    "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:integer-value",
    "value" : 2
  } ],
  "createdOn" : "2010-10-07T19:24:41.123-0600",
  "updatedOn" : "2010-10-07T19:24:41.123-0600",
  "restricted" : true,
  "restrictedValues" : [ {
    "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:integer-value",
    "value" : 1
  }, {
    "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:integer-value",
    "value" : 2
  }, {
    "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:integer-value",
    "value" : 3
  }, {
    "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:integer-value",
    "value" : 4
  }, {
    "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:integer-value",
    "value" : 5
  } ],
  "resourceType" : "urn:oracle:wcps:property:propertydefinition",
  "links" : [ {
    "resourceType" : "urn:oracle:wcps:property:propertydefinition",
    "capabilities" : "urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete",
    "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions/Integer_Array_Def",
    "rel" : "self"
  } ]
}

68.3.3.3 Retrieve Property Definition

RetrievePD

XML

Request:
GET http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions/Integer_Def
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
Cookie: JSESSIONID=ZfhzMnYQz7pg4gzv5wZV1srvy3yDTsG4J4090X1GnHhrQpCSTkG2!-1714998420;Version=1
Content-Type: application/xml
Accept: application/xml
 
Response:
Status Code:200
Content-Length: 743
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Cache-Control: no-cache
X-Oracle-RF-Token-Location: header
Content-Type: application/xml
Date: Thu, 07 Oct 2010 23:31:29 GMT
ETag: "1286494289862"
 
<?xml version="1.0" encoding="UTF-8"?>
<propertyDefinition resourceType="urn:oracle:wcps:property:propertydefinition">
  <links>
    <link
      capabilities="urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
      href="http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions/Integer_Def"
      rel="self" resourceType="urn:oracle:wcps:property:propertydefinition"/>
  </links>
  <namespaceName>Oracle</namespaceName>
  <name>Integer_Def</name>
  <description>Defines an integer property value type</description>
  <createdOn>2010-10-07T17:31:29.263-0600</createdOn>
  <updatedOn>2010-10-07T17:31:29.862-0600</updatedOn>
  <type>INT</type>
  <restricted>false</restricted>
  <defaultValues/>
</propertyDefinition>

JSON

Request:
GET http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions/Integer_Def
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
Cookie: JSESSIONID=GSw4MnyYTw87Q6yCBb2H9F0JL6kLJwjrqYv3b72LtDMQGdLKPGRc!-609606431;Version=1
Content-Type: application/json
Accept: application/json
 
Response:
Status Code:200
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Cache-Control: no-cache
X-Oracle-RF-Token-Location: header
Transfer-Encoding: chunked
Content-Type: application/json
Date: Fri, 08 Oct 2010 01:24:41 GMT
ETag: "1286501081172"
 
{
  "name" : "Integer_Def",
  "type" : "INT",
  "description" : "Defines an integer property value type",
  "namespaceName" : "Oracle",
  "defaultValues" : [ ],
  "createdOn" : "2010-10-07T19:24:41.086-0600",
  "updatedOn" : "2010-10-07T19:24:41.172-0600",
  "restricted" : false,
  "resourceType" : "urn:oracle:wcps:property:propertydefinition",
  "links" : [ {
    "resourceType" : "urn:oracle:wcps:property:propertydefinition",
    "capabilities" : "urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete",
    "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions/Integer_Def",
    "rel" : "self"
  } ]
}

68.3.3.4 Update Property Definition

UpdatePD

XML

Request:
PUT http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions/Integer_Def
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
Cookie: JSESSIONID=ZfhzMnYQz7pg4gzv5wZV1srvy3yDTsG4J4090X1GnHhrQpCSTkG2!-1714998420;Version=1
Content-Type: application/xml
Accept: application/xml
If-Match: 1286494289263
 
<?xml version="1.0" encoding="UTF-8"?>
<propertyDefinition resourceType="urn:oracle:wcps:property:propertydefinition">
  <namespaceName>Oracle</namespaceName>
  <name>Integer_Def</name>
  <description>Defines an integer property value type</description>
  <createdOn>2010-10-07T17:31:29.263-0600</createdOn>
  <updatedOn>2010-10-07T17:31:29.263-0600</updatedOn>
  <type>INT</type>
  <restricted>false</restricted>
  <defaultValues/>
</propertyDefinition>
 
Response:
Status Code:200
Content-Length: 0
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Cache-Control: no-cache
X-Oracle-RF-Token-Location: header
Date: Thu, 07 Oct 2010 23:31:29 GMT
ETag: "1286494289862"

JSON

Request:
PUT http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions/Integer_Def
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
Cookie: JSESSIONID=GSw4MnyYTw87Q6yCBb2H9F0JL6kLJwjrqYv3b72LtDMQGdLKPGRc!-609606431;Version=1
Content-Type: application/json
Accept: application/json
If-Match: 1286501081086
 
{
  "name" : "Integer_Def",
  "type" : "INT",
  "description" : "Defines an integer property value type",
  "namespaceName" : "Oracle",
  "createdOn" : "2010-10-07T19:24:41.086-0600",
  "updatedOn" : "2010-10-07T19:24:41.086-0600",
  "restricted" : false,
  "defaultValues" : [ ],
  "resourceType" : "urn:oracle:wcps:property:propertydefinition"
}
 
Response:
Status Code:200
Content-Length: 0
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Cache-Control: no-cache
X-Oracle-RF-Token-Location: header
Date: Fri, 08 Oct 2010 01:24:41 GMT
ETag: "1286501081172"

68.3.3.5 Delete Property Definition

DeletePD

XML

Request:
DELETE http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions/Integer_Def
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
Cookie: JSESSIONID=ZfhzMnYQz7pg4gzv5wZV1srvy3yDTsG4J4090X1GnHhrQpCSTkG2!-1714998420;Version=1
Content-Type: application/xml
Accept: application/xml
If-Match: 1286494289263
 
Response:
Status Code:204
Content-Length: 0
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Connection: close
X-Oracle-RF-Token-Location: header
Date: Thu, 07 Oct 2010 23:31:29 GMT

JSON

Request:
DELETE http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions/Integer_Def
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
Cookie: JSESSIONID=GSw4MnyYTw87Q6yCBb2H9F0JL6kLJwjrqYv3b72LtDMQGdLKPGRc!-609606431;Version=1
Content-Type: application/json
Accept: application/json
If-Match: 1286501081086
 
Response:
Status Code:204
Content-Length: 0
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Connection: close
X-Oracle-RF-Token-Location: header
Date: Fri, 08 Oct 2010 01:24:41 GMT

68.3.3.6 Retrieve all Property Definitions

RetrieveAllPDs

XML

Request:
GET http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
Cookie: JSESSIONID=ZfhzMnYQz7pg4gzv5wZV1srvy3yDTsG4J4090X1GnHhrQpCSTkG2!-1714998420;Version=1
Content-Type: application/xml
Accept: application/xml
 
Response:
Status Code:200
Content-Length: 1586
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Cache-Control: no-cache
X-Oracle-RF-Token-Location: header
Content-Type: application/xml
Date: Thu, 07 Oct 2010 23:31:29 GMT
 
<?xml version="1.0" encoding="UTF-8"?>
<propertyDefinitions resourceType="urn:oracle:wcps:property:propertydefinitions">
  <links>
    <link
      capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete"
      href="http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions?q=pd-name:like:%25&amp;startIndex=0&amp;itemsPerPage=10"
      rel="self"
      resourceType="urn:oracle:wcps:property:propertydefinitions" template="http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions?startIndex={startIndex}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
  </links>
  <itemsPerPage>10</itemsPerPage>
  <startIndex>0</startIndex>
  <totalCount>1</totalCount>
  <namespaceName>Oracle</namespaceName>
  <items>
    <propertyDefinition resourceType="urn:oracle:wcps:property:propertydefinition">
      <links>
        <link
          capabilities="urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
          href="http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions/Integer_Array_Def"
          rel="self" resourceType="urn:oracle:wcps:property:propertydefinition"/>
      </links>
      <name>Integer_Array_Def</name>
      <createdOn>2010-10-07T17:31:29.494-0600</createdOn>
      <updatedOn>2010-10-07T17:31:29.494-0600</updatedOn>
      <type>INT_ARRAY</type>
      <restricted>true</restricted>
      <restrictedValues>
        <integer>5</integer>
        <integer>4</integer>
        <integer>3</integer>
        <integer>2</integer>
        <integer>1</integer>
      </restrictedValues>
      <defaultValues>
        <integer>2</integer>
        <integer>1</integer>
      </defaultValues>
    </propertyDefinition>
  </items>
</propertyDefinitions>

JSON

Request:
GET http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
Cookie: JSESSIONID=GSw4MnyYTw87Q6yCBb2H9F0JL6kLJwjrqYv3b72LtDMQGdLKPGRc!-609606431;Version=1
Content-Type: application/json
Accept: application/json
 
Response:
Status Code:200
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Cache-Control: no-cache
X-Oracle-RF-Token-Location: header
Transfer-Encoding: chunked
Content-Type: application/json
Date: Fri, 08 Oct 2010 01:24:41 GMT
 
{
  "namespaceName" : "Oracle",
  "propertyDefinitions" : [ {
    "name" : "Integer_Array_Def",
    "type" : "INT_ARRAY",
    "defaultValues" : [ {
      "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:integer-value",
      "value" : 2
    }, {
      "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:integer-value",
      "value" : 1
    } ],
    "createdOn" : "2010-10-07T19:24:41.123-0600",
    "updatedOn" : "2010-10-07T19:24:41.123-0600",
    "restricted" : true,
    "restrictedValues" : [ {
      "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:integer-value",
      "value" : 5
    }, {
      "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:integer-value",
      "value" : 4
    }, {
      "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:integer-value",
      "value" : 3
    }, {
      "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:integer-value",
      "value" : 2
    }, {
      "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:integer-value",
      "value" : 1
    } ],
    "resourceType" : "urn:oracle:wcps:property:propertydefinition",
    "links" : [ {
      "resourceType" : "urn:oracle:wcps:property:propertydefinition",
      "capabilities" : "urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete",
      "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions/Integer_Array_Def",
      "rel" : "self"
    } ]
  } ],
  "totalCount" : 1,
  "startIndex" : 0,
  "itemsPerPage" : 10,
  "resourceType" : "urn:oracle:wcps:property:propertydefinitions",
  "links" : [ {
    "template" : "http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions?startIndex={startIndex}&q={q}&itemsPerPage={itemsPerPage}",
    "resourceType" : "urn:oracle:wcps:property:propertydefinitions",
    "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete",
    "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions?q=pd-name:like:%25&startIndex=0&itemsPerPage=10",
    "rel" : "self"
  } ]
}

68.3.3.7 Delete all Property Definitions

DeleteAllPDs

XML

Request:
DELETE http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
Cookie: JSESSIONID=ZfhzMnYQz7pg4gzv5wZV1srvy3yDTsG4J4090X1GnHhrQpCSTkG2!-1714998420;Version=1
Content-Type: application/xml
Accept: application/xml
 
Response:
Status Code:204
Content-Length: 0
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Connection: close
X-Oracle-RF-Token-Location: header
Date: Thu, 07 Oct 2010 23:31:30 GMT

JSON

Request:
DELETE http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
Cookie: JSESSIONID=GSw4MnyYTw87Q6yCBb2H9F0JL6kLJwjrqYv3b72LtDMQGdLKPGRc!-609606431;Version=1
Content-Type: application/json
Accept: application/json
 
Response:
Status Code:204
Content-Length: 0
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Connection: close
X-Oracle-RF-Token-Location: header
Date: Fri, 08 Oct 2010 01:24:41 GMT

68.3.4 Property Set Definition CRUD

This section contains the following subsections:

68.3.4.1 Create Property Set Definition

CreatePSD

XML

Request:
POST http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
Cookie: JSESSIONID=6Q93MnYT5xcTQJ3tPLn3vT7sCPDNFlyzQGRSRnXlfHp8lSTbR8NH!-1714998420;Version=1
Content-Type: application/xml
Accept: application/xml
 
<?xml version="1.0" encoding="UTF-8"?>
<propertySetDefinition resourceType="urn:oracle:wcps:property:propertysetdefinition">
  <namespaceName>Oracle</namespaceName>
  <name>partnersinfo</name>
  <propertyMapping>
    <propertyName>company_name</propertyName>
    <propertyDefinitionName>String_Def</propertyDefinitionName>
  </propertyMapping>
  <propertyMapping>
    <propertyName>address</propertyName>
    <propertyDefinitionName>String_Def</propertyDefinitionName>
  </propertyMapping>
  <propertyMapping>
    <propertyName>number_of_employees</propertyName>
    <propertyDefinitionName>Integer_Def</propertyDefinitionName>
  </propertyMapping>
  <propertyMapping>
    <propertyName>previous_ranking_and_current_ranking</propertyName>
    <propertyDefinitionName>Integer_Array_Def</propertyDefinitionName>
  </propertyMapping>
</propertySetDefinition>

Response:
Status Code:201
Content-Length: 2854
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Cache-Control: no-cache
X-Oracle-RF-Token-Location: header
Content-Type: application/xml
Location: http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo
Date: Thu, 07 Oct 2010 23:31:32 GMT
ETag: "1286494292658"
 
<?xml version="1.0" encoding="UTF-8"?>
<propertySetDefinition resourceType="urn:oracle:wcps:property:propertysetdefinition">
  <links>
    <link
      capabilities="urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
      href="http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo"
      rel="self" resourceType="urn:oracle:wcps:property:propertysetdefinition"/>
    <link
      capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete"
      href="http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets"
      resourceType="urn:oracle:wcps:property:propertysets" template="http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets?startIndex={startIndex}&amp;dataFields={dataFields}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
  </links>
  <namespaceName>Oracle</namespaceName>
  <name>partnersinfo</name>
  <createdOn>2010-10-07T17:31:32.658-0600</createdOn>
  <updatedOn>2010-10-07T17:31:32.658-0600</updatedOn>
  <propertyMapping>
    <links>
      <link
        capabilities="urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
        href="http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions/Integer_Def" resourceType="urn:oracle:wcps:property:propertydefinition"/>
    </links>
    <propertyName>number_of_employees</propertyName>
    <propertyDefinitionName>Integer_Def</propertyDefinitionName>
  </propertyMapping>
  <propertyMapping>
    <links>
      <link
        capabilities="urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
        href="http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions/String_Def" resourceType="urn:oracle:wcps:property:propertydefinition"/>
    </links>
    <propertyName>address</propertyName>
    <propertyDefinitionName>String_Def</propertyDefinitionName>
  </propertyMapping>
  <propertyMapping>
    <links>
      <link
        capabilities="urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
        href="http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions/String_Def" resourceType="urn:oracle:wcps:property:propertydefinition"/>
    </links>
    <propertyName>company_name</propertyName>
    <propertyDefinitionName>String_Def</propertyDefinitionName>
  </propertyMapping>
  <propertyMapping>
    <links>
      <link
        capabilities="urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
        href="http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions/Integer_Array_Def" resourceType="urn:oracle:wcps:property:propertydefinition"/>
    </links>
    <propertyName>previous_ranking_and_current_ranking</propertyName>
    <propertyDefinitionName>Integer_Array_Def</propertyDefinitionName>
  </propertyMapping>
</propertySetDefinition>

JSON

Request:
POST http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitionsX-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
Cookie: JSESSIONID=dpvQMnyDkSNwv1TZ20JSYyzJpKJn1JwBQdRtNLQhNPHWpgvs8PcZ!-609606431;Version=1
Content-Type: application/json
Accept: application/json

{
  "name" : "partnersinfo",
  "namespaceName" : "Oracle",
  "propertyMappings" : [ {
    "propertyDefinitionName" : "String_Def",
    "propertyName" : "company_name"
  }, {
    "propertyDefinitionName" : "String_Def",
    "propertyName" : "address"
  }, {
    "propertyDefinitionName" : "Integer_Def",
    "propertyName" : "number_of_employees"
  }, {
    "propertyDefinitionName" : "Integer_Array_Def",
    "propertyName" : "previous_ranking_and_current_ranking"
  } ],
  "resourceType" : "urn:oracle:wcps:property:propertysetdefinition"
}

Response:
Status Code:201
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Cache-Control: no-cache
X-Oracle-RF-Token-Location: header
Transfer-Encoding: chunked
Content-Type: application/json
Location: http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo
Date: Fri, 08 Oct 2010 01:24:51 GMT
ETag: "1286501091845"
 
{
  "name" : "partnersinfo",
  "namespaceName" : "Oracle",
  "createdOn" : "2010-10-07T19:24:51.845-0600",
  "updatedOn" : "2010-10-07T19:24:51.845-0600",
  "propertyMappings" : [ {
    "propertyName" : "number_of_employees",
    "propertyDefinitionName" : "Integer_Def",
    "links" : [ {
      "resourceType" : "urn:oracle:wcps:property:propertydefinition",
      "capabilities" : "urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete",
      "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions/Integer_Def"
    } ]
  }, {
    "propertyName" : "address",
    "propertyDefinitionName" : "String_Def",
    "links" : [ {
      "resourceType" : "urn:oracle:wcps:property:propertydefinition",
      "capabilities" : "urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete",
      "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions/String_Def"
    } ]
  }, {
    "propertyName" : "company_name",
    "propertyDefinitionName" : "String_Def",
    "links" : [ {
      "resourceType" : "urn:oracle:wcps:property:propertydefinition",
      "capabilities" : "urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete",
      "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions/String_Def"
    } ]
  }, {
    "propertyName" : "previous_ranking_and_current_ranking",
    "propertyDefinitionName" : "Integer_Array_Def",
    "links" : [ {
      "resourceType" : "urn:oracle:wcps:property:propertydefinition",
      "capabilities" : "urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete",
      "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions/Integer_Array_Def"
    } ]
  } ],
  "resourceType" : "urn:oracle:wcps:property:propertysetdefinition",
  "links" : [ {
    "resourceType" : "urn:oracle:wcps:property:propertysetdefinition",
    "capabilities" : "urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete",
    "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo",
    "rel" : "self"
  }, {
    "template" : "http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets?startIndex={startIndex}&dataFields={dataFields}&q={q}&itemsPerPage={itemsPerPage}",
    "resourceType" : "urn:oracle:wcps:property:propertysets",
    "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete",
    "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets"
  } ]
}

68.3.4.2 Retrieve Property Set Definition

RetrievePSD

XML

Request:
DELETE http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
Cookie: JSESSIONID=6Q93MnYT5xcTQJ3tPLn3vT7sCPDNFlyzQGRSRnXlfHp8lSTbR8NH!-1714998420;Version=1
Content-Type: application/xml
Accept: application/xml
If-Match: 1286494292658
 
Response:
Status Code:204
Content-Length: 0
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Connection: close
X-Oracle-RF-Token-Location: header
Date: Thu, 07 Oct 2010 23:31:33 GMT

JSON

Request:
DELETE http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
Cookie: JSESSIONID=dpvQMnyDkSNwv1TZ20JSYyzJpKJn1JwBQdRtNLQhNPHWpgvs8PcZ!-609606431;Version=1
Content-Type: application/json
Accept: application/json
If-Match: 1286501091845
 
Response:
Status Code:204
Content-Length: 0
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Connection: close
X-Oracle-RF-Token-Location: header
Date: Fri, 08 Oct 2010 01:24:51 GMT

68.3.4.3 Retrieve All Property Set Definitions

RetrieveAllPSDs

XML

Request:
GET http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
Cookie: JSESSIONID=6Q93MnYT5xcTQJ3tPLn3vT7sCPDNFlyzQGRSRnXlfHp8lSTbR8NH!-1714998420;Version=1
Content-Type: application/xml
Accept: application/xml
 
Response:
Status Code:200
Content-Length: 779
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Cache-Control: no-cache
X-Oracle-RF-Token-Location: header
Content-Type: application/xml
Date: Thu, 07 Oct 2010 23:31:33 GMT
 
<?xml version="1.0" encoding="UTF-8"?>
<propertySetDefinitions resourceType="urn:oracle:wcps:property:propertysetdefinitions">
  <links>
    <link
      capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete"
      href="http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions?startIndex=0&amp;itemsPerPage=10"
      rel="self"
      resourceType="urn:oracle:wcps:property:propertysetdefinitions" template="http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions?startIndex={startIndex}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
  </links>
  <itemsPerPage>10</itemsPerPage>
  <startIndex>0</startIndex>
  <totalCount>0</totalCount>
  <namespaceName>Oracle</namespaceName>
  <items/>
</propertySetDefinitions>

JSON

Request:
GET http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
Cookie: JSESSIONID=dpvQMnyDkSNwv1TZ20JSYyzJpKJn1JwBQdRtNLQhNPHWpgvs8PcZ!-609606431;Version=1
Content-Type: application/json
Accept: application/json
 
Response:
Status Code:200
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Cache-Control: no-cache
X-Oracle-RF-Token-Location: header
Transfer-Encoding: chunked
Content-Type: application/json
Date: Fri, 08 Oct 2010 01:24:51 GMT
 
{
  "namespaceName" : "Oracle",
  "propertySetDefinitions" : [ ],
  "totalCount" : 0,
  "startIndex" : 0,
  "itemsPerPage" : 10,
  "resourceType" : "urn:oracle:wcps:property:propertysetdefinitions",
  "links" : [ {
    "template" : "http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions?startIndex={startIndex}&q={q}&itemsPerPage={itemsPerPage}",
    "resourceType" : "urn:oracle:wcps:property:propertysetdefinitions",
    "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete",
    "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions?startIndex=0&itemsPerPage=10",
    "rel" : "self"
  } ]
}

68.3.4.4 Delete all Property Set Definitions

DeleteAllPSDs

XML

Request:
DELETE http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
Cookie: JSESSIONID=6Q93MnYT5xcTQJ3tPLn3vT7sCPDNFlyzQGRSRnXlfHp8lSTbR8NH!-1714998420;Version=1
Content-Type: application/xml
Accept: application/xml
 
Response:
Status Code:204
Content-Length: 0
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Connection: close
X-Oracle-RF-Token-Location: header
Date: Thu, 07 Oct 2010 23:31:33 GMT

JSON

Request:
DELETE http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
Cookie: JSESSIONID=dpvQMnyDkSNwv1TZ20JSYyzJpKJn1JwBQdRtNLQhNPHWpgvs8PcZ!-609606431;Version=1
Content-Type: application/json
Accept: application/json
 
Response:
Status Code:204
Content-Length: 0
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Connection: close
X-Oracle-RF-Token-Location: header
Date: Fri, 08 Oct 2010 01:24:51 GMT

68.3.5 Property Set CRUD

This section contains the following subsections:

68.3.5.1 Create Property Set

CreatePS

XML

Request:
POST http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
Cookie: JSESSIONID=vc1pMnYWRZysgqhXVz5XrGKqhvfy0vv2zc7xQ3RyDSvG0mG22ZlJ!-1714998420;Version=1
Content-Type: application/xml
Accept: application/xml
 
<?xml version="1.0" encoding="UTF-8"?>
<propertySet resourceType="urn:oracle:wcps:property:propertyset">
  <namespaceName>Oracle</namespaceName>
  <propertySetDefinitionName>partnersinfo</propertySetDefinitionName>
  <name>infosys</name>
  <items>
    <property multiValue="false" resourceType="urn:oracle:wcps:property:property">
      <name>company_name</name>
      <type>STRING</type>
      <values>
        <string>InfoSys</string>
      </values>
    </property>
    <property multiValue="false" resourceType="urn:oracle:wcps:property:property">
      <name>address</name>
      <type>STRING</type>
      <values>
        <string>1 foo loop, San Francisco, CA</string>
      </values>
    </property>
    <property multiValue="false" resourceType="urn:oracle:wcps:property:property">
      <name>number_of_employees</name>
      <type>INT</type>
      <values>
        <integer>10000</integer>
      </values>
    </property>
    <property multiValue="true" resourceType="urn:oracle:wcps:property:property">
      <name>previous_ranking_and_current_ranking</name>
      <type>INT_ARRAY</type>
      <values>
        <integer>3</integer>
        <integer>5</integer>
      </values>
    </property>
  </items>
</propertySet>
 
Response:
 
Status Code:201
Content-Length: 3709
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Cache-Control: no-cache
X-Oracle-RF-Token-Location: header
Content-Type: application/xml
Location: http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys
Date: Thu, 07 Oct 2010 23:31:35 GMT
ETag: "1286494295948"
 
<?xml version="1.0" encoding="UTF-8"?>
<propertySet resourceType="urn:oracle:wcps:property:propertyset">
  <links>
    <link
      capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
      resourceType="urn:oracle:wcps:property:property" template="http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys/properties/{propertyName}"/>
    <link
      capabilities="urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
      href="http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys"
      rel="self" resourceType="urn:oracle:wcps:property:propertyset"/>
  </links>
  <namespaceName>Oracle</namespaceName>
  <propertySetDefinitionName>partnersinfo</propertySetDefinitionName>
  <name>infosys</name>
  <items>
    <property multiValue="false" resourceType="urn:oracle:wcps:property:property">
      <links>
        <link
          capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
          href="http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys/properties/number_of_employees"
          rel="self" resourceType="urn:oracle:wcps:property:property"/>
      </links>
      <name>number_of_employees</name>
      <type>INT</type>
      <values>
        <integer>10000</integer>
      </values>
      <createdOn>2010-10-07T17:31:35.948-0600</createdOn>
      <updatedOn>2010-10-07T17:31:35.948-0600</updatedOn>
    </property>
    <property multiValue="false" resourceType="urn:oracle:wcps:property:property">
      <links>
        <link
          capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
          href="http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys/properties/address"
          rel="self" resourceType="urn:oracle:wcps:property:property"/>
      </links>
      <name>address</name>
      <type>STRING</type>
      <values>
        <string>1 foo loop, San Francisco, CA</string>
      </values>
      <createdOn>2010-10-07T17:31:35.948-0600</createdOn>
      <updatedOn>2010-10-07T17:31:35.948-0600</updatedOn>
    </property>
    <property multiValue="false" resourceType="urn:oracle:wcps:property:property">
      <links>
        <link
          capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
          href="http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys/properties/company_name"
          rel="self" resourceType="urn:oracle:wcps:property:property"/>
      </links>
      <name>company_name</name>
      <type>STRING</type>
      <values>
        <string>InfoSys</string>
      </values>
      <createdOn>2010-10-07T17:31:35.948-0600</createdOn>
      <updatedOn>2010-10-07T17:31:35.948-0600</updatedOn>
    </property>
    <property multiValue="true" resourceType="urn:oracle:wcps:property:property">
      <links>
        <link
          capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
          href="http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys/properties/previous_ranking_and_current_ranking"
          rel="self" resourceType="urn:oracle:wcps:property:property"/>
      </links>
      <name>previous_ranking_and_current_ranking</name>
      <type>INT_ARRAY</type>
      <values>
        <integer>3</integer>
        <integer>5</integer>
      </values>
      <createdOn>2010-10-07T17:31:35.948-0600</createdOn>
      <updatedOn>2010-10-07T17:31:35.948-0600</updatedOn>
    </property>
  </items>
  <createdOn>2010-10-07T17:31:35.948-0600</createdOn>
  <updatedOn>2010-10-07T17:31:35.948-0600</updatedOn>
</propertySet>

JSON

Request:
POST http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
Cookie: JSESSIONID=h72xMnyKQQSW9Lwcg2HMGDnNQnK1HZJpGJmLgZ2P1vHFpvT2bX2k!-609606431;Version=1
Content-Type: application/json
Accept: application/json
 
{
  "name" : "infosys",
  "properties" : [ {
    "name" : "company_name",
    "type" : "STRING",
    "values" : [ {
      "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:string-value",
      "value" : "InfoSys"
    } ],
    "multiValue" : false,
    "resourceType" : "urn:oracle:wcps:property:property"
  }, {
    "name" : "address",
    "type" : "STRING",
    "values" : [ {
      "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:string-value",
      "value" : "1 foo loop, San Francisco, CA"
    } ],
    "multiValue" : false,
    "resourceType" : "urn:oracle:wcps:property:property"
  }, {
    "name" : "number_of_employees",
    "type" : "INT",
    "values" : [ {
      "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:integer-value",
      "value" : 10000
    } ],
    "multiValue" : false,
    "resourceType" : "urn:oracle:wcps:property:property"
  }, {
    "name" : "previous_ranking_and_current_ranking",
    "type" : "INT_ARRAY",
    "values" : [ {
      "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:integer-value",
      "value" : 3
    }, {
      "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:integer-value",
      "value" : 5
    } ],
    "multiValue" : true,
    "resourceType" : "urn:oracle:wcps:property:property"
  } ],
  "namespaceName" : "Oracle",
  "propertySetDefinitionName" : "partnersinfo",
  "resourceType" : "urn:oracle:wcps:property:propertyset"
}
 
Response:
Status Code:201
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Cache-Control: no-cache
X-Oracle-RF-Token-Location: header
Transfer-Encoding: chunked
Content-Type: application/json
Location: http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys
Date: Fri, 08 Oct 2010 01:24:58 GMT
ETag: "1286501098924"
 
{
  "name" : "infosys",
  "properties" : [ {
    "name" : "number_of_employees",
    "type" : "INT",
    "values" : [ {
      "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:integer-value",
      "value" : 10000
    } ],
    "createdOn" : "2010-10-07T19:24:58.924-0600",
    "updatedOn" : "2010-10-07T19:24:58.924-0600",
    "multiValue" : false,
    "resourceType" : "urn:oracle:wcps:property:property",
    "links" : [ {
      "resourceType" : "urn:oracle:wcps:property:property",
      "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete",
      "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys/properties/number_of_employees",
      "rel" : "self"
    } ]
  }, {
    "name" : "address",
    "type" : "STRING",
    "values" : [ {
      "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:string-value",
      "value" : "1 foo loop, San Francisco, CA"
    } ],
    "createdOn" : "2010-10-07T19:24:58.924-0600",
    "updatedOn" : "2010-10-07T19:24:58.924-0600",
    "multiValue" : false,
    "resourceType" : "urn:oracle:wcps:property:property",
    "links" : [ {
      "resourceType" : "urn:oracle:wcps:property:property",
      "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete",
      "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys/properties/address",
      "rel" : "self"
    } ]
  }, {
    "name" : "company_name",
    "type" : "STRING",
    "values" : [ {
      "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:string-value",
      "value" : "InfoSys"
    } ],
    "createdOn" : "2010-10-07T19:24:58.924-0600",
    "updatedOn" : "2010-10-07T19:24:58.924-0600",
    "multiValue" : false,
    "resourceType" : "urn:oracle:wcps:property:property",
    "links" : [ {
      "resourceType" : "urn:oracle:wcps:property:property",
      "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete",
      "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys/properties/company_name",
      "rel" : "self"
    } ]
  }, {
    "name" : "previous_ranking_and_current_ranking",
    "type" : "INT_ARRAY",
    "values" : [ {
      "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:integer-value",
      "value" : 3
    }, {
      "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:integer-value",
      "value" : 5
    } ],
    "createdOn" : "2010-10-07T19:24:58.924-0600",
    "updatedOn" : "2010-10-07T19:24:58.924-0600",
    "multiValue" : true,
    "resourceType" : "urn:oracle:wcps:property:property",
    "links" : [ {
      "resourceType" : "urn:oracle:wcps:property:property",
      "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete",
      "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys/properties/previous_ranking_and_current_ranking",
      "rel" : "self"
    } ]
  } ],
  "namespaceName" : "Oracle",
  "createdOn" : "2010-10-07T19:24:58.924-0600",
  "updatedOn" : "2010-10-07T19:24:58.924-0600",
  "propertySetDefinitionName" : "partnersinfo",
  "resourceType" : "urn:oracle:wcps:property:propertyset",
  "links" : [ {
    "template" : "http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys/properties/{propertyName}",
    "resourceType" : "urn:oracle:wcps:property:property",
    "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
  }, {
    "resourceType" : "urn:oracle:wcps:property:propertyset",
    "capabilities" : "urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete",
    "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys",
    "rel" : "self"
  } ]
}

68.3.5.2 Retrieve Property Set

RetrievePS

XML

Request:
GET http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
Cookie: JSESSIONID=vc1pMnYWRZysgqhXVz5XrGKqhvfy0vv2zc7xQ3RyDSvG0mG22ZlJ!-1714998420;Version=1
Content-Type: application/xml
Accept: application/xml
 
Response:
Status Code:200
Content-Length: 3709
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Cache-Control: no-cache
X-Oracle-RF-Token-Location: header
Content-Type: application/xml
Date: Thu, 07 Oct 2010 23:31:36 GMT
ETag: "1286494296325"
 
<?xml version="1.0" encoding="UTF-8"?>
<propertySet resourceType="urn:oracle:wcps:property:propertyset">
  <links>
    <link
      capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
      resourceType="urn:oracle:wcps:property:property" template="http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys/properties/{propertyName}"/>
    <link
      capabilities="urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
      href="http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys"
      rel="self" resourceType="urn:oracle:wcps:property:propertyset"/>
  </links>
  <namespaceName>Oracle</namespaceName>
  <propertySetDefinitionName>partnersinfo</propertySetDefinitionName>
  <name>infosys</name>
  <items>
    <property multiValue="false" resourceType="urn:oracle:wcps:property:property">
      <links>
        <link
          capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
          href="http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys/properties/number_of_employees"
          rel="self" resourceType="urn:oracle:wcps:property:property"/>
      </links>
      <name>number_of_employees</name>
      <type>INT</type>
      <values>
        <integer>10000</integer>
      </values>
      <createdOn>2010-10-07T17:31:35.948-0600</createdOn>
      <updatedOn>2010-10-07T17:31:36.325-0600</updatedOn>
    </property>
    <property multiValue="false" resourceType="urn:oracle:wcps:property:property">
      <links>
        <link
          capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
          href="http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys/properties/company_name"
          rel="self" resourceType="urn:oracle:wcps:property:property"/>
      </links>
      <name>company_name</name>
      <type>STRING</type>
      <values>
        <string>InfoSys</string>
      </values>
      <createdOn>2010-10-07T17:31:35.948-0600</createdOn>
      <updatedOn>2010-10-07T17:31:36.325-0600</updatedOn>
    </property>
    <property multiValue="false" resourceType="urn:oracle:wcps:property:property">
      <links>
        <link
          capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
          href="http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys/properties/address"
          rel="self" resourceType="urn:oracle:wcps:property:property"/>
      </links>
      <name>address</name>
      <type>STRING</type>
      <values>
        <string>1 foo loop, San Francisco, CA</string>
      </values>
      <createdOn>2010-10-07T17:31:35.948-0600</createdOn>
      <updatedOn>2010-10-07T17:31:36.325-0600</updatedOn>
    </property>
    <property multiValue="true" resourceType="urn:oracle:wcps:property:property">
      <links>
        <link
          capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
          href="http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys/properties/previous_ranking_and_current_ranking"
          rel="self" resourceType="urn:oracle:wcps:property:property"/>
      </links>
      <name>previous_ranking_and_current_ranking</name>
      <type>INT_ARRAY</type>
      <values>
        <integer>4</integer>
        <integer>5</integer>
      </values>
      <createdOn>2010-10-07T17:31:35.948-0600</createdOn>
      <updatedOn>2010-10-07T17:31:36.325-0600</updatedOn>
    </property>
  </items>
  <createdOn>2010-10-07T17:31:35.948-0600</createdOn>
  <updatedOn>2010-10-07T17:31:36.325-0600</updatedOn>
</propertySet>

JSON

Request:
GET http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
Cookie: JSESSIONID=h72xMnyKQQSW9Lwcg2HMGDnNQnK1HZJpGJmLgZ2P1vHFpvT2bX2k!-609606431;Version=1
Content-Type: application/json
Accept: application/json
 
Response:
Status Code:200
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Cache-Control: no-cache
X-Oracle-RF-Token-Location: header
Transfer-Encoding: chunked
Content-Type: application/json
Date: Fri, 08 Oct 2010 01:24:58 GMT
ETag: "1286501098964"
 
{
  "name" : "infosys",
  "properties" : [ {
    "name" : "number_of_employees",
    "type" : "INT",
    "values" : [ {
      "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:integer-value",
      "value" : 10000
    } ],
    "createdOn" : "2010-10-07T19:24:58.924-0600",
    "updatedOn" : "2010-10-07T19:24:58.964-0600",
    "multiValue" : false,
    "resourceType" : "urn:oracle:wcps:property:property",
    "links" : [ {
      "resourceType" : "urn:oracle:wcps:property:property",
      "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete",
      "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys/properties/number_of_employees",
      "rel" : "self"
    } ]
  }, {
    "name" : "company_name",
    "type" : "STRING",
    "values" : [ {
      "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:string-value",
      "value" : "InfoSys"
    } ],
    "createdOn" : "2010-10-07T19:24:58.924-0600",
    "updatedOn" : "2010-10-07T19:24:58.964-0600",
    "multiValue" : false,
    "resourceType" : "urn:oracle:wcps:property:property",
    "links" : [ {
      "resourceType" : "urn:oracle:wcps:property:property",
      "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete",
      "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys/properties/company_name",
      "rel" : "self"
    } ]
  }, {
    "name" : "address",
    "type" : "STRING",
    "values" : [ {
      "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:string-value",
      "value" : "1 foo loop, San Francisco, CA"
    } ],
    "createdOn" : "2010-10-07T19:24:58.924-0600",
    "updatedOn" : "2010-10-07T19:24:58.964-0600",
    "multiValue" : false,
    "resourceType" : "urn:oracle:wcps:property:property",
    "links" : [ {
      "resourceType" : "urn:oracle:wcps:property:property",
      "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete",
      "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys/properties/address",
      "rel" : "self"
    } ]
  }, {
    "name" : "previous_ranking_and_current_ranking",
    "type" : "INT_ARRAY",
    "values" : [ {
      "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:integer-value",
      "value" : 4
    }, {
      "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:integer-value",
      "value" : 5
    } ],
    "createdOn" : "2010-10-07T19:24:58.924-0600",
    "updatedOn" : "2010-10-07T19:24:58.964-0600",
    "multiValue" : true,
    "resourceType" : "urn:oracle:wcps:property:property",
    "links" : [ {
      "resourceType" : "urn:oracle:wcps:property:property",
      "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete",
      "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys/properties/previous_ranking_and_current_ranking",
      "rel" : "self"
    } ]
  } ],
  "namespaceName" : "Oracle",
  "createdOn" : "2010-10-07T19:24:58.924-0600",
  "updatedOn" : "2010-10-07T19:24:58.964-0600",
  "propertySetDefinitionName" : "partnersinfo",
  "resourceType" : "urn:oracle:wcps:property:propertyset",
  "links" : [ {
    "template" : "http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys/properties/{propertyName}",
    "resourceType" : "urn:oracle:wcps:property:property",
    "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
  }, {
    "resourceType" : "urn:oracle:wcps:property:propertyset",
    "capabilities" : "urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete",
    "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys",
    "rel" : "self"
  } ]
}

68.3.5.3 Update Property Set

UpdatePS

XML

Request:
PUT http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
Cookie: JSESSIONID=vc1pMnYWRZysgqhXVz5XrGKqhvfy0vv2zc7xQ3RyDSvG0mG22ZlJ!-1714998420;Version=1
Content-Type: application/xml
Accept: application/xml
If-Match: 1286494295948
 
<?xml version="1.0" encoding="UTF-8"?>
<propertySet resourceType="urn:oracle:wcps:property:propertyset">
  <namespaceName>Oracle</namespaceName>
  <propertySetDefinitionName>partnersinfo</propertySetDefinitionName>
  <name>infosys</name>
  <items>
    <property multiValue="false" resourceType="urn:oracle:wcps:property:property">
      <name>number_of_employees</name>
      <type>INT</type>
      <values>
        <integer>10000</integer>
      </values>
      <createdOn>2010-10-07T17:31:35.948-0600</createdOn>
      <updatedOn>2010-10-07T17:31:35.948-0600</updatedOn>
    </property>
    <property multiValue="false" resourceType="urn:oracle:wcps:property:property">
      <name>address</name>
      <type>STRING</type>
      <values>
        <string>1 foo loop, San Francisco, CA</string>
      </values>
      <createdOn>2010-10-07T17:31:35.948-0600</createdOn>
      <updatedOn>2010-10-07T17:31:35.948-0600</updatedOn>
    </property>
    <property multiValue="false" resourceType="urn:oracle:wcps:property:property">
      <name>company_name</name>
      <type>STRING</type>
      <values>
        <string>InfoSys</string>
      </values>
      <createdOn>2010-10-07T17:31:35.948-0600</createdOn>
      <updatedOn>2010-10-07T17:31:35.948-0600</updatedOn>
    </property>
    <property multiValue="true" resourceType="urn:oracle:wcps:property:property">
      <name>previous_ranking_and_current_ranking</name>
      <type>INT_ARRAY</type>
      <values>
        <integer>4</integer>
        <integer>5</integer>
      </values>
      <createdOn>2010-10-07T17:31:35.948-0600</createdOn>
      <updatedOn>2010-10-07T17:31:35.948-0600</updatedOn>
    </property>
  </items>
  <createdOn>2010-10-07T17:31:35.948-0600</createdOn>
  <updatedOn>2010-10-07T17:31:35.948-0600</updatedOn>
</propertySet>
 
Response:
Status Code:200
Content-Length: 0
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Cache-Control: no-cache
X-Oracle-RF-Token-Location: header
Date: Thu, 07 Oct 2010 23:31:36 GMT
ETag: "1286494296325"

JSON

Request:
PUT http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
Cookie: JSESSIONID=h72xMnyKQQSW9Lwcg2HMGDnNQnK1HZJpGJmLgZ2P1vHFpvT2bX2k!-609606431;Version=1
Content-Type: application/json
Accept: application/json
If-Match: 1286501098924
 
{
  "name" : "infosys",
  "properties" : [ {
    "name" : "number_of_employees",
    "type" : "INT",
    "createdOn" : "2010-10-07T19:24:58.924-0600",
    "updatedOn" : "2010-10-07T19:24:58.924-0600",
    "values" : [ {
      "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:integer-value",
      "value" : 10000
    } ],
    "multiValue" : false,
    "resourceType" : "urn:oracle:wcps:property:property"
  }, {
    "name" : "address",
    "type" : "STRING",
    "createdOn" : "2010-10-07T19:24:58.924-0600",
    "updatedOn" : "2010-10-07T19:24:58.924-0600",
    "values" : [ {
      "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:string-value",
      "value" : "1 foo loop, San Francisco, CA"
    } ],
    "multiValue" : false,
    "resourceType" : "urn:oracle:wcps:property:property"
  }, {
    "name" : "company_name",
    "type" : "STRING",
    "createdOn" : "2010-10-07T19:24:58.924-0600",
    "updatedOn" : "2010-10-07T19:24:58.924-0600",
    "values" : [ {
      "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:string-value",
      "value" : "InfoSys"
    } ],
    "multiValue" : false,
    "resourceType" : "urn:oracle:wcps:property:property"
  }, {
    "name" : "previous_ranking_and_current_ranking",
    "type" : "INT_ARRAY",
    "createdOn" : "2010-10-07T19:24:58.924-0600",
    "updatedOn" : "2010-10-07T19:24:58.924-0600",
    "values" : [ {
      "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:integer-value",
      "value" : 4
    }, {
      "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:integer-value",
      "value" : 5
    } ],
    "multiValue" : true,
    "resourceType" : "urn:oracle:wcps:property:property"
  } ],
  "namespaceName" : "Oracle",
  "createdOn" : "2010-10-07T19:24:58.924-0600",
  "updatedOn" : "2010-10-07T19:24:58.924-0600",
  "propertySetDefinitionName" : "partnersinfo",
  "resourceType" : "urn:oracle:wcps:property:propertyset"
}
 
Response:
Status Code:200
Content-Length: 0
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Cache-Control: no-cache
X-Oracle-RF-Token-Location: header
Date: Fri, 08 Oct 2010 01:24:58 GMT
ETag: "1286501098964"

68.3.5.4 Delete Property Set

DeletePS

Request:
DELETE http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
Cookie: JSESSIONID=vc1pMnYWRZysgqhXVz5XrGKqhvfy0vv2zc7xQ3RyDSvG0mG22ZlJ!-1714998420;Version=1
Content-Type: application/xml
Accept: application/xml
If-Match: 1286494295948
 
Response:
Status Code:204
Content-Length: 0
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Connection: close
X-Oracle-RF-Token-Location: header
Date: Thu, 07 Oct 2010 23:31:36 GMT

JSON

Request:
DELETE http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
Cookie: JSESSIONID=h72xMnyKQQSW9Lwcg2HMGDnNQnK1HZJpGJmLgZ2P1vHFpvT2bX2k!-609606431;Version=1
Content-Type: application/json
Accept: application/json
If-Match: 1286501098924
 
Response:
Status Code:204
Content-Length: 0
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Connection: close
X-Oracle-RF-Token-Location: header
Date: Fri, 08 Oct 2010 01:24:58 GMT

68.3.5.5 Retrieve all Property Sets

RetrieveAllPSs

XML

Request:
GET http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
Cookie: JSESSIONID=vc1pMnYWRZysgqhXVz5XrGKqhvfy0vv2zc7xQ3RyDSvG0mG22ZlJ!-1714998420;Version=1
Content-Type: application/xml
Accept: application/xml
 
Response:
Status Code:200
Content-Length: 886
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Cache-Control: no-cache
X-Oracle-RF-Token-Location: header
Content-Type: application/xml
Date: Thu, 07 Oct 2010 23:31:36 GMT
 
<?xml version="1.0" encoding="UTF-8"?>
<propertySets resourceType="urn:oracle:wcps:property:propertysets">
  <links>
    <link
      capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete"
      href="http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets?startIndex=0&amp;itemsPerPage=10"
      rel="self" resourceType="urn:oracle:wcps:property:propertysets" template="http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets?startIndex={startIndex}&amp;dataFields={dataFields}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
  </links>
  <itemsPerPage>10</itemsPerPage>
  <startIndex>0</startIndex>
  <totalCount>0</totalCount>
  <namespaceName>Oracle</namespaceName>
  <propertySetDefinitionName>partnersinfo</propertySetDefinitionName>
  <items/>
</propertySets>

JSON

Request:
GET http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
Cookie: JSESSIONID=h72xMnyKQQSW9Lwcg2HMGDnNQnK1HZJpGJmLgZ2P1vHFpvT2bX2k!-609606431;Version=1
Content-Type: application/json
Accept: application/json
 
Response:
Status Code:200
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Cache-Control: no-cache
X-Oracle-RF-Token-Location: header
Transfer-Encoding: chunked
Content-Type: application/json
Date: Fri, 08 Oct 2010 01:24:59 GMT
 
{
  "propertySets" : [ ],
  "namespaceName" : "Oracle",
  "propertySetDefinitionName" : "partnersinfo",
  "totalCount" : 0,
  "startIndex" : 0,
  "itemsPerPage" : 10,
  "resourceType" : "urn:oracle:wcps:property:propertysets",
  "links" : [ {
    "template" : "http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets?startIndex={startIndex}&dataFields={dataFields}&q={q}&itemsPerPage={itemsPerPage}",
    "resourceType" : "urn:oracle:wcps:property:propertysets",
    "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete",
    "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets?startIndex=0&itemsPerPage=10",
    "rel" : "self"
  } ]
}

68.3.5.6 Delete all Property Sets

DeleteAllPSs

XML

Request:
DELETE http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
Cookie: JSESSIONID=vc1pMnYWRZysgqhXVz5XrGKqhvfy0vv2zc7xQ3RyDSvG0mG22ZlJ!-1714998420;Version=1
Content-Type: application/xml
Accept: application/xml
 
Response:
Status Code:204
Content-Length: 0
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Connection: close
X-Oracle-RF-Token-Location: header
Date: Thu, 07 Oct 2010 23:31:36 GMT

JSON

Request:
DELETE http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
Cookie: JSESSIONID=h72xMnyKQQSW9Lwcg2HMGDnNQnK1HZJpGJmLgZ2P1vHFpvT2bX2k!-609606431;Version=1
Content-Type: application/json
Accept: application/json
 
Response:
Status Code:204
Content-Length: 0
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Connection: close
X-Oracle-RF-Token-Location: header
Date: Fri, 08 Oct 2010 01:24:59 GMT

68.3.6 Property CRUD

This section contains the following subsections:

68.3.6.1 Create Property

CreateP

XML

Request:
POST http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys/properties
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
Cookie: JSESSIONID=vc1pMnYWRZysgqhXVz5XrGKqhvfy0vv2zc7xQ3RyDSvG0mG22ZlJ!-1714998420;Version=1
Content-Type: application/xml
Accept: application/xml
 
<?xml version="1.0" encoding="UTF-8"?>
<property multiValue="false" resourceType="urn:oracle:wcps:property:property">
  <name>ceo_name</name>
  <type>STRING</type>
  <values>
    <string>Mr. Smith</string>
  </values>
</property>
 
Response:
Status Code:201
Content-Length: 694
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Cache-Control: no-cache
X-Oracle-RF-Token-Location: header
Content-Type: application/xml
Location: http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys/properties/ceo_name
Date: Thu, 07 Oct 2010 23:31:36 GMT
ETag: "1286494297011"
 
<?xml version="1.0" encoding="UTF-8"?>
<property multiValue="false" resourceType="urn:oracle:wcps:property:property">
  <links>
    <link
      capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
      href="http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys/properties/ceo_name"
      rel="self" resourceType="urn:oracle:wcps:property:property"/>
  </links>
  <name>ceo_name</name>
  <type>STRING</type>
  <values>
    <string>Mr. Smith</string>
  </values>
  <createdOn>2010-10-07T17:31:36.741-0600</createdOn>
  <updatedOn>2010-10-07T17:31:37.011-0600</updatedOn>
</property>

JSON

Request:
POST http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys/properties
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
Cookie: JSESSIONID=h72xMnyKQQSW9Lwcg2HMGDnNQnK1HZJpGJmLgZ2P1vHFpvT2bX2k!-609606431;Version=1
Content-Type: application/json
Accept: application/json
 
{
  "name" : "ceo_name",
  "type" : "STRING",
  "values" : [ {
    "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:string-value",
    "value" : "Mr. Smith"
  } ],
  "multiValue" : false,
  "resourceType" : "urn:oracle:wcps:property:property"
}
 
Response:
Status Code:201
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Cache-Control: no-cache
X-Oracle-RF-Token-Location: header
Transfer-Encoding: chunked
Content-Type: application/json
Location: http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys/properties/ceo_name
Date: Fri, 08 Oct 2010 01:24:59 GMT
ETag: "1286501099056"
 
{
  "name" : "ceo_name",
  "type" : "STRING",
  "values" : [ {
    "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:string-value",
    "value" : "Mr. Smith"
  } ],
  "createdOn" : "2010-10-07T19:24:59.038-0600",
  "updatedOn" : "2010-10-07T19:24:59.056-0600",
  "multiValue" : false,
  "resourceType" : "urn:oracle:wcps:property:property",
  "links" : [ {
    "resourceType" : "urn:oracle:wcps:property:property",
    "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete",
    "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys/properties/ceo_name",
    "rel" : "self"
  } ]
}

68.3.6.2 Retrieve Property

RetrieveP

XML

Request:
GET http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys/properties/ceo_name
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
Cookie: JSESSIONID=vc1pMnYWRZysgqhXVz5XrGKqhvfy0vv2zc7xQ3RyDSvG0mG22ZlJ!-1714998420;Version=1
Content-Type: application/xml
Accept: application/xml
 
Response:
Status Code:200
Content-Length: 694
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Cache-Control: no-cache
X-Oracle-RF-Token-Location: header
Content-Type: application/xml
Date: Thu, 07 Oct 2010 23:31:37 GMT
ETag: "1286494297366"
 
<?xml version="1.0" encoding="UTF-8"?>
<property multiValue="false" resourceType="urn:oracle:wcps:property:property">
  <links>
    <link
      capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
      href="http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys/properties/ceo_name"
      rel="self" resourceType="urn:oracle:wcps:property:property"/>
  </links>
  <name>ceo_name</name>
  <type>STRING</type>
  <values>
    <string>Mr. Baker</string>
  </values>
  <createdOn>2010-10-07T17:31:36.741-0600</createdOn>
  <updatedOn>2010-10-07T17:31:37.366-0600</updatedOn>
</property>

JSON

Request:
GET http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys/properties/ceo_name
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
Cookie: JSESSIONID=h72xMnyKQQSW9Lwcg2HMGDnNQnK1HZJpGJmLgZ2P1vHFpvT2bX2k!-609606431;Version=1
Content-Type: application/json
Accept: application/json
 
Response:
Status Code:200
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Cache-Control: no-cache
X-Oracle-RF-Token-Location: header
Transfer-Encoding: chunked
Content-Type: application/json
Date: Fri, 08 Oct 2010 01:24:59 GMT
ETag: "1286501099162"
 
{
  "name" : "ceo_name",
  "type" : "STRING",
  "values" : [ {
    "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:string-value",
    "value" : "Mr. Baker"
  } ],
  "createdOn" : "2010-10-07T19:24:59.038-0600",
  "updatedOn" : "2010-10-07T19:24:59.162-0600",
  "multiValue" : false,
  "resourceType" : "urn:oracle:wcps:property:property",
  "links" : [ {
    "resourceType" : "urn:oracle:wcps:property:property",
    "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete",
    "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys/properties/ceo_name",
    "rel" : "self"
  } ]
}

68.3.6.3 Update Property

UpdateP

XML

Request:
PUT http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys/properties/ceo_name
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
Cookie: JSESSIONID=vc1pMnYWRZysgqhXVz5XrGKqhvfy0vv2zc7xQ3RyDSvG0mG22ZlJ!-1714998420;Version=1
Content-Type: application/xml
Accept: application/xml
If-Match: 1286494297011
 
<?xml version="1.0" encoding="UTF-8"?>
<property multiValue="false" resourceType="urn:oracle:wcps:property:property">
  <name>ceo_name</name>
  <type>STRING</type>
  <values>
    <string>Mr. Baker</string>
  </values>
  <createdOn>2010-10-07T17:31:36.741-0600</createdOn>
  <updatedOn>2010-10-07T17:31:37.011-0600</updatedOn>
</property>
 
Response:
Status Code:200
Content-Length: 0
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Cache-Control: no-cache
X-Oracle-RF-Token-Location: header
Date: Thu, 07 Oct 2010 23:31:37 GMT
ETag: "1286494297366"

JSON

Request:
PUT http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys/properties/ceo_name
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
Cookie: JSESSIONID=h72xMnyKQQSW9Lwcg2HMGDnNQnK1HZJpGJmLgZ2P1vHFpvT2bX2k!-609606431;Version=1
Content-Type: application/json
Accept: application/json
If-Match: 1286501099056
 
{
  "name" : "ceo_name",
  "type" : "STRING",
  "createdOn" : "2010-10-07T19:24:59.038-0600",
  "updatedOn" : "2010-10-07T19:24:59.056-0600",
  "values" : [ {
    "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:string-value",
    "value" : "Mr. Baker"
  } ],
  "multiValue" : false,
  "resourceType" : "urn:oracle:wcps:property:property"
}
 
Response:
Status Code:200
Content-Length: 0
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Cache-Control: no-cache
X-Oracle-RF-Token-Location: header
Date: Fri, 08 Oct 2010 01:24:59 GMT
ETag: "1286501099162"

68.3.6.4 Delete Property

DeleteP

XML

Request:
DELETE http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys/properties/ceo_name
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
Cookie: JSESSIONID=VyThMnyG0gyp97J3vKPrkfF4VvtrjTDHJ3SL894V0glWzqJ24L0B!-609606431;Version=1
Content-Type: application/xml
Accept: application/xml
If-Match: 1286501097791
 
Response:
Status Code:204
Content-Length: 0
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Connection: close
X-Oracle-RF-Token-Location: header
Date: Fri, 08 Oct 2010 01:24:58 GMT

JSON

Request:
DELETE http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys/properties/ceo_name
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
Cookie: JSESSIONID=h72xMnyKQQSW9Lwcg2HMGDnNQnK1HZJpGJmLgZ2P1vHFpvT2bX2k!-609606431;Version=1
Content-Type: application/json
Accept: application/json
If-Match: 1286501099162
 
Response:
Status Code:204
Content-Length: 0
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Connection: close
X-Oracle-RF-Token-Location: header
Date: Fri, 08 Oct 2010 01:24:59 GMT

68.3.6.5 Delete all Properties

DeleteAllP

XML

Request:
DELETE http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys/properties
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
Cookie: JSESSIONID=VyThMnyG0gyp97J3vKPrkfF4VvtrjTDHJ3SL894V0glWzqJ24L0B!-609606431;Version=1
Content-Type: application/xml
Accept: application/xml
 
Response:
Status Code:204
Content-Length: 0
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Connection: close
X-Oracle-RF-Token-Location: header
Date: Fri, 08 Oct 2010 01:24:58 GMT

JSON

Request:
DELETE http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys/properties
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
Cookie: JSESSIONID=h72xMnyKQQSW9Lwcg2HMGDnNQnK1HZJpGJmLgZ2P1vHFpvT2bX2k!-609606431;Version=1
Content-Type: application/json
Accept: application/json
 
Response:
Status Code:204
Content-Length: 0
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Connection: close
X-Oracle-RF-Token-Location: header
Date: Fri, 08 Oct 2010 01:24:59 GMT

68.3.7 JSON Payload

The property value in JSON format indicates the value type using concreteType field names. The following table maps the property definition type and Java data type to the values of concreteType.

Table 68-2 concreteType Values

Property Definition Type Java Data Type concreteType Value

INT

java.lang.Integer

urn:oracle:wcps:property:internal:jaxrs:model:integer-value

NUMBER

java.lang.Double

urn:oracle:wcps:property:internal:jaxrs:model:double-value

STRING

java.lang.String

urn:oracle:wcps:property:internal:jaxrs:model:string-value

BOOLEAN

java.lang.Boolean

urn:oracle:wcps:property:internal:jaxrs:model:boolean-value

BLOB

oracle.wcps.property.BlobData

urn:oracle:wcps:property:blob-data

CLOB

oracle.wcps.property.ClobData

urn:oracle:wcps:property:clob-data

DATETIME

oracle.wcps.property.DateTime

urn:oracle:wcps:property:date-time


68.3.8 Exceptions

  • If optimistic concurrency is disabled on the property server, the "If-Match" request header is not required. If enabled, the value of the "If-Match" header should be the value sent for the response header "ETag".

  • Not sending the request header X-Oracle-RF-Token results in a 403 response status. The value of the token should be the one sent in response of the /resouceIndex request.

  • Attempting to delete an "in use" Namespace, Property Definition, or Property Set Definition results in a 412 response status.

68.3.9 Query Parameters

Table 68-3 shows the supported query parameters and their default values.

Table 68-3 Query Parameters

Query Parameter Name Description Default Value Other Special Values

q

the value for it is a search expression

none

none

startIndex

Represents the index of the first element in a page

0

none

itemsPerPage

Represents the number of items to be included in a page

10

none

dataFields

Represents a list of attributes of a property service entities for which data is returned

empty list = (Return zero attributes)

* = (all attributes)


68.3.10 Search Expressions

This section contains the following subsections:

68.3.10.1 Format

The value for the 'q' query parameter is a search expression. The search expression format is:

single_expression = attribute_name:operator_name:value
expression = single_expression[;single_expression]

68.3.10.2 Supported Operators

  • Relational Operator

    • :equals: ==> Equals

    • :contains: ==> Contains

    • :like: ==> SQL Like, applies only to string type property values

    • :gt: ==> Greater than

    • :gte: ==> Greater than or equals to

    • :lt: ==> Less than

    • :lte: ==> Less than or equals to

  • Logical Opertion

    • ; ==> and

68.3.10.3 Supported Attribute Names

Table 68-4, Table 68-5, Table 68-6, and Table 68-7 show the supported attribute names that can be used in a search expressions to search for property service entities.

Namespace Attributes

Table 68-4 Namespace Attributes

Attribute Name Description

ns-name

A namespace's name

ns-property-locator-class-name

A namespace's property locator class name

ns-definition-locator-class-name

A namespace's definition locator class name

ns-created-on

A namespace's created on date time

ns-updated-on

A namespace's updated on date time


Examples:

/wcps/api/property/namespaces?q=ns-name:like:Oracle_%25

/wcps/api/property/namespaces?q=ns-definition-locator-class-name:like:%25Locator%25;ns-name:like:Oracle_%25

Property Definition Attributes

Table 68-5 Property Definition Attributes

Attribute Name Description

pd-name

A property definition's name

pd-description

A property definition's description

pd-type

A property definition's type

pd-restricted

A property definition's restricted attribute

pd-validator-class-name

A property definition's validator class name

pd-created-on

A property definition's created on date time

pd-updated-on

A property definition's updated on date time


Example:

/wcps/api/property/namespaces/Oracle/propertydefinitions?q=pd-name:like:%25D%25;pd-description:contains:4th;pd-restricted:contains:true

Property Set Definition Attributes

Table 68-6 Property Set Definition Attributes

Attribute Name Description

psd-name

A property set definition's name

psd-description

A property set definition's description

psd-pd-name

A property definition name referred by a property set definition

psd-property-locator-class-name

A property locator class name associated with a property set definition

psd-created-on

A property set definition's created on date time

psd-updated-on

A property set definition's updated on date time


Example:

wcps/api/property/namespaces/Oracle/propertysetdefinitions?q=psd-created-on:gt:1980-01-01T00:00:00.000-0700;psd-name:like:%255%25

Property Set Attributes

Table 68-7 Property Set Attributes

Attribute Name Description

ps-name

A property set's name

ps-description

A property set's description

psd-created-on

A property set's created on date time

psd-updated-on

A property set's updated on date time

a property's name

A property's name attribute (for example, firstName, zipCode, etc.)


Example:

/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partners_info/propertysets?q=ps-created-on:gt:1980-01-01T00:00:00.000-0700

68.4 Using the Conductor REST APIs

This section provides examples of how you can use the Conductor's REST APIs to programatically carry out basic Personalization tasks, such as:

You can use the Conductor REST APIs from within application code, or using Personalization ELs to call them from within your WebCenter Portal: Framework application or WebCenter Portal: Spaces.

This section contains the following subsections:

68.4.1 Using the Data Provider Management APIs

This section provides examples of using the Conductor's data provider management APIs, and contains the following subsections:

68.4.1.1 Getting a Collection of Data Providers (GET)

XML

Request:
GET http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders?projection=summary
accept-language: en
content-type: application/xml
accept: application/xml
 
Response:
Status Code:200
Content-Length: 4469
X-Powered-By: Servlet/2.5 JSP/2.1
Set-Cookie: JSESSIONID=YxYmM25GLpCy7BSND7vF6BnsQCn20RQsCrS92n1SLXmxpccVkfpX!822326988; path=/wcps; HttpOnly
Content-Type: application/xml
Date: Wed, 13 Oct 2010 22:58:46 GMT
 
<?xml version="1.0" encoding="UTF-8"?>
<dataProviders resourceType="urn:oracle:wcps:conductor:provider:dataProviders">
  <links>
    <link capabilities="urn:oracle:restframework:read"
      href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders?projection=summary&amp;startIndex=0&amp;itemsPerPage=10"
      rel="self"
      resourceType="urn:oracle:wcps:conductor:provider:dataProviders" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders?projection={projection}"/>
  </links>
  <items>
    <dataProvider resourceType="urn:oracle:wcps:conductor:provider:dataProvider">
      <links>
        <link capabilities="urn:oracle:restframework:read"
          href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders"
          rel="urn:oracle:webcenter:parent"
          resourceType="urn:oracle:wcps:conductor:provider:dataProviders" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders?projection={projection}"/>
        <link capabilities="urn:oracle:restframework:read"
          href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/CMISProvider"
          rel="self"
          resourceType="urn:oracle:wcps:conductor:provider:dataProvider" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/CMISProvider?projection={projection}"/>
      </links>
      <name>CMISProvider</name>
      <localizedName>Universal Content Provider (CMIS)</localizedName>
      <localizedDescription>Provides access to content over CMIS connections.</localizedDescription>
    </dataProvider>
    <dataProvider resourceType="urn:oracle:wcps:conductor:provider:dataProvider">
      <links>
        <link capabilities="urn:oracle:restframework:read"
          href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders"
          rel="urn:oracle:webcenter:parent"
          resourceType="urn:oracle:wcps:conductor:provider:dataProviders" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders?projection={projection}"/>
        <link capabilities="urn:oracle:restframework:read"
          href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/SampleProvider"
          rel="self"
          resourceType="urn:oracle:wcps:conductor:provider:dataProvider" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/SampleProvider?projection={projection}"/>
      </links>
      <name>SampleProvider</name>
      <localizedName>Sample Data Provider</localizedName>
      <localizedDescription>Example of a data provider</localizedDescription>
    </dataProvider>
    <dataProvider resourceType="urn:oracle:wcps:conductor:provider:dataProvider">
      <links>
        <link capabilities="urn:oracle:restframework:read"
          href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders"
          rel="urn:oracle:webcenter:parent"
          resourceType="urn:oracle:wcps:conductor:provider:dataProviders" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders?projection={projection}"/>
        <link capabilities="urn:oracle:restframework:read"
          href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/ActivityGraphProvider"
          rel="self"
          resourceType="urn:oracle:wcps:conductor:provider:dataProvider" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/ActivityGraphProvider?projection={projection}"/>
      </links>
      <name>ActivityGraphProvider</name>
      <localizedName>Activity Graph</localizedName>
      <localizedDescription>Activity Graph Adapter</localizedDescription>
    </dataProvider>
    <dataProvider resourceType="urn:oracle:wcps:conductor:provider:dataProvider">
      <links>
        <link capabilities="urn:oracle:restframework:read"
          href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders"
          rel="urn:oracle:webcenter:parent"
          resourceType="urn:oracle:wcps:conductor:provider:dataProviders" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders?projection={projection}"/>
        <link capabilities="urn:oracle:restframework:read"
          href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider"
          rel="self"
          resourceType="urn:oracle:wcps:conductor:provider:dataProvider" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider?projection={projection}"/>
      </links>
      <name>oracle.PropertiesServiceProvider</name>
      <localizedName>Property Service Data Provider</localizedName>
      <localizedDescription>Data provider implementation to integrate the properties service for use in scenarios. </localizedDescription>
    </dataProvider>
  </items>
</dataProviders>

JSON

Request:
GET http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders?projection=summary
accept-language: en
content-type: application/json
accept: application/json
 
Response:
Status Code:200
X-Powered-By: Servlet/2.5 JSP/2.1
Set-Cookie: JSESSIONID=ylp2M27pSyLJPv2X4cn9RYy7NRyftzz2vs7VCyJ1NQKJl4XQnjXd!822326988; path=/wcps; HttpOnly
Transfer-Encoding: chunked
Content-Type: application/json
Date: Wed, 13 Oct 2010 23:07:10 GMT
 
{
  "dataProviders" : [ {
    "name" : "CMISProvider",
    "localizedName" : "Universal Content Provider (CMIS)",
    "localizedDescription" : "Provides access to content over CMIS connections.",
    "resourceType" : "urn:oracle:wcps:conductor:provider:dataProvider",
    "links" : [ {
      "resourceType" : "urn:oracle:wcps:conductor:provider:dataProviders",
      "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders?projection={projection}",
      "capabilities" : "urn:oracle:restframework:read",
      "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders",
      "rel" : "urn:oracle:webcenter:parent"
    }, {
      "resourceType" : "urn:oracle:wcps:conductor:provider:dataProvider",
      "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/CMISProvider?projection={projection}",
      "capabilities" : "urn:oracle:restframework:read",
      "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/CMISProvider",
      "rel" : "self"
    } ]
  }, {
    "name" : "SampleProvider",
    "localizedName" : "Sample Data Provider",
    "localizedDescription" : "Example of a data provider",
    "resourceType" : "urn:oracle:wcps:conductor:provider:dataProvider",
    "links" : [ {
      "resourceType" : "urn:oracle:wcps:conductor:provider:dataProviders",
      "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders?projection={projection}",
      "capabilities" : "urn:oracle:restframework:read",
      "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders",
      "rel" : "urn:oracle:webcenter:parent"
    }, {
      "resourceType" : "urn:oracle:wcps:conductor:provider:dataProvider",
      "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/SampleProvider?projection={projection}",
      "capabilities" : "urn:oracle:restframework:read",
      "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/SampleProvider",
      "rel" : "self"
    } ]
  }, {
    "name" : "ActivityGraphProvider",
    "localizedName" : "Activity Graph",
    "localizedDescription" : "Activity Graph Adapter",
    "resourceType" : "urn:oracle:wcps:conductor:provider:dataProvider",
    "links" : [ {
      "resourceType" : "urn:oracle:wcps:conductor:provider:dataProviders",
      "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders?projection={projection}",
      "capabilities" : "urn:oracle:restframework:read",
      "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders",
      "rel" : "urn:oracle:webcenter:parent"
    }, {
      "resourceType" : "urn:oracle:wcps:conductor:provider:dataProvider",
      "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/ActivityGraphProvider?projection={projection}",
      "capabilities" : "urn:oracle:restframework:read",
      "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/ActivityGraphProvider",
      "rel" : "self"
    } ]
  }, {
    "name" : "oracle.PropertiesServiceProvider",
    "localizedName" : "Property Service Data Provider",
    "localizedDescription" : "Data provider implementation to integrate the properties service for use in scenarios. ",
    "resourceType" : "urn:oracle:wcps:conductor:provider:dataProvider",
    "links" : [ {
      "resourceType" : "urn:oracle:wcps:conductor:provider:dataProviders",
      "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders?projection={projection}",
      "capabilities" : "urn:oracle:restframework:read",
      "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders",
      "rel" : "urn:oracle:webcenter:parent"
    }, {
      "resourceType" : "urn:oracle:wcps:conductor:provider:dataProvider",
      "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider?projection={projection}",
      "capabilities" : "urn:oracle:restframework:read",
      "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider",
      "rel" : "self"
    } ]
  } ],
  "resourceType" : "urn:oracle:wcps:conductor:provider:dataProviders",
  "links" : [ {
    "resourceType" : "urn:oracle:wcps:conductor:provider:dataProviders",
    "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders?projection={projection}",
    "capabilities" : "urn:oracle:restframework:read",
    "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders?projection=summary&startIndex=0&itemsPerPage=10",
    "rel" : "self"
  } ]
}

68.4.1.2 Getting a Single Data Provider's Metadata (GET)

XML

Request:
GET http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider?projection=summary
accept-language: en
content-type: application/xml
accept: application/xml
 
Response:
Status Code:200
Content-Length: 5792
X-Powered-By: Servlet/2.5 JSP/2.1
Set-Cookie: JSESSIONID=L3b2M25L67PvznfyQNqHcyPh2J11rP51MMYlL1h80GvWsPxlHPvY!822326988; path=/wcps; HttpOnly
Content-Type: application/xml
Date: Wed, 13 Oct 2010 22:58:48 GMT
 
<?xml version="1.0" encoding="UTF-8"?>
<dataProvider resourceType="urn:oracle:wcps:conductor:provider:dataProvider">
  <links>
    <link capabilities="urn:oracle:restframework:read"
      href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders"
      rel="urn:oracle:webcenter:parent"
      resourceType="urn:oracle:wcps:conductor:provider:dataProviders" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders?projection={projection}"/>
    <link capabilities="urn:oracle:restframework:read"
      href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider?projection=summary"
      rel="self"
      resourceType="urn:oracle:wcps:conductor:provider:dataProvider" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider?projection={projection}"/>
    <link capabilities="urn:oracle:restframework:read"
      rel="urn:oracle:wcps:conductor:provider:providerConnections"
      resourceType="urn:oracle:wcps:conductor:provider:providerConnections" template="http://localhost:7001/wcps/api/conductor/namespaces/{namespace}/dataProviders/{provider-name}/connections?projection={projection}"/>
    <link capabilities="urn:oracle:restframework:read"
      rel="urn:oracle:wcps:conductor:provider:providerConnection"
      resourceType="urn:oracle:wcps:conductor:provider:providerConnection" template="http://localhost:7001/wcps/api/conductor/namespaces/{namespace}/dataProviders/{provider-name}/connections/{connection-name}?projection={projection}"/>
    <link capabilities="urn:oracle:restframework:read"
      rel="urn:oracle:wcps:conductor:provider:connectionResources"
      resourceType="urn:oracle:wcps:conductor:provider:connectionResources" template="http://localhost:7001/wcps/api/conductor/namespaces/{namespace}/dataProviders/{provider-name}/connections/{connection-name}/resources?projection={projection}"/>
    <link capabilities="urn:oracle:restframework:read"
      rel="urn:oracle:wcps:conductor:provider:connectionResource"
      resourceType="urn:oracle:wcps:conductor:provider:connectionResource" template="http://localhost:7001/wcps/api/conductor/namespaces/{namespace}/dataProviders/{provider-name}/connections/{connection-name}/resources/{resource-name}?projection={projection}"/>
    <link capabilities="urn:oracle:restframework:read"
      rel="urn:oracle:wcps:conductor:provider:resourceMethods"
      resourceType="urn:oracle:wcps:conductor:provider:resourceMethods" template="http://localhost:7001/wcps/api/conductor/namespaces/{namespace}/dataProviders/{provider-name}/connections/{connection-name}/resources/{resource-name}/methods?projection={projection}"/>
    <link capabilities="urn:oracle:restframework:read"
      rel="urn:oracle:wcps:conductor:provider:resourceMethod"
      resourceType="urn:oracle:wcps:conductor:provider:resourceMethod" template="http://localhost:7001/wcps/api/conductor/namespaces/{namespace}/dataProviders/{provider-name}/connections/{connection-name}/resources/{resource-name}/methods/{method-name}?projection={projection}"/>
  </links>
  <name>oracle.PropertiesServiceProvider</name>
  <localizedName>Property Service Data Provider</localizedName>
  <localizedDescription>Data provider implementation to integrate the properties service for use in scenarios. </localizedDescription>
  <providerConnections resourceType="urn:oracle:wcps:conductor:provider:providerConnections">
    <links>
      <link capabilities="urn:oracle:restframework:read"
        href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider"
        rel="urn:oracle:webcenter:parent"
        resourceType="urn:oracle:wcps:conductor:provider:dataProvider" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider?projection={projection}"/>
      <link capabilities="urn:oracle:restframework:read"
        href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections"
        rel="self"
        resourceType="urn:oracle:wcps:conductor:provider:providerConnections" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections?projection={projection}"/>
    </links>
    <items>
      <providerConnection resourceType="urn:oracle:wcps:conductor:provider:providerConnection">
        <links>
          <link capabilities="urn:oracle:restframework:read"
            href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections"
            rel="urn:oracle:webcenter:parent"
            resourceType="urn:oracle:wcps:conductor:provider:providerConnections" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections?projection={projection}"/>
          <link capabilities="urn:oracle:restframework:read"
            href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/metadata"
            rel="urn:oracle:wcps:conductor:provider:connectionMetadata"
            resourceType="urn:oracle:wcps:conductor:provider:connectionMetadata" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/metadata?projection={projection}"/>
          <link capabilities="urn:oracle:restframework:read"
            href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection"
            rel="self"
            resourceType="urn:oracle:wcps:conductor:provider:providerConnection" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection?projection={projection}"/>
        </links>
        <name>LocalServerConnection</name>
      </providerConnection>
    </items>
  </providerConnections>
</dataProvider>

JSON

Request:
GET http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider?projection=details
accept-language: en
content-type: application/json
accept: application/json
 
Response:
Status Code:200
X-Powered-By: Servlet/2.5 JSP/2.1
Set-Cookie: JSESSIONID=R1P2M27Qd09Wh86s5rGdDFfBcbKtftPKvpdMsN2gcpLRN7XPyDnQ!822326988; path=/wcps; HttpOnly
Transfer-Encoding: chunked
Content-Type: application/json
Date: Wed, 13 Oct 2010 23:07:12 GMT
 
{
  "name" : "oracle.PropertiesServiceProvider",
  "localizedName" : "Property Service Data Provider",
  "localizedDescription" : "Data provider implementation to integrate the properties service for use in scenarios. ",
  "providerConnections" : [ {
    "name" : "LocalServerConnection",
    "connectionResources" : [ {
      "name" : "GetPropertiesResource",
      "resourceMethods" : {
        "resourceMethods" : [ {
          "name" : "GetProperty",
          "uniqueName" : "GetProperty(namespace,definition,set,property)",
          "returnType" : "java.io.Serializable",
          "parameters" : [ {
            "type" : "java.lang.String",
            "name" : "namespace",
            "localizedDescription" : "The namespace in which the property set definition and property set exists."
          }, {
            "type" : "java.lang.String",
            "name" : "definition",
            "localizedDescription" : "The property set definition name."
          }, {
            "type" : "java.lang.String",
            "name" : "set",
            "localizedDescription" : "The property set name."
          }, {
            "type" : "java.lang.String",
            "name" : "property",
            "localizedDescription" : "The property name."
          } ],
          "localizedDescription" : "Retrieves a property set for the current (or specified) namespace, property set definition name, and property set name, and property name.  If no namespace, property set definition, property set and property exists\tnull will be returned.",
          "resourceType" : "urn:oracle:wcps:conductor:provider:resourceMethod",
          "links" : [ {
            "resourceType" : "urn:oracle:wcps:conductor:provider:resourceMethods",
            "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods?projection={projection}",
            "capabilities" : "urn:oracle:restframework:read",
            "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods",
            "rel" : "urn:oracle:webcenter:parent"
          }, {
            "resourceType" : "urn:oracle:wcps:conductor:provider:resourceMethod",
            "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/GetProperty(namespace,definition,set,property)?projection={projection}",
            "capabilities" : "urn:oracle:restframework:read",
            "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/GetProperty(namespace,definition,set,property)",
            "rel" : "self"
          } ]
        }, {
          "name" : "GetProperty",
          "uniqueName" : "GetProperty(definition,set,property)",
          "returnType" : "java.io.Serializable",
          "parameters" : [ {
            "type" : "java.lang.String",
            "name" : "definition",
            "localizedDescription" : "The property set definition name."
          }, {
            "type" : "java.lang.String",
            "name" : "set",
            "localizedDescription" : "The property set name."
          }, {
            "type" : "java.lang.String",
            "name" : "property",
            "localizedDescription" : "The property name."
          } ],
          "localizedDescription" : "Retrieves a property set for the current (or specified) namespace, property set definition name, and property set name, and property name.  If no namespace, property set definition, property set and property exists\tnull will be returned.",
          "resourceType" : "urn:oracle:wcps:conductor:provider:resourceMethod",
          "links" : [ {
            "resourceType" : "urn:oracle:wcps:conductor:provider:resourceMethods",
            "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods?projection={projection}",
            "capabilities" : "urn:oracle:restframework:read",
            "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods",
            "rel" : "urn:oracle:webcenter:parent"
          }, {
            "resourceType" : "urn:oracle:wcps:conductor:provider:resourceMethod",
            "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/GetProperty(definition,set,property)?projection={projection}",
            "capabilities" : "urn:oracle:restframework:read",
            "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/GetProperty(definition,set,property)",
            "rel" : "self"
          } ]
        }, {
          "name" : "execute",
          "uniqueName" : "execute()",
          "returnType" : "java.lang.Object",
          "parameters" : [ ],
          "localizedDescription" : "This is the default method executed if no method is specified, which currently returns nothing.",
          "resourceType" : "urn:oracle:wcps:conductor:provider:resourceMethod",
          "links" : [ {
            "resourceType" : "urn:oracle:wcps:conductor:provider:resourceMethods",
            "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods?projection={projection}",
            "capabilities" : "urn:oracle:restframework:read",
            "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods",
            "rel" : "urn:oracle:webcenter:parent"
          }, {
            "resourceType" : "urn:oracle:wcps:conductor:provider:resourceMethod",
            "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/execute()?projection={projection}",
            "capabilities" : "urn:oracle:restframework:read",
            "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/execute()",
            "rel" : "self"
          } ]
        }, {
          "name" : "GetPropertySet",
          "uniqueName" : "GetPropertySet(definition,set)",
          "returnType" : "java.util.Map",
          "parameters" : [ {
            "type" : "java.lang.String",
            "name" : "definition",
            "localizedDescription" : "The property set definition name."
          }, {
            "type" : "java.lang.String",
            "name" : "set",
            "localizedDescription" : "The property set name."
          } ],
          "localizedDescription" : "Retrieves a property set for the current (or specified) namespace, property set definition name, and property set name. If no namespace, property set definition, or property set exists, null will be returned.",
          "resourceType" : "urn:oracle:wcps:conductor:provider:resourceMethod",
          "links" : [ {
            "resourceType" : "urn:oracle:wcps:conductor:provider:resourceMethods",
            "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods?projection={projection}",
            "capabilities" : "urn:oracle:restframework:read",
            "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods",
            "rel" : "urn:oracle:webcenter:parent"
          }, {
            "resourceType" : "urn:oracle:wcps:conductor:provider:resourceMethod",
            "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/GetPropertySet(definition,set)?projection={projection}",
            "capabilities" : "urn:oracle:restframework:read",
            "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/GetPropertySet(definition,set)",
            "rel" : "self"
          } ]
        }, {
          "name" : "GetPropertySet",
          "uniqueName" : "GetPropertySet(namespace,definition,set)",
          "returnType" : "java.util.Map",
          "parameters" : [ {
            "type" : "java.lang.String",
            "name" : "namespace",
            "localizedDescription" : "The namespace in which the property set definition and property set exists."
          }, {
            "type" : "java.lang.String",
            "name" : "definition",
            "localizedDescription" : "The property set definition name."
          }, {
            "type" : "java.lang.String",
            "name" : "set",
            "localizedDescription" : "The property set name."
          } ],
          "localizedDescription" : "Retrieves a property set for the current (or specified) namespace, property set definition name, and property set name. If no namespace, property set definition, or property set exists, null will be returned.",
          "resourceType" : "urn:oracle:wcps:conductor:provider:resourceMethod",
          "links" : [ {
            "resourceType" : "urn:oracle:wcps:conductor:provider:resourceMethods",
            "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods?projection={projection}",
            "capabilities" : "urn:oracle:restframework:read",
            "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods",
            "rel" : "urn:oracle:webcenter:parent"
          }, {
            "resourceType" : "urn:oracle:wcps:conductor:provider:resourceMethod",
            "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/GetPropertySet(namespace,definition,set)?projection={projection}",
            "capabilities" : "urn:oracle:restframework:read",
            "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/GetPropertySet(namespace,definition,set)",
            "rel" : "self"
          } ]
        }, {
          "name" : "GetPropertySets",
          "uniqueName" : "GetPropertySets(definition)",
          "returnType" : "java.util.Map",
          "parameters" : [ {
            "type" : "java.lang.String",
            "name" : "definition",
            "localizedDescription" : "The property set definition name."
          } ],
          "localizedDescription" : "Retrieves a Map of property sets for the current (or specified) namespace and property set definition name that is keyed by property set name. The size and start index of this list will be within the boundaries of the specified start index and page size specified in the request.",
          "resourceType" : "urn:oracle:wcps:conductor:provider:resourceMethod",
          "links" : [ {
            "resourceType" : "urn:oracle:wcps:conductor:provider:resourceMethods",
            "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods?projection={projection}",
            "capabilities" : "urn:oracle:restframework:read",
            "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods",
            "rel" : "urn:oracle:webcenter:parent"
          }, {
            "resourceType" : "urn:oracle:wcps:conductor:provider:resourceMethod",
            "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/GetPropertySets(definition)?projection={projection}",
            "capabilities" : "urn:oracle:restframework:read",
            "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/GetPropertySets(definition)",
            "rel" : "self"
          } ]
        }, {
          "name" : "GetPropertySets",
          "uniqueName" : "GetPropertySets(namespace,definition)",
          "returnType" : "java.util.Map",
          "parameters" : [ {
            "type" : "java.lang.String",
            "name" : "namespace",
            "localizedDescription" : "The namespace in which the property set definition and property set exists."
          }, {
            "type" : "java.lang.String",
            "name" : "definition",
            "localizedDescription" : "The property set definition name."
          } ],
          "localizedDescription" : "Retrieves a Map of property sets for the current (or specified) namespace and property set definition name that is keyed by property set name. The size and start index of this list will be within the boundaries of the specified start index and page size specified in the request.",
          "resourceType" : "urn:oracle:wcps:conductor:provider:resourceMethod",
          "links" : [ {
            "resourceType" : "urn:oracle:wcps:conductor:provider:resourceMethods",
            "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods?projection={projection}",
            "capabilities" : "urn:oracle:restframework:read",
            "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods",
            "rel" : "urn:oracle:webcenter:parent"
          }, {
            "resourceType" : "urn:oracle:wcps:conductor:provider:resourceMethod",
            "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/GetPropertySets(namespace,definition)?projection={projection}",
            "capabilities" : "urn:oracle:restframework:read",
            "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/GetPropertySets(namespace,definition)",
            "rel" : "self"
          } ]
        } ],
        "resourceType" : "urn:oracle:wcps:conductor:provider:resourceMethods",
        "links" : [ {
          "resourceType" : "urn:oracle:wcps:conductor:provider:connectionResource",
          "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource?projection={projection}",
          "capabilities" : "urn:oracle:restframework:read",
          "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource",
          "rel" : "urn:oracle:webcenter:parent"
        }, {
          "resourceType" : "urn:oracle:wcps:conductor:provider:resourceMethods",
          "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods?projection={projection}",
          "capabilities" : "urn:oracle:restframework:read",
          "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods",
          "rel" : "self"
        } ]
      },
      "resourceType" : "urn:oracle:wcps:conductor:provider:connectionResource",
      "links" : [ {
        "resourceType" : "urn:oracle:wcps:conductor:provider:connectionResources",
        "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources?projection={projection}",
        "capabilities" : "urn:oracle:restframework:read",
        "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources",
        "rel" : "urn:oracle:webcenter:parent"
      }, {
        "resourceType" : "urn:oracle:wcps:conductor:provider:connectionResource",
        "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource?projection={projection}",
        "capabilities" : "urn:oracle:restframework:read",
        "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource",
        "rel" : "self"
      } ]
    } ],
    "resourceType" : "urn:oracle:wcps:conductor:provider:providerConnection",
    "links" : [ {
      "resourceType" : "urn:oracle:wcps:conductor:provider:providerConnections",
      "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections?projection={projection}",
      "capabilities" : "urn:oracle:restframework:read",
      "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections",
      "rel" : "urn:oracle:webcenter:parent"
    }, {
      "resourceType" : "urn:oracle:wcps:conductor:provider:connectionMetadata",
      "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/metadata?projection={projection}",
      "capabilities" : "urn:oracle:restframework:read",
      "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/metadata",
      "rel" : "urn:oracle:wcps:conductor:provider:connectionMetadata"
    }, {
      "resourceType" : "urn:oracle:wcps:conductor:provider:providerConnection",
      "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection?projection={projection}",
      "capabilities" : "urn:oracle:restframework:read",
      "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection",
      "rel" : "self"
    } ]
  } ],
  "resourceType" : "urn:oracle:wcps:conductor:provider:dataProvider",
  "links" : [ {
    "resourceType" : "urn:oracle:wcps:conductor:provider:dataProviders",
    "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders?projection={projection}",
    "capabilities" : "urn:oracle:restframework:read",
    "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders",
    "rel" : "urn:oracle:webcenter:parent"
  }, {
    "resourceType" : "urn:oracle:wcps:conductor:provider:dataProvider",
    "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider?projection={projection}",
    "capabilities" : "urn:oracle:restframework:read",
    "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider?projection=details",
    "rel" : "self"
  }, {
    "resourceType" : "urn:oracle:wcps:conductor:provider:providerConnections",
    "template" : "http://localhost:7001/wcps/api/conductor/namespaces/{namespace}/dataProviders/{provider-name}/connections?projection={projection}",
    "capabilities" : "urn:oracle:restframework:read",
    "rel" : "urn:oracle:wcps:conductor:provider:providerConnections"
  }, {
    "resourceType" : "urn:oracle:wcps:conductor:provider:providerConnection",
    "template" : "http://localhost:7001/wcps/api/conductor/namespaces/{namespace}/dataProviders/{provider-name}/connections/{connection-name}?projection={projection}",
    "capabilities" : "urn:oracle:restframework:read",
    "rel" : "urn:oracle:wcps:conductor:provider:providerConnection"
  }, {
    "resourceType" : "urn:oracle:wcps:conductor:provider:connectionResources",
    "template" : "http://localhost:7001/wcps/api/conductor/namespaces/{namespace}/dataProviders/{provider-name}/connections/{connection-name}/resources?projection={projection}",
    "capabilities" : "urn:oracle:restframework:read",
    "rel" : "urn:oracle:wcps:conductor:provider:connectionResources"
  }, {
    "resourceType" : "urn:oracle:wcps:conductor:provider:connectionResource",
    "template" : "http://localhost:7001/wcps/api/conductor/namespaces/{namespace}/dataProviders/{provider-name}/connections/{connection-name}/resources/{resource-name}?projection={projection}",
    "capabilities" : "urn:oracle:restframework:read",
    "rel" : "urn:oracle:wcps:conductor:provider:connectionResource"
  }, {
    "resourceType" : "urn:oracle:wcps:conductor:provider:resourceMethods",
    "template" : "http://localhost:7001/wcps/api/conductor/namespaces/{namespace}/dataProviders/{provider-name}/connections/{connection-name}/resources/{resource-name}/methods?projection={projection}",
    "capabilities" : "urn:oracle:restframework:read",
    "rel" : "urn:oracle:wcps:conductor:provider:resourceMethods"
  }, {
    "resourceType" : "urn:oracle:wcps:conductor:provider:resourceMethod",
    "template" : "http://localhost:7001/wcps/api/conductor/namespaces/{namespace}/dataProviders/{provider-name}/connections/{connection-name}/resources/{resource-name}/methods/{method-name}?projection={projection}",
    "capabilities" : "urn:oracle:restframework:read",
    "rel" : "urn:oracle:wcps:conductor:provider:resourceMethod"
  } ]
}

68.4.1.3 Getting Information About a Data Provider Connection (GET)

XML

Request:
GET http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection?projection=summary
accept-language: en
content-type: application/xml
accept: application/xml
 
Response:
Status Code:200
Content-Length: 3896
X-Powered-By: Servlet/2.5 JSP/2.1
Set-Cookie: JSESSIONID=QGswM25H1GLC61Qvbt08HLfJhfJdN50TSV8lRzWhpvbJG0vFJtSN!822326988; path=/wcps; HttpOnly
Content-Type: application/xml
Date: Wed, 13 Oct 2010 22:58:47 GMT
 
<?xml version="1.0" encoding="UTF-8"?>
<connection resourceType="urn:oracle:wcps:conductor:provider:providerConnection">
  <links>
    <link capabilities="urn:oracle:restframework:read"
      href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections"
      rel="urn:oracle:webcenter:parent"
      resourceType="urn:oracle:wcps:conductor:provider:providerConnections" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections?projection={projection}"/>
    <link capabilities="urn:oracle:restframework:read"
      href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/metadata"
      rel="urn:oracle:wcps:conductor:provider:connectionMetadata"
      resourceType="urn:oracle:wcps:conductor:provider:connectionMetadata" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/metadata?projection={projection}"/>
    <link capabilities="urn:oracle:restframework:read"
      href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection?projection=summary"
      rel="self"
      resourceType="urn:oracle:wcps:conductor:provider:providerConnection" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection?projection={projection}"/>
  </links>
  <name>LocalServerConnection</name>
  <connectionResources resourceType="urn:oracle:wcps:conductor:provider:connectionResources">
    <links>
      <link capabilities="urn:oracle:restframework:read"
        href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection"
        rel="urn:oracle:webcenter:parent"
        resourceType="urn:oracle:wcps:conductor:provider:providerConnection" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection?projection={projection}"/>
      <link capabilities="urn:oracle:restframework:read"
        href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources"
        rel="self"
        resourceType="urn:oracle:wcps:conductor:provider:connectionResources" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources?projection={projection}"/>
    </links>
    <items>
      <connectionResource resourceType="urn:oracle:wcps:conductor:provider:connectionResource">
        <links>
          <link capabilities="urn:oracle:restframework:read"
            href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources"
            rel="urn:oracle:webcenter:parent"
            resourceType="urn:oracle:wcps:conductor:provider:connectionResources" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources?projection={projection}"/>
          <link capabilities="urn:oracle:restframework:read"
            href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource"
            rel="self"
            resourceType="urn:oracle:wcps:conductor:provider:connectionResource" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource?projection={projection}"/>
        </links>
        <name>GetPropertiesResource</name>
      </connectionResource>
    </items>
  </connectionResources>
</connection>

JSON

Request:
GET http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection?projection=summary
accept-language: en
content-type: application/json
accept: application/json
 
Response:
Status Code:200
X-Powered-By: Servlet/2.5 JSP/2.1
Set-Cookie: JSESSIONID=tLqRM27fHTGT9nxHfW1TyHJv3522rhw84Z5RRcymb1dy3pLMFgp6!822326988; path=/wcps; HttpOnly
Transfer-Encoding: chunked
Content-Type: application/json
Date: Wed, 13 Oct 2010 23:07:11 GMT
 
{
  "name" : "LocalServerConnection",
  "connectionResources" : [ {
    "name" : "GetPropertiesResource",
    "resourceType" : "urn:oracle:wcps:conductor:provider:connectionResource",
    "links" : [ {
      "resourceType" : "urn:oracle:wcps:conductor:provider:connectionResources",
      "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources?projection={projection}",
      "capabilities" : "urn:oracle:restframework:read",
      "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources",
      "rel" : "urn:oracle:webcenter:parent"
    }, {
      "resourceType" : "urn:oracle:wcps:conductor:provider:connectionResource",
      "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource?projection={projection}",
      "capabilities" : "urn:oracle:restframework:read",
      "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource",
      "rel" : "self"
    } ]
  } ],
  "resourceType" : "urn:oracle:wcps:conductor:provider:providerConnection",
  "links" : [ {
    "resourceType" : "urn:oracle:wcps:conductor:provider:providerConnections",
    "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections?projection={projection}",
    "capabilities" : "urn:oracle:restframework:read",
    "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections",
    "rel" : "urn:oracle:webcenter:parent"
  }, {
    "resourceType" : "urn:oracle:wcps:conductor:provider:connectionMetadata",
    "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/metadata?projection={projection}",
    "capabilities" : "urn:oracle:restframework:read",
    "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/metadata",
    "rel" : "urn:oracle:wcps:conductor:provider:connectionMetadata"
  }, {
    "resourceType" : "urn:oracle:wcps:conductor:provider:providerConnection",
    "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection?projection={projection}",
    "capabilities" : "urn:oracle:restframework:read",
    "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection?projection=summary",
    "rel" : "self"
  } ]
}

68.4.1.4 Getting Information about an Executable Resource for a Data Provider and Connection (GET)

XML

Request:
GET http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource?projection=summary
accept-language: en
content-type: application/xml
accept: application/xml
 
Response:
Status Code:200
Content-Length: 11964
X-Powered-By: Servlet/2.5 JSP/2.1
Set-Cookie: JSESSIONID=6NMkM25Ljb1yWPTMTSyMYksJjhtVKR90BhTv5MvGVjDHCVGyHGQG!822326988; path=/wcps; HttpOnly
Content-Type: application/xml
Date: Wed, 13 Oct 2010 22:58:48 GMT
 
<?xml version="1.0" encoding="UTF-8"?>
<connectionResource resourceType="urn:oracle:wcps:conductor:provider:connectionResource">
  <links>
    <link capabilities="urn:oracle:restframework:read"
      href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources"
      rel="urn:oracle:webcenter:parent"
      resourceType="urn:oracle:wcps:conductor:provider:connectionResources" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources?projection={projection}"/>
    <link capabilities="urn:oracle:restframework:read"
      href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource?projection=summary"
      rel="self"
      resourceType="urn:oracle:wcps:conductor:provider:connectionResource" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource?projection={projection}"/>
  </links>
  <name>GetPropertiesResource</name>
  <resourceMethods resourceType="urn:oracle:wcps:conductor:provider:resourceMethods">
    <links>
      <link capabilities="urn:oracle:restframework:read"
        href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource"
        rel="urn:oracle:webcenter:parent"
        resourceType="urn:oracle:wcps:conductor:provider:connectionResource" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource?projection={projection}"/>
      <link capabilities="urn:oracle:restframework:read"
        href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods"
        rel="self"
        resourceType="urn:oracle:wcps:conductor:provider:resourceMethods" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods?projection={projection}"/>
    </links>
    <items>
      <resourceMethod resourceType="urn:oracle:wcps:conductor:provider:resourceMethod">
        <links>
          <link capabilities="urn:oracle:restframework:read"
            href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods"
            rel="urn:oracle:webcenter:parent"
            resourceType="urn:oracle:wcps:conductor:provider:resourceMethods" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods?projection={projection}"/>
          <link capabilities="urn:oracle:restframework:read"
            href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/GetProperty(namespace,definition,set,property)"
            rel="self"
            resourceType="urn:oracle:wcps:conductor:provider:resourceMethod" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/GetProperty(namespace,definition,set,property)?projection={projection}"/>
        </links>
        <name>GetProperty</name>
        <uniqueName>GetProperty(namespace,definition,set,property)</uniqueName>
        <parameters/>
      </resourceMethod>
      <resourceMethod resourceType="urn:oracle:wcps:conductor:provider:resourceMethod">
        <links>
          <link capabilities="urn:oracle:restframework:read"
            href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods"
            rel="urn:oracle:webcenter:parent"
            resourceType="urn:oracle:wcps:conductor:provider:resourceMethods" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods?projection={projection}"/>
          <link capabilities="urn:oracle:restframework:read"
            href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/GetProperty(definition,set,property)"
            rel="self"
            resourceType="urn:oracle:wcps:conductor:provider:resourceMethod" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/GetProperty(definition,set,property)?projection={projection}"/>
        </links>
        <name>GetProperty</name>
        <uniqueName>GetProperty(definition,set,property)</uniqueName>
        <parameters/>
      </resourceMethod>
      <resourceMethod resourceType="urn:oracle:wcps:conductor:provider:resourceMethod">
        <links>
          <link capabilities="urn:oracle:restframework:read"
            href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods"
            rel="urn:oracle:webcenter:parent"
            resourceType="urn:oracle:wcps:conductor:provider:resourceMethods" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods?projection={projection}"/>
          <link capabilities="urn:oracle:restframework:read"
            href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/execute()"
            rel="self"
            resourceType="urn:oracle:wcps:conductor:provider:resourceMethod" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/execute()?projection={projection}"/>
        </links>
        <name>execute</name>
        <uniqueName>execute()</uniqueName>
        <parameters/>
      </resourceMethod>
      <resourceMethod resourceType="urn:oracle:wcps:conductor:provider:resourceMethod">
        <links>
          <link capabilities="urn:oracle:restframework:read"
            href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods"
            rel="urn:oracle:webcenter:parent"
            resourceType="urn:oracle:wcps:conductor:provider:resourceMethods" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods?projection={projection}"/>
          <link capabilities="urn:oracle:restframework:read"
            href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/GetPropertySet(definition,set)"
            rel="self"
            resourceType="urn:oracle:wcps:conductor:provider:resourceMethod" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/GetPropertySet(definition,set)?projection={projection}"/>
        </links>
        <name>GetPropertySet</name>
        <uniqueName>GetPropertySet(definition,set)</uniqueName>
        <parameters/>
      </resourceMethod>
      <resourceMethod resourceType="urn:oracle:wcps:conductor:provider:resourceMethod">
        <links>
          <link capabilities="urn:oracle:restframework:read"
            href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods"
            rel="urn:oracle:webcenter:parent"
            resourceType="urn:oracle:wcps:conductor:provider:resourceMethods" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods?projection={projection}"/>
          <link capabilities="urn:oracle:restframework:read"
            href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/GetPropertySet(namespace,definition,set)"
            rel="self"
            resourceType="urn:oracle:wcps:conductor:provider:resourceMethod" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/GetPropertySet(namespace,definition,set)?projection={projection}"/>
        </links>
        <name>GetPropertySet</name>
        <uniqueName>GetPropertySet(namespace,definition,set)</uniqueName>
        <parameters/>
      </resourceMethod>
      <resourceMethod resourceType="urn:oracle:wcps:conductor:provider:resourceMethod">
        <links>
          <link capabilities="urn:oracle:restframework:read"
            href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods"
            rel="urn:oracle:webcenter:parent"
            resourceType="urn:oracle:wcps:conductor:provider:resourceMethods" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods?projection={projection}"/>
          <link capabilities="urn:oracle:restframework:read"
            href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/GetPropertySets(definition)"
            rel="self"
            resourceType="urn:oracle:wcps:conductor:provider:resourceMethod" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/GetPropertySets(definition)?projection={projection}"/>
        </links>
        <name>GetPropertySets</name>
        <uniqueName>GetPropertySets(definition)</uniqueName>
        <parameters/>
      </resourceMethod>
      <resourceMethod resourceType="urn:oracle:wcps:conductor:provider:resourceMethod">
        <links>
          <link capabilities="urn:oracle:restframework:read"
            href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods"
            rel="urn:oracle:webcenter:parent"
            resourceType="urn:oracle:wcps:conductor:provider:resourceMethods" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods?projection={projection}"/>
          <link capabilities="urn:oracle:restframework:read"
            href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/GetPropertySets(namespace,definition)"
            rel="self"
            resourceType="urn:oracle:wcps:conductor:provider:resourceMethod" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/GetPropertySets(namespace,definition)?projection={projection}"/>
        </links>
        <name>GetPropertySets</name>
        <uniqueName>GetPropertySets(namespace,definition)</uniqueName>
        <parameters/>
      </resourceMethod>
    </items>
  </resourceMethods>
</connectionResource>

JSON

Request:
GET http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource?projection=summary
accept-language: en
content-type: application/json
accept: application/json
 
Response:
Status Code:200
X-Powered-By: Servlet/2.5 JSP/2.1
Set-Cookie: JSESSIONID=lP2dM27QwpNKslGK8xd818TLMmBhpdBzcLnZyncLXWLv6BrNjkq8!822326988; path=/wcps; HttpOnly
Transfer-Encoding: chunked
Content-Type: application/json
Date: Wed, 13 Oct 2010 23:07:12 GMT
 
{
  "name" : "GetPropertiesResource",
  "resourceMethods" : {
    "resourceMethods" : [ {
      "name" : "GetProperty",
      "uniqueName" : "GetProperty(namespace,definition,set,property)",
      "parameters" : [ ],
      "resourceType" : "urn:oracle:wcps:conductor:provider:resourceMethod",
      "links" : [ {
        "resourceType" : "urn:oracle:wcps:conductor:provider:resourceMethods",
        "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods?projection={projection}",
        "capabilities" : "urn:oracle:restframework:read",
        "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods",
        "rel" : "urn:oracle:webcenter:parent"
      }, {
        "resourceType" : "urn:oracle:wcps:conductor:provider:resourceMethod",
        "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/GetProperty(namespace,definition,set,property)?projection={projection}",
        "capabilities" : "urn:oracle:restframework:read",
        "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/GetProperty(namespace,definition,set,property)",
        "rel" : "self"
      } ]
    }, {
      "name" : "GetProperty",
      "uniqueName" : "GetProperty(definition,set,property)",
      "parameters" : [ ],
      "resourceType" : "urn:oracle:wcps:conductor:provider:resourceMethod",
      "links" : [ {
        "resourceType" : "urn:oracle:wcps:conductor:provider:resourceMethods",
        "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods?projection={projection}",
        "capabilities" : "urn:oracle:restframework:read",
        "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods",
        "rel" : "urn:oracle:webcenter:parent"
      }, {
        "resourceType" : "urn:oracle:wcps:conductor:provider:resourceMethod",
        "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/GetProperty(definition,set,property)?projection={projection}",
        "capabilities" : "urn:oracle:restframework:read",
        "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/GetProperty(definition,set,property)",
        "rel" : "self"
      } ]
    }, {
      "name" : "execute",
      "uniqueName" : "execute()",
      "parameters" : [ ],
      "resourceType" : "urn:oracle:wcps:conductor:provider:resourceMethod",
      "links" : [ {
        "resourceType" : "urn:oracle:wcps:conductor:provider:resourceMethods",
        "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods?projection={projection}",
        "capabilities" : "urn:oracle:restframework:read",
        "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods",
        "rel" : "urn:oracle:webcenter:parent"
      }, {
        "resourceType" : "urn:oracle:wcps:conductor:provider:resourceMethod",
        "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/execute()?projection={projection}",
        "capabilities" : "urn:oracle:restframework:read",
        "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/execute()",
        "rel" : "self"
      } ]
    }, {
      "name" : "GetPropertySet",
      "uniqueName" : "GetPropertySet(definition,set)",
      "parameters" : [ ],
      "resourceType" : "urn:oracle:wcps:conductor:provider:resourceMethod",
      "links" : [ {
        "resourceType" : "urn:oracle:wcps:conductor:provider:resourceMethods",
        "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods?projection={projection}",
        "capabilities" : "urn:oracle:restframework:read",
        "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods",
        "rel" : "urn:oracle:webcenter:parent"
      }, {
        "resourceType" : "urn:oracle:wcps:conductor:provider:resourceMethod",
        "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/GetPropertySet(definition,set)?projection={projection}",
        "capabilities" : "urn:oracle:restframework:read",
        "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/GetPropertySet(definition,set)",
        "rel" : "self"
      } ]
    }, {
      "name" : "GetPropertySet",
      "uniqueName" : "GetPropertySet(namespace,definition,set)",
      "parameters" : [ ],
      "resourceType" : "urn:oracle:wcps:conductor:provider:resourceMethod",
      "links" : [ {
        "resourceType" : "urn:oracle:wcps:conductor:provider:resourceMethods",
        "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods?projection={projection}",
        "capabilities" : "urn:oracle:restframework:read",
        "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods",
        "rel" : "urn:oracle:webcenter:parent"
      }, {
        "resourceType" : "urn:oracle:wcps:conductor:provider:resourceMethod",
        "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/GetPropertySet(namespace,definition,set)?projection={projection}",
        "capabilities" : "urn:oracle:restframework:read",
        "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/GetPropertySet(namespace,definition,set)",
        "rel" : "self"
      } ]
    }, {
      "name" : "GetPropertySets",
      "uniqueName" : "GetPropertySets(definition)",
      "parameters" : [ ],
      "resourceType" : "urn:oracle:wcps:conductor:provider:resourceMethod",
      "links" : [ {
        "resourceType" : "urn:oracle:wcps:conductor:provider:resourceMethods",
        "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods?projection={projection}",
        "capabilities" : "urn:oracle:restframework:read",
        "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods",
        "rel" : "urn:oracle:webcenter:parent"
      }, {
        "resourceType" : "urn:oracle:wcps:conductor:provider:resourceMethod",
        "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/GetPropertySets(definition)?projection={projection}",
        "capabilities" : "urn:oracle:restframework:read",
        "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/GetPropertySets(definition)",
        "rel" : "self"
      } ]
    }, {
      "name" : "GetPropertySets",
      "uniqueName" : "GetPropertySets(namespace,definition)",
      "parameters" : [ ],
      "resourceType" : "urn:oracle:wcps:conductor:provider:resourceMethod",
      "links" : [ {
        "resourceType" : "urn:oracle:wcps:conductor:provider:resourceMethods",
        "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods?projection={projection}",
        "capabilities" : "urn:oracle:restframework:read",
        "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods",
        "rel" : "urn:oracle:webcenter:parent"
      }, {
        "resourceType" : "urn:oracle:wcps:conductor:provider:resourceMethod",
        "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/GetPropertySets(namespace,definition)?projection={projection}",
        "capabilities" : "urn:oracle:restframework:read",
        "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/GetPropertySets(namespace,definition)",
        "rel" : "self"
      } ]
    } ],
    "resourceType" : "urn:oracle:wcps:conductor:provider:resourceMethods",
    "links" : [ {
      "resourceType" : "urn:oracle:wcps:conductor:provider:connectionResource",
      "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource?projection={projection}",
      "capabilities" : "urn:oracle:restframework:read",
      "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource",
      "rel" : "urn:oracle:webcenter:parent"
    }, {
      "resourceType" : "urn:oracle:wcps:conductor:provider:resourceMethods",
      "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods?projection={projection}",
      "capabilities" : "urn:oracle:restframework:read",
      "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods",
      "rel" : "self"
    } ]
  },
  "resourceType" : "urn:oracle:wcps:conductor:provider:connectionResource",
  "links" : [ {
    "resourceType" : "urn:oracle:wcps:conductor:provider:connectionResources",
    "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources?projection={projection}",
    "capabilities" : "urn:oracle:restframework:read",
    "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources",
    "rel" : "urn:oracle:webcenter:parent"
  }, {
    "resourceType" : "urn:oracle:wcps:conductor:provider:connectionResource",
    "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource?projection={projection}",
    "capabilities" : "urn:oracle:restframework:read",
    "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource?projection=summary",
    "rel" : "self"
  } ]
}

68.4.1.5 Getting Method Information for an Executable Resource for a Data Provider and Connection (GET)

XML

Request:
GET http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/GetPropertySet(namespace,definition,set)?projection=details
accept-language: en
content-type: application/xml
accept: application/xml
 
Response:
Status Code:200
Content-Length: 2243
X-Powered-By: Servlet/2.5 JSP/2.1
Set-Cookie: JSESSIONID=rnBkM27d8dHMpZT4WdT0CLGythB2hRhQ2yjTmg6rh7BDfB1JTQjL!822326988; path=/wcps; HttpOnly
Content-Type: application/xml
Date: Wed, 13 Oct 2010 23:07:09 GMT
 
<?xml version="1.0" encoding="UTF-8"?>
<resourceMethod resourceType="urn:oracle:wcps:conductor:provider:resourceMethod">
  <links>
    <link capabilities="urn:oracle:restframework:read"
      href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods"
      rel="urn:oracle:webcenter:parent"
      resourceType="urn:oracle:wcps:conductor:provider:resourceMethods" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods?projection={projection}"/>
    <link capabilities="urn:oracle:restframework:read"
      href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/GetPropertySet(namespace,definition,set)?projection=details"
      rel="self"
      resourceType="urn:oracle:wcps:conductor:provider:resourceMethod" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/GetPropertySet(namespace,definition,set)?projection={projection}"/>
  </links>
  <name>GetPropertySet</name>
  <uniqueName>GetPropertySet(namespace,definition,set)</uniqueName>
  <localizedDescription>Retrieves a property set for the current (or specified) namespace, property set definition name, and property set name. If no namespace, property set definition, or property set exists, null will be returned.</localizedDescription>
  <parameters>
    <parameter>
      <localizedDescription>The namespace in which the property set definition and property set exists.</localizedDescription>
      <name>namespace</name>
      <type>java.lang.String</type>
    </parameter>
    <parameter>
      <localizedDescription>The property set definition name.</localizedDescription>
      <name>definition</name>
      <type>java.lang.String</type>
    </parameter>
    <parameter>
      <localizedDescription>The property set name.</localizedDescription>
      <name>set</name>
      <type>java.lang.String</type>
    </parameter>
  </parameters>
  <returnType>java.util.Map</returnType>
</resourceMethod>

JSON

Request:
GET http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/GetPropertySet(namespace,definition,set)?projection=details
accept-language: en
content-type: application/json
accept: application/json
 
Response:
Status Code:200
X-Powered-By: Servlet/2.5 JSP/2.1
Set-Cookie: JSESSIONID=MD62M27BQLv9jxFR8K1SSXXyL70DwLGd7gpHvMh21xGM9gfppLR2!822326988; path=/wcps; HttpOnly
Transfer-Encoding: chunked
Content-Type: application/json
Date: Wed, 13 Oct 2010 23:07:13 GMT
 
{
  "name" : "GetPropertySet",
  "uniqueName" : "GetPropertySet(namespace,definition,set)",
  "returnType" : "java.util.Map",
  "parameters" : [ {
    "type" : "java.lang.String",
    "name" : "namespace",
    "localizedDescription" : "The namespace in which the property set definition and property set exists."
  }, {
    "type" : "java.lang.String",
    "name" : "definition",
    "localizedDescription" : "The property set definition name."
  }, {
    "type" : "java.lang.String",
    "name" : "set",
    "localizedDescription" : "The property set name."
  } ],
  "localizedDescription" : "Retrieves a property set for the current (or specified) namespace, property set definition name, and property set name. If no namespace, property set definition, or property set exists, null will be returned.",
  "resourceType" : "urn:oracle:wcps:conductor:provider:resourceMethod",
  "links" : [ {
    "resourceType" : "urn:oracle:wcps:conductor:provider:resourceMethods",
    "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods?projection={projection}",
    "capabilities" : "urn:oracle:restframework:read",
    "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods",
    "rel" : "urn:oracle:webcenter:parent"
  }, {
    "resourceType" : "urn:oracle:wcps:conductor:provider:resourceMethod",
    "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/GetPropertySet(namespace,definition,set)?projection={projection}",
    "capabilities" : "urn:oracle:restframework:read",
    "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/GetPropertySet(namespace,definition,set)?projection=details",
    "rel" : "self"
  } ]
}

68.4.1.6 Getting Entire Data Provider Information with Details Projection (GET)

XML

Request:
GET http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider?projection=details
accept-language: en
content-type: application/xml
accept: application/xml
 
Response:
Status Code:200
X-Powered-By: Servlet/2.5 JSP/2.1
Set-Cookie: JSESSIONID=T5nQM27dHT1yGdzP7yMy25l0QGKDt95kXymntN83tfhT72n1gkcQ!822326988; path=/wcps; HttpOnly
Transfer-Encoding: chunked
Content-Type: application/xml
Date: Wed, 13 Oct 2010 23:07:09 GMT
 
<?xml version="1.0" encoding="UTF-8"?>
<dataProvider resourceType="urn:oracle:wcps:conductor:provider:dataProvider">
  <links>
    <link capabilities="urn:oracle:restframework:read"
      href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders"
      rel="urn:oracle:webcenter:parent"
      resourceType="urn:oracle:wcps:conductor:provider:dataProviders" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders?projection={projection}"/>
    <link capabilities="urn:oracle:restframework:read"
      href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider?projection=details"
      rel="self"
      resourceType="urn:oracle:wcps:conductor:provider:dataProvider" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider?projection={projection}"/>
    <link capabilities="urn:oracle:restframework:read"
      rel="urn:oracle:wcps:conductor:provider:providerConnections"
      resourceType="urn:oracle:wcps:conductor:provider:providerConnections" template="http://localhost:7001/wcps/api/conductor/namespaces/{namespace}/dataProviders/{provider-name}/connections?projection={projection}"/>
    <link capabilities="urn:oracle:restframework:read"
      rel="urn:oracle:wcps:conductor:provider:providerConnection"
      resourceType="urn:oracle:wcps:conductor:provider:providerConnection" template="http://localhost:7001/wcps/api/conductor/namespaces/{namespace}/dataProviders/{provider-name}/connections/{connection-name}?projection={projection}"/>
    <link capabilities="urn:oracle:restframework:read"
      rel="urn:oracle:wcps:conductor:provider:connectionResources"
      resourceType="urn:oracle:wcps:conductor:provider:connectionResources" template="http://localhost:7001/wcps/api/conductor/namespaces/{namespace}/dataProviders/{provider-name}/connections/{connection-name}/resources?projection={projection}"/>
    <link capabilities="urn:oracle:restframework:read"
      rel="urn:oracle:wcps:conductor:provider:connectionResource"
      resourceType="urn:oracle:wcps:conductor:provider:connectionResource" template="http://localhost:7001/wcps/api/conductor/namespaces/{namespace}/dataProviders/{provider-name}/connections/{connection-name}/resources/{resource-name}?projection={projection}"/>
    <link capabilities="urn:oracle:restframework:read"
      rel="urn:oracle:wcps:conductor:provider:resourceMethods"
      resourceType="urn:oracle:wcps:conductor:provider:resourceMethods" template="http://localhost:7001/wcps/api/conductor/namespaces/{namespace}/dataProviders/{provider-name}/connections/{connection-name}/resources/{resource-name}/methods?projection={projection}"/>
    <link capabilities="urn:oracle:restframework:read"
      rel="urn:oracle:wcps:conductor:provider:resourceMethod"
      resourceType="urn:oracle:wcps:conductor:provider:resourceMethod" template="http://localhost:7001/wcps/api/conductor/namespaces/{namespace}/dataProviders/{provider-name}/connections/{connection-name}/resources/{resource-name}/methods/{method-name}?projection={projection}"/>
  </links>
  <name>oracle.PropertiesServiceProvider</name>
  <localizedName>Property Service Data Provider</localizedName>
  <localizedDescription>Data provider implementation to integrate the properties service for use in scenarios. </localizedDescription>
  <providerConnections resourceType="urn:oracle:wcps:conductor:provider:providerConnections">
    <links>
      <link capabilities="urn:oracle:restframework:read"
        href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider"
        rel="urn:oracle:webcenter:parent"
        resourceType="urn:oracle:wcps:conductor:provider:dataProvider" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider?projection={projection}"/>
      <link capabilities="urn:oracle:restframework:read"
        href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections"
        rel="self"
        resourceType="urn:oracle:wcps:conductor:provider:providerConnections" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections?projection={projection}"/>
    </links>
    <items>
      <providerConnection resourceType="urn:oracle:wcps:conductor:provider:providerConnection">
        <links>
          <link capabilities="urn:oracle:restframework:read"
            href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections"
            rel="urn:oracle:webcenter:parent"
            resourceType="urn:oracle:wcps:conductor:provider:providerConnections" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections?projection={projection}"/>
          <link capabilities="urn:oracle:restframework:read"
            href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/metadata"
            rel="urn:oracle:wcps:conductor:provider:connectionMetadata"
            resourceType="urn:oracle:wcps:conductor:provider:connectionMetadata" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/metadata?projection={projection}"/>
          <link capabilities="urn:oracle:restframework:read"
            href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection"
            rel="self"
            resourceType="urn:oracle:wcps:conductor:provider:providerConnection" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection?projection={projection}"/>
        </links>
        <name>LocalServerConnection</name>
        <connectionResources resourceType="urn:oracle:wcps:conductor:provider:connectionResources">
          <links>
            <link capabilities="urn:oracle:restframework:read"
              href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection"
              rel="urn:oracle:webcenter:parent"
              resourceType="urn:oracle:wcps:conductor:provider:providerConnection" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection?projection={projection}"/>
            <link capabilities="urn:oracle:restframework:read"
              href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources"
              rel="self"
              resourceType="urn:oracle:wcps:conductor:provider:connectionResources" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources?projection={projection}"/>
          </links>
          <items>
            <connectionResource resourceType="urn:oracle:wcps:conductor:provider:connectionResource">
              <links>
                <link capabilities="urn:oracle:restframework:read"
                  href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources"
                  rel="urn:oracle:webcenter:parent"
                  resourceType="urn:oracle:wcps:conductor:provider:connectionResources" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources?projection={projection}"/>
                <link capabilities="urn:oracle:restframework:read"
                  href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource"
                  rel="self"
                  resourceType="urn:oracle:wcps:conductor:provider:connectionResource" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource?projection={projection}"/>
              </links>
              <name>GetPropertiesResource</name>
              <resourceMethods resourceType="urn:oracle:wcps:conductor:provider:resourceMethods">
                <links>
                  <link capabilities="urn:oracle:restframework:read"
                    href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource"
                    rel="urn:oracle:webcenter:parent"
                    resourceType="urn:oracle:wcps:conductor:provider:connectionResource" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource?projection={projection}"/>
                  <link capabilities="urn:oracle:restframework:read"
                    href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods"
                    rel="self"
                    resourceType="urn:oracle:wcps:conductor:provider:resourceMethods" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods?projection={projection}"/>
                </links>
                <items>
                  <resourceMethod resourceType="urn:oracle:wcps:conductor:provider:resourceMethod">
                    <links>
                      <link capabilities="urn:oracle:restframework:read"
                        href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods"
                        rel="urn:oracle:webcenter:parent"
                        resourceType="urn:oracle:wcps:conductor:provider:resourceMethods" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods?projection={projection}"/>
                      <link capabilities="urn:oracle:restframework:read"
                        href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/GetProperty(namespace,definition,set,property)"
                        rel="self"
                        resourceType="urn:oracle:wcps:conductor:provider:resourceMethod" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/GetProperty(namespace,definition,set,property)?projection={projection}"/>
                    </links>
                    <name>GetProperty</name>
                    <uniqueName>GetProperty(namespace,definition,set,property)</uniqueName>
                    <localizedDescription>Retrieves a property set for the current (or specified) namespace, property set definition name, and property set name, and property name.  If no namespace, property set definition, property set and property exists     null will be returned.</localizedDescription>
                    <parameters>
                      <parameter>
                        <localizedDescription>The namespace in which the property set definition and property set exists.</localizedDescription>
                        <name>namespace</name>
                        <type>java.lang.String</type>
                      </parameter>
                      <parameter>
                        <localizedDescription>The property set definition name.</localizedDescription>
                        <name>definition</name>
                        <type>java.lang.String</type>
                      </parameter>
                      <parameter>
                        <localizedDescription>The property set name.</localizedDescription>
                        <name>set</name>
                        <type>java.lang.String</type>
                      </parameter>
                      <parameter>
                        <localizedDescription>The property name.</localizedDescription>
                        <name>property</name>
                        <type>java.lang.String</type>
                      </parameter>
                    </parameters>
                    <returnType>java.io.Serializable</returnType>
                  </resourceMethod>
                  <resourceMethod resourceType="urn:oracle:wcps:conductor:provider:resourceMethod">
                    <links>
                      <link capabilities="urn:oracle:restframework:read"
                        href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods"
                        rel="urn:oracle:webcenter:parent"
                        resourceType="urn:oracle:wcps:conductor:provider:resourceMethods" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods?projection={projection}"/>
                      <link capabilities="urn:oracle:restframework:read"
                        href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/GetProperty(definition,set,property)"
                        rel="self"
                        resourceType="urn:oracle:wcps:conductor:provider:resourceMethod" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/GetProperty(definition,set,property)?projection={projection}"/>
                    </links>
                    <name>GetProperty</name>
                    <uniqueName>GetProperty(definition,set,property)</uniqueName>
                    <localizedDescription>Retrieves a property set for the current (or specified) namespace, property set definition name, and property set name, and property name.  If no namespace, property set definition, property set and property exists     null will be returned.</localizedDescription>
                    <parameters>
                      <parameter>
                        <localizedDescription>The property set definition name.</localizedDescription>
                        <name>definition</name>
                        <type>java.lang.String</type>
                      </parameter>
                      <parameter>
                        <localizedDescription>The property set name.</localizedDescription>
                        <name>set</name>
                        <type>java.lang.String</type>
                      </parameter>
                      <parameter>
                        <localizedDescription>The property name.</localizedDescription>
                        <name>property</name>
                        <type>java.lang.String</type>
                      </parameter>
                    </parameters>
                    <returnType>java.io.Serializable</returnType>
                  </resourceMethod>
                  <resourceMethod resourceType="urn:oracle:wcps:conductor:provider:resourceMethod">
                    <links>
                      <link capabilities="urn:oracle:restframework:read"
                        href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods"
                        rel="urn:oracle:webcenter:parent"
                        resourceType="urn:oracle:wcps:conductor:provider:resourceMethods" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods?projection={projection}"/>
                      <link capabilities="urn:oracle:restframework:read"
                        href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/execute()"
                        rel="self"
                        resourceType="urn:oracle:wcps:conductor:provider:resourceMethod" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/execute()?projection={projection}"/>
                    </links>
                    <name>execute</name>
                    <uniqueName>execute()</uniqueName>
                    <localizedDescription>This is the default method executed if no method is specified, which currently returns nothing.</localizedDescription>
                    <parameters/>
                    <returnType>java.lang.Object</returnType>
                  </resourceMethod>
                  <resourceMethod resourceType="urn:oracle:wcps:conductor:provider:resourceMethod">
                    <links>
                      <link capabilities="urn:oracle:restframework:read"
                        href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods"
                        rel="urn:oracle:webcenter:parent"
                        resourceType="urn:oracle:wcps:conductor:provider:resourceMethods" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods?projection={projection}"/>
                      <link capabilities="urn:oracle:restframework:read"
                        href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/GetPropertySet(definition,set)"
                        rel="self"
                        resourceType="urn:oracle:wcps:conductor:provider:resourceMethod" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/GetPropertySet(definition,set)?projection={projection}"/>
                    </links>
                    <name>GetPropertySet</name>
                    <uniqueName>GetPropertySet(definition,set)</uniqueName>
                    <localizedDescription>Retrieves a property set for the current (or specified) namespace, property set definition name, and property set name. If no namespace, property set definition, or property set exists, null will be returned.</localizedDescription>
                    <parameters>
                      <parameter>
                        <localizedDescription>The property set definition name.</localizedDescription>
                        <name>definition</name>
                        <type>java.lang.String</type>
                      </parameter>
                      <parameter>
                        <localizedDescription>The property set name.</localizedDescription>
                        <name>set</name>
                        <type>java.lang.String</type>
                      </parameter>
                    </parameters>
                    <returnType>java.util.Map</returnType>
                  </resourceMethod>
                  <resourceMethod resourceType="urn:oracle:wcps:conductor:provider:resourceMethod">
                    <links>
                      <link capabilities="urn:oracle:restframework:read"
                        href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods"
                        rel="urn:oracle:webcenter:parent"
                        resourceType="urn:oracle:wcps:conductor:provider:resourceMethods" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods?projection={projection}"/>
                      <link capabilities="urn:oracle:restframework:read"
                        href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/GetPropertySet(namespace,definition,set)"
                        rel="self"
                        resourceType="urn:oracle:wcps:conductor:provider:resourceMethod" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/GetPropertySet(namespace,definition,set)?projection={projection}"/>
                    </links>
                    <name>GetPropertySet</name>
                    <uniqueName>GetPropertySet(namespace,definition,set)</uniqueName>
                    <localizedDescription>Retrieves a property set for the current (or specified) namespace, property set definition name, and property set name. If no namespace, property set definition, or property set exists, null will be returned.</localizedDescription>
                    <parameters>
                      <parameter>
                        <localizedDescription>The namespace in which the property set definition and property set exists.</localizedDescription>
                        <name>namespace</name>
                        <type>java.lang.String</type>
                      </parameter>
                      <parameter>
                        <localizedDescription>The property set definition name.</localizedDescription>
                        <name>definition</name>
                        <type>java.lang.String</type>
                      </parameter>
                      <parameter>
                        <localizedDescription>The property set name.</localizedDescription>
                        <name>set</name>
                        <type>java.lang.String</type>
                      </parameter>
                    </parameters>
                    <returnType>java.util.Map</returnType>
                  </resourceMethod>
                  <resourceMethod resourceType="urn:oracle:wcps:conductor:provider:resourceMethod">
                    <links>
                      <link capabilities="urn:oracle:restframework:read"
                        href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods"
                        rel="urn:oracle:webcenter:parent"
                        resourceType="urn:oracle:wcps:conductor:provider:resourceMethods" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods?projection={projection}"/>
                      <link capabilities="urn:oracle:restframework:read"
                        href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/GetPropertySets(definition)"
                        rel="self"
                        resourceType="urn:oracle:wcps:conductor:provider:resourceMethod" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/GetPropertySets(definition)?projection={projection}"/>
                    </links>
                    <name>GetPropertySets</name>
                    <uniqueName>GetPropertySets(definition)</uniqueName>
                    <localizedDescription>Retrieves a Map of property sets for the current (or specified) namespace and property set definition name that is keyed by property set name. The size and start index of this list will be within the boundaries of the specified start index and page size specified in the request.</localizedDescription>
                    <parameters>
                      <parameter>
                        <localizedDescription>The property set definition name.</localizedDescription>
                        <name>definition</name>
                        <type>java.lang.String</type>
                      </parameter>
                    </parameters>
                    <returnType>java.util.Map</returnType>
                  </resourceMethod>
                  <resourceMethod resourceType="urn:oracle:wcps:conductor:provider:resourceMethod">
                    <links>
                      <link capabilities="urn:oracle:restframework:read"
                        href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods"
                        rel="urn:oracle:webcenter:parent"
                        resourceType="urn:oracle:wcps:conductor:provider:resourceMethods" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods?projection={projection}"/>
                      <link capabilities="urn:oracle:restframework:read"
                        href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/GetPropertySets(namespace,definition)"
                        rel="self"
                        resourceType="urn:oracle:wcps:conductor:provider:resourceMethod" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/GetPropertySets(namespace,definition)?projection={projection}"/>
                    </links>
                    <name>GetPropertySets</name>
                    <uniqueName>GetPropertySets(namespace,definition)</uniqueName>
                    <localizedDescription>Retrieves a Map of property sets for the current (or specified) namespace and property set definition name that is keyed by property set name. The size and start index of this list will be within the boundaries of the specified start index and page size specified in the request.</localizedDescription>
                    <parameters>
                      <parameter>
                        <localizedDescription>The namespace in which the property set definition and property set exists.</localizedDescription>
                        <name>namespace</name>
                        <type>java.lang.String</type>
                      </parameter>
                      <parameter>
                        <localizedDescription>The property set definition name.</localizedDescription>
                        <name>definition</name>
                        <type>java.lang.String</type>
                      </parameter>
                    </parameters>
                    <returnType>java.util.Map</returnType>
                  </resourceMethod>
                </items>
              </resourceMethods>
            </connectionResource>
          </items>
        </connectionResources>
      </providerConnection>
    </items>
  </providerConnections>
</dataProvider>

JSON

Request:
GET http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider?projection=details
accept-language: en
content-type: application/json
accept: application/json
 
Response:
Status Code:200
X-Powered-By: Servlet/2.5 JSP/2.1
Set-Cookie: JSESSIONID=GvbXM27BZxQhPJQqnv9Qmsn1j2G1Lvzhc67hpLp4gnjhjsypnTTm!822326988; path=/wcps; HttpOnly
Transfer-Encoding: chunked
Content-Type: application/json
Date: Wed, 13 Oct 2010 23:07:13 GMT
 
{
  "name" : "oracle.PropertiesServiceProvider",
  "localizedName" : "Property Service Data Provider",
  "localizedDescription" : "Data provider implementation to integrate the properties service for use in scenarios. ",
  "providerConnections" : [ {
    "name" : "LocalServerConnection",
    "connectionResources" : [ {
      "name" : "GetPropertiesResource",
      "resourceMethods" : {
        "resourceMethods" : [ {
          "name" : "GetProperty",
          "uniqueName" : "GetProperty(namespace,definition,set,property)",
          "returnType" : "java.io.Serializable",
          "parameters" : [ {
            "type" : "java.lang.String",
            "name" : "namespace",
            "localizedDescription" : "The namespace in which the property set definition and property set exists."
          }, {
            "type" : "java.lang.String",
            "name" : "definition",
            "localizedDescription" : "The property set definition name."
          }, {
            "type" : "java.lang.String",
            "name" : "set",
            "localizedDescription" : "The property set name."
          }, {
            "type" : "java.lang.String",
            "name" : "property",
            "localizedDescription" : "The property name."
          } ],
          "localizedDescription" : "Retrieves a property set for the current (or specified) namespace, property set definition name, and property set name, and property name.  If no namespace, property set definition, property set and property exists\tnull will be returned.",
          "resourceType" : "urn:oracle:wcps:conductor:provider:resourceMethod",
          "links" : [ {
            "resourceType" : "urn:oracle:wcps:conductor:provider:resourceMethods",
            "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods?projection={projection}",
            "capabilities" : "urn:oracle:restframework:read",
            "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods",
            "rel" : "urn:oracle:webcenter:parent"
          }, {
            "resourceType" : "urn:oracle:wcps:conductor:provider:resourceMethod",
            "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/GetProperty(namespace,definition,set,property)?projection={projection}",
            "capabilities" : "urn:oracle:restframework:read",
            "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/GetProperty(namespace,definition,set,property)",
            "rel" : "self"
          } ]
        }, {
          "name" : "GetProperty",
          "uniqueName" : "GetProperty(definition,set,property)",
          "returnType" : "java.io.Serializable",
          "parameters" : [ {
            "type" : "java.lang.String",
            "name" : "definition",
            "localizedDescription" : "The property set definition name."
          }, {
            "type" : "java.lang.String",
            "name" : "set",
            "localizedDescription" : "The property set name."
          }, {
            "type" : "java.lang.String",
            "name" : "property",
            "localizedDescription" : "The property name."
          } ],
          "localizedDescription" : "Retrieves a property set for the current (or specified) namespace, property set definition name, and property set name, and property name.  If no namespace, property set definition, property set and property exists\tnull will be returned.",
          "resourceType" : "urn:oracle:wcps:conductor:provider:resourceMethod",
          "links" : [ {
            "resourceType" : "urn:oracle:wcps:conductor:provider:resourceMethods",
            "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods?projection={projection}",
            "capabilities" : "urn:oracle:restframework:read",
            "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods",
            "rel" : "urn:oracle:webcenter:parent"
          }, {
            "resourceType" : "urn:oracle:wcps:conductor:provider:resourceMethod",
            "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/GetProperty(definition,set,property)?projection={projection}",
            "capabilities" : "urn:oracle:restframework:read",
            "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/GetProperty(definition,set,property)",
            "rel" : "self"
          } ]
        }, {
          "name" : "execute",
          "uniqueName" : "execute()",
          "returnType" : "java.lang.Object",
          "parameters" : [ ],
          "localizedDescription" : "This is the default method executed if no method is specified, which currently returns nothing.",
          "resourceType" : "urn:oracle:wcps:conductor:provider:resourceMethod",
          "links" : [ {
            "resourceType" : "urn:oracle:wcps:conductor:provider:resourceMethods",
            "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods?projection={projection}",
            "capabilities" : "urn:oracle:restframework:read",
            "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods",
            "rel" : "urn:oracle:webcenter:parent"
          }, {
            "resourceType" : "urn:oracle:wcps:conductor:provider:resourceMethod",
            "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/execute()?projection={projection}",
            "capabilities" : "urn:oracle:restframework:read",
            "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/execute()",
            "rel" : "self"
          } ]
        }, {
          "name" : "GetPropertySet",
          "uniqueName" : "GetPropertySet(definition,set)",
          "returnType" : "java.util.Map",
          "parameters" : [ {
            "type" : "java.lang.String",
            "name" : "definition",
            "localizedDescription" : "The property set definition name."
          }, {
            "type" : "java.lang.String",
            "name" : "set",
            "localizedDescription" : "The property set name."
          } ],
          "localizedDescription" : "Retrieves a property set for the current (or specified) namespace, property set definition name, and property set name. If no namespace, property set definition, or property set exists, null will be returned.",
          "resourceType" : "urn:oracle:wcps:conductor:provider:resourceMethod",
          "links" : [ {
            "resourceType" : "urn:oracle:wcps:conductor:provider:resourceMethods",
            "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods?projection={projection}",
            "capabilities" : "urn:oracle:restframework:read",
            "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods",
            "rel" : "urn:oracle:webcenter:parent"
          }, {
            "resourceType" : "urn:oracle:wcps:conductor:provider:resourceMethod",
            "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/GetPropertySet(definition,set)?projection={projection}",
            "capabilities" : "urn:oracle:restframework:read",
            "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/GetPropertySet(definition,set)",
            "rel" : "self"
          } ]
        }, {
          "name" : "GetPropertySet",
          "uniqueName" : "GetPropertySet(namespace,definition,set)",
          "returnType" : "java.util.Map",
          "parameters" : [ {
            "type" : "java.lang.String",
            "name" : "namespace",
            "localizedDescription" : "The namespace in which the property set definition and property set exists."
          }, {
            "type" : "java.lang.String",
            "name" : "definition",
            "localizedDescription" : "The property set definition name."
          }, {
            "type" : "java.lang.String",
            "name" : "set",
            "localizedDescription" : "The property set name."
          } ],
          "localizedDescription" : "Retrieves a property set for the current (or specified) namespace, property set definition name, and property set name. If no namespace, property set definition, or property set exists, null will be returned.",
          "resourceType" : "urn:oracle:wcps:conductor:provider:resourceMethod",
          "links" : [ {
            "resourceType" : "urn:oracle:wcps:conductor:provider:resourceMethods",
            "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods?projection={projection}",
            "capabilities" : "urn:oracle:restframework:read",
            "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods",
            "rel" : "urn:oracle:webcenter:parent"
          }, {
            "resourceType" : "urn:oracle:wcps:conductor:provider:resourceMethod",
            "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/GetPropertySet(namespace,definition,set)?projection={projection}",
            "capabilities" : "urn:oracle:restframework:read",
            "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/GetPropertySet(namespace,definition,set)",
            "rel" : "self"
          } ]
        }, {
          "name" : "GetPropertySets",
          "uniqueName" : "GetPropertySets(definition)",
          "returnType" : "java.util.Map",
          "parameters" : [ {
            "type" : "java.lang.String",
            "name" : "definition",
            "localizedDescription" : "The property set definition name."
          } ],
          "localizedDescription" : "Retrieves a Map of property sets for the current (or specified) namespace and property set definition name that is keyed by property set name. The size and start index of this list will be within the boundaries of the specified start index and page size specified in the request.",
          "resourceType" : "urn:oracle:wcps:conductor:provider:resourceMethod",
          "links" : [ {
            "resourceType" : "urn:oracle:wcps:conductor:provider:resourceMethods",
            "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods?projection={projection}",
            "capabilities" : "urn:oracle:restframework:read",
            "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods",
            "rel" : "urn:oracle:webcenter:parent"
          }, {
            "resourceType" : "urn:oracle:wcps:conductor:provider:resourceMethod",
            "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/GetPropertySets(definition)?projection={projection}",
            "capabilities" : "urn:oracle:restframework:read",
            "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/GetPropertySets(definition)",
            "rel" : "self"
          } ]
        }, {
          "name" : "GetPropertySets",
          "uniqueName" : "GetPropertySets(namespace,definition)",
          "returnType" : "java.util.Map",
          "parameters" : [ {
            "type" : "java.lang.String",
            "name" : "namespace",
            "localizedDescription" : "The namespace in which the property set definition and property set exists."
          }, {
            "type" : "java.lang.String",
            "name" : "definition",
            "localizedDescription" : "The property set definition name."
          } ],
          "localizedDescription" : "Retrieves a Map of property sets for the current (or specified) namespace and property set definition name that is keyed by property set name. The size and start index of this list will be within the boundaries of the specified start index and page size specified in the request.",
          "resourceType" : "urn:oracle:wcps:conductor:provider:resourceMethod",
          "links" : [ {
            "resourceType" : "urn:oracle:wcps:conductor:provider:resourceMethods",
            "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods?projection={projection}",
            "capabilities" : "urn:oracle:restframework:read",
            "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods",
            "rel" : "urn:oracle:webcenter:parent"
          }, {
            "resourceType" : "urn:oracle:wcps:conductor:provider:resourceMethod",
            "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/GetPropertySets(namespace,definition)?projection={projection}",
            "capabilities" : "urn:oracle:restframework:read",
            "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods/GetPropertySets(namespace,definition)",
            "rel" : "self"
          } ]
        } ],
        "resourceType" : "urn:oracle:wcps:conductor:provider:resourceMethods",
        "links" : [ {
          "resourceType" : "urn:oracle:wcps:conductor:provider:connectionResource",
          "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource?projection={projection}",
          "capabilities" : "urn:oracle:restframework:read",
          "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource",
          "rel" : "urn:oracle:webcenter:parent"
        }, {
          "resourceType" : "urn:oracle:wcps:conductor:provider:resourceMethods",
          "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods?projection={projection}",
          "capabilities" : "urn:oracle:restframework:read",
          "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource/methods",
          "rel" : "self"
        } ]
      },
      "resourceType" : "urn:oracle:wcps:conductor:provider:connectionResource",
      "links" : [ {
        "resourceType" : "urn:oracle:wcps:conductor:provider:connectionResources",
        "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources?projection={projection}",
        "capabilities" : "urn:oracle:restframework:read",
        "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources",
        "rel" : "urn:oracle:webcenter:parent"
      }, {
        "resourceType" : "urn:oracle:wcps:conductor:provider:connectionResource",
        "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource?projection={projection}",
        "capabilities" : "urn:oracle:restframework:read",
        "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/resources/GetPropertiesResource",
        "rel" : "self"
      } ]
    } ],
    "resourceType" : "urn:oracle:wcps:conductor:provider:providerConnection",
    "links" : [ {
      "resourceType" : "urn:oracle:wcps:conductor:provider:providerConnections",
      "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections?projection={projection}",
      "capabilities" : "urn:oracle:restframework:read",
      "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections",
      "rel" : "urn:oracle:webcenter:parent"
    }, {
      "resourceType" : "urn:oracle:wcps:conductor:provider:connectionMetadata",
      "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/metadata?projection={projection}",
      "capabilities" : "urn:oracle:restframework:read",
      "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection/metadata",
      "rel" : "urn:oracle:wcps:conductor:provider:connectionMetadata"
    }, {
      "resourceType" : "urn:oracle:wcps:conductor:provider:providerConnection",
      "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection?projection={projection}",
      "capabilities" : "urn:oracle:restframework:read",
      "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider/connections/LocalServerConnection",
      "rel" : "self"
    } ]
  } ],
  "resourceType" : "urn:oracle:wcps:conductor:provider:dataProvider",
  "links" : [ {
    "resourceType" : "urn:oracle:wcps:conductor:provider:dataProviders",
    "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders?projection={projection}",
    "capabilities" : "urn:oracle:restframework:read",
    "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders",
    "rel" : "urn:oracle:webcenter:parent"
  }, {
    "resourceType" : "urn:oracle:wcps:conductor:provider:dataProvider",
    "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider?projection={projection}",
    "capabilities" : "urn:oracle:restframework:read",
    "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders/oracle.PropertiesServiceProvider?projection=details",
    "rel" : "self"
  }, {
    "resourceType" : "urn:oracle:wcps:conductor:provider:providerConnections",
    "template" : "http://localhost:7001/wcps/api/conductor/namespaces/{namespace}/dataProviders/{provider-name}/connections?projection={projection}",
    "capabilities" : "urn:oracle:restframework:read",
    "rel" : "urn:oracle:wcps:conductor:provider:providerConnections"
  }, {
    "resourceType" : "urn:oracle:wcps:conductor:provider:providerConnection",
    "template" : "http://localhost:7001/wcps/api/conductor/namespaces/{namespace}/dataProviders/{provider-name}/connections/{connection-name}?projection={projection}",
    "capabilities" : "urn:oracle:restframework:read",
    "rel" : "urn:oracle:wcps:conductor:provider:providerConnection"
  }, {
    "resourceType" : "urn:oracle:wcps:conductor:provider:connectionResources",
    "template" : "http://localhost:7001/wcps/api/conductor/namespaces/{namespace}/dataProviders/{provider-name}/connections/{connection-name}/resources?projection={projection}",
    "capabilities" : "urn:oracle:restframework:read",
    "rel" : "urn:oracle:wcps:conductor:provider:connectionResources"
  }, {
    "resourceType" : "urn:oracle:wcps:conductor:provider:connectionResource",
    "template" : "http://localhost:7001/wcps/api/conductor/namespaces/{namespace}/dataProviders/{provider-name}/connections/{connection-name}/resources/{resource-name}?projection={projection}",
    "capabilities" : "urn:oracle:restframework:read",
    "rel" : "urn:oracle:wcps:conductor:provider:connectionResource"
  }, {
    "resourceType" : "urn:oracle:wcps:conductor:provider:resourceMethods",
    "template" : "http://localhost:7001/wcps/api/conductor/namespaces/{namespace}/dataProviders/{provider-name}/connections/{connection-name}/resources/{resource-name}/methods?projection={projection}",
    "capabilities" : "urn:oracle:restframework:read",
    "rel" : "urn:oracle:wcps:conductor:provider:resourceMethods"
  }, {
    "resourceType" : "urn:oracle:wcps:conductor:provider:resourceMethod",
    "template" : "http://localhost:7001/wcps/api/conductor/namespaces/{namespace}/dataProviders/{provider-name}/connections/{connection-name}/resources/{resource-name}/methods/{method-name}?projection={projection}",
    "capabilities" : "urn:oracle:restframework:read",
    "rel" : "urn:oracle:wcps:conductor:provider:resourceMethod"
  } ]
}

68.4.2 Using the Function Provider Management APIs

This section provides examples of using the Conductor's function provider APIs, and contains the following subsections:

68.4.2.1 Getting a Collection of Function Providers (GET)

XML

Request:
GET http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders?projection=summary
accept-language: en
content-type: application/xml
accept: application/xml
 
Response:
Status Code:200
X-Powered-By: Servlet/2.5 JSP/2.1
Set-Cookie: JSESSIONID=1NxqM2GHfPhT6VydXnQctrgCJ7FmxMLD3pPrRCgPrCLGRJGk9Rk5!2098846330; path=/wcps; HttpOnly
Transfer-Encoding: chunked
Content-Type: application/xml
Date: Wed, 13 Oct 2010 23:51:35 GMT
 
<?xml version="1.0" encoding="UTF-8"?>
<functionProviders resourceType="urn:oracle:wcps:conductor:provider:functionProviders">
  <links>
    <link capabilities="urn:oracle:restframework:read"
      href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders?projection=summary"
      rel="self"
      resourceType="urn:oracle:wcps:conductor:provider:functionProviders" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders?projection={projection}"/>
  </links>
  <items>
    <functionProvider resourceType="urn:oracle:wcps:conductor:provider:functionProvider">
      <links>
        <link capabilities="urn:oracle:restframework:read"
          href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders"
          rel="urn:oracle:webcenter:parent"
          resourceType="urn:oracle:wcps:conductor:provider:functionProviders" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders?projection={projection}"/>
        <link capabilities="urn:oracle:restframework:read"
          href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/agfunction:filterRecsByScore"
          rel="self"
          resourceType="urn:oracle:wcps:conductor:provider:functionProvider" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/agfunction:filterRecsByScore?projection={projection}"/>
      </links>
      <category>agfunction</category>
      <example>${agfunction:filterRecsByScore(recommendations,cutoffScore)}</example>
      <localizedDescription>Filter out Recommendations whose score is &gt;= the input score</localizedDescription>
      <name>filterRecsByScore</name>
      <parameters/>
      <returnType>oracle.wcps.activity.agrest.spy.jaxb.Recommendations</returnType>
    </functionProvider>
    <functionProvider resourceType="urn:oracle:wcps:conductor:provider:functionProvider">
      <links>
        <link capabilities="urn:oracle:restframework:read"
          href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders"
          rel="urn:oracle:webcenter:parent"
          resourceType="urn:oracle:wcps:conductor:provider:functionProviders" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders?projection={projection}"/>
        <link capabilities="urn:oracle:restframework:read"
          href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/agfunction:getCMISLinksFromCommonItems"
          rel="self"
          resourceType="urn:oracle:wcps:conductor:provider:functionProvider" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/agfunction:getCMISLinksFromCommonItems?projection={projection}"/>
      </links>
      <category>agfunction</category>
      <example>${agfunction:getCMISLinksFromCommonItems(results)}</example>
      <localizedDescription>Return a List of URLs representing the common items as CMIS objects</localizedDescription>
      <name>getCMISLinksFromCommonItems</name>
      <parameters/>
      <returnType>java.util.List</returnType>
    </functionProvider>
    <functionProvider resourceType="urn:oracle:wcps:conductor:provider:functionProvider">
      <links>
        <link capabilities="urn:oracle:restframework:read"
          href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders"
          rel="urn:oracle:webcenter:parent"
          resourceType="urn:oracle:wcps:conductor:provider:functionProviders" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders?projection={projection}"/>
        <link capabilities="urn:oracle:restframework:read"
          href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/agfunction:getCMISLinksFromRecommendations"
          rel="self"
          resourceType="urn:oracle:wcps:conductor:provider:functionProvider" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/agfunction:getCMISLinksFromRecommendations?projection={projection}"/>
      </links>
      <category>agfunction</category>
      <example>${agfunction:getCMISLinksFromRecommendations(recommendations)}</example>
      <localizedDescription>Return a List of URLs representing the CMIS objects</localizedDescription>
      <name>getCMISLinksFromRecommendations</name>
      <parameters/>
      <returnType>java.util.List</returnType>
    </functionProvider>
    <functionProvider resourceType="urn:oracle:wcps:conductor:provider:functionProvider">
      <links>
        <link capabilities="urn:oracle:restframework:read"
          href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders"
          rel="urn:oracle:webcenter:parent"
          resourceType="urn:oracle:wcps:conductor:provider:functionProviders" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders?projection={projection}"/>
        <link capabilities="urn:oracle:restframework:read"
          href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/agfunction:getContentIDs"
          rel="self"
          resourceType="urn:oracle:wcps:conductor:provider:functionProvider" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/agfunction:getContentIDs?projection={projection}"/>
      </links>
      <category>agfunction</category>
      <example>${agfunction:getContentIDs(agResults)}</example>
      <localizedDescription>Extract content IDs from input objects.  Includes content of all types (WC.document, WC.wiki)</localizedDescription>
      <name>getContentIDs</name>
      <parameters/>
      <returnType>java.util.List</returnType>
    </functionProvider>
    <functionProvider resourceType="urn:oracle:wcps:conductor:provider:functionProvider">
      <links>
        <link capabilities="urn:oracle:restframework:read"
          href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders"
          rel="urn:oracle:webcenter:parent"
          resourceType="urn:oracle:wcps:conductor:provider:functionProviders" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders?projection={projection}"/>
        <link capabilities="urn:oracle:restframework:read"
          href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/agfunction:getContentIDsFiltered"
          rel="self"
          resourceType="urn:oracle:wcps:conductor:provider:functionProvider" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/agfunction:getContentIDsFiltered?projection={projection}"/>
      </links>
      <category>agfunction</category>
      <example>${agfunction:getContentIDsFiltered(agResults,excludeClassURN)}</example>
      <localizedDescription>Extract content IDs from input objects</localizedDescription>
      <name>getContentIDsFiltered</name>
      <parameters/>
      <returnType>java.util.List</returnType>
    </functionProvider>
    <functionProvider resourceType="urn:oracle:wcps:conductor:provider:functionProvider">
      <links>
        <link capabilities="urn:oracle:restframework:read"
          href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders"
          rel="urn:oracle:webcenter:parent"
          resourceType="urn:oracle:wcps:conductor:provider:functionProviders" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders?projection={projection}"/>
        <link capabilities="urn:oracle:restframework:read"
          href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/cmisfunction:atomAsCMISObjects"
          rel="self"
          resourceType="urn:oracle:wcps:conductor:provider:functionProvider" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/cmisfunction:atomAsCMISObjects?projection={projection}"/>
      </links>
      <category>cmisfunction</category>
      <example>${cmisfunction:atomAsCMISObjects(atomFeed)}</example>
      <localizedDescription>ATOM feed as List&lt;CMISObject&gt;</localizedDescription>
      <name>atomAsCMISObjects</name>
      <parameters/>
      <returnType>java.util.List</returnType>
    </functionProvider>
    <functionProvider resourceType="urn:oracle:wcps:conductor:provider:functionProvider">
      <links>
        <link capabilities="urn:oracle:restframework:read"
          href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders"
          rel="urn:oracle:webcenter:parent"
          resourceType="urn:oracle:wcps:conductor:provider:functionProviders" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders?projection={projection}"/>
        <link capabilities="urn:oracle:restframework:read"
          href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/cmisfunction:atomAsEntries"
          rel="self"
          resourceType="urn:oracle:wcps:conductor:provider:functionProvider" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/cmisfunction:atomAsEntries?projection={projection}"/>
      </links>
      <category>cmisfunction</category>
      <example>${cmisfunction:atomAsEntries(atomFeed)}</example>
      <localizedDescription>ATOM feed as  List&lt;org.apache.abdera.model.Entry&gt;</localizedDescription>
      <name>atomAsEntries</name>
      <parameters/>
      <returnType>java.util.List</returnType>
    </functionProvider>
    <functionProvider resourceType="urn:oracle:wcps:conductor:provider:functionProvider">
      <links>
        <link capabilities="urn:oracle:restframework:read"
          href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders"
          rel="urn:oracle:webcenter:parent"
          resourceType="urn:oracle:wcps:conductor:provider:functionProviders" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders?projection={projection}"/>
        <link capabilities="urn:oracle:restframework:read"
          href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/cmisfunction:atomAsFeed"
          rel="self"
          resourceType="urn:oracle:wcps:conductor:provider:functionProvider" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/cmisfunction:atomAsFeed?projection={projection}"/>
      </links>
      <category>cmisfunction</category>
      <example>${cmisfunction:atomAsFeed(atomFeed)}</example>
      <localizedDescription>ATOM feed as  org.apache.abdera.model.Feed</localizedDescription>
      <name>atomAsFeed</name>
      <parameters/>
      <returnType>org.apache.abdera.model.Feed</returnType>
    </functionProvider>
    <functionProvider resourceType="urn:oracle:wcps:conductor:provider:functionProvider">
      <links>
        <link capabilities="urn:oracle:restframework:read"
          href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders"
          rel="urn:oracle:webcenter:parent"
          resourceType="urn:oracle:wcps:conductor:provider:functionProviders" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders?projection={projection}"/>
        <link capabilities="urn:oracle:restframework:read"
          href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/cmisfunction:atomAsStreamUrls"
          rel="self"
          resourceType="urn:oracle:wcps:conductor:provider:functionProvider" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/cmisfunction:atomAsStreamUrls?projection={projection}"/>
      </links>
      <category>cmisfunction</category>
      <example>${cmisfunction:atomAsStreamUrls(atomFeed)}</example>
      <localizedDescription>ATOM feed as List&lt;String&gt; of URLs</localizedDescription>
      <name>atomAsStreamUrls</name>
      <parameters/>
      <returnType>java.util.List</returnType>
    </functionProvider>
    <functionProvider resourceType="urn:oracle:wcps:conductor:provider:functionProvider">
      <links>
        <link capabilities="urn:oracle:restframework:read"
          href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders"
          rel="urn:oracle:webcenter:parent"
          resourceType="urn:oracle:wcps:conductor:provider:functionProviders" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders?projection={projection}"/>
        <link capabilities="urn:oracle:restframework:read"
          href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/cmisfunction:getCMISQueryForDocIDs"
          rel="self"
          resourceType="urn:oracle:wcps:conductor:provider:functionProvider" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/cmisfunction:getCMISQueryForDocIDs?projection={projection}"/>
      </links>
      <category>cmisfunction</category>
      <example>${cmisfunction:getCMISQueryForDocIDs(repository,ids)}</example>
      <localizedDescription>Construct a CMIS query in the form of 'IN' query syntax that will retrieve the documents for the array of input doc IDs.</localizedDescription>
      <name>getCMISQueryForDocIDs</name>
      <parameters/>
      <returnType>java.lang.String</returnType>
    </functionProvider>
    <functionProvider resourceType="urn:oracle:wcps:conductor:provider:functionProvider">
      <links>
        <link capabilities="urn:oracle:restframework:read"
          href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders"
          rel="urn:oracle:webcenter:parent"
          resourceType="urn:oracle:wcps:conductor:provider:functionProviders" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders?projection={projection}"/>
        <link capabilities="urn:oracle:restframework:read"
          href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/cmisfunction:getCMISQueryForDocIDsFromFullID"
          rel="self"
          resourceType="urn:oracle:wcps:conductor:provider:functionProvider" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/cmisfunction:getCMISQueryForDocIDsFromFullID?projection={projection}"/>
      </links>
      <category>cmisfunction</category>
      <example>${cmisfunction:getCMISQueryForDocIDsFromFullID(ids)}</example>
      <localizedDescription>Construct a CMIS query in the form of 'IN' query syntax that will retrieve the documents for the array of input doc IDs.</localizedDescription>
      <name>getCMISQueryForDocIDsFromFullID</name>
      <parameters/>
      <returnType>java.lang.String</returnType>
    </functionProvider>
    <functionProvider resourceType="urn:oracle:wcps:conductor:provider:functionProvider">
      <links>
        <link capabilities="urn:oracle:restframework:read"
          href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders"
          rel="urn:oracle:webcenter:parent"
          resourceType="urn:oracle:wcps:conductor:provider:functionProviders" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders?projection={projection}"/>
        <link capabilities="urn:oracle:restframework:read"
          href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/collections:append"
          rel="self"
          resourceType="urn:oracle:wcps:conductor:provider:functionProvider" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/collections:append?projection={projection}"/>
      </links>
      <category>collections</category>
      <example>${collections:append(collection,item)}</example>
      <localizedDescription>Appends </localizedDescription>
      <name>append</name>
      <parameters/>
      <returnType>java.util.Collection</returnType>
    </functionProvider>
    <functionProvider resourceType="urn:oracle:wcps:conductor:provider:functionProvider">
      <links>
        <link capabilities="urn:oracle:restframework:read"
          href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders"
          rel="urn:oracle:webcenter:parent"
          resourceType="urn:oracle:wcps:conductor:provider:functionProviders" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders?projection={projection}"/>
        <link capabilities="urn:oracle:restframework:read"
          href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/collections:new"
          rel="self"
          resourceType="urn:oracle:wcps:conductor:provider:functionProvider" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/collections:new?projection={projection}"/>
      </links>
      <category>collections</category>
      <example>${collections:new()}</example>
      <localizedDescription>Creates and returns a new collection.</localizedDescription>
      <name>new</name>
      <parameters/>
      <returnType>java.util.Collection</returnType>
    </functionProvider>
    <functionProvider resourceType="urn:oracle:wcps:conductor:provider:functionProvider">
      <links>
        <link capabilities="urn:oracle:restframework:read"
          href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders"
          rel="urn:oracle:webcenter:parent"
          resourceType="urn:oracle:wcps:conductor:provider:functionProviders" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders?projection={projection}"/>
        <link capabilities="urn:oracle:restframework:read"
          href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/collections:sort"
          rel="self"
          resourceType="urn:oracle:wcps:conductor:provider:functionProvider" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/collections:sort?projection={projection}"/>
      </links>
      <category>collections</category>
      <example>${collections:sort(list)}</example>
      <localizedDescription>Sorts the provided collection.</localizedDescription>
      <name>sort</name>
      <parameters/>
      <returnType>void</returnType>
    </functionProvider>
    <functionProvider resourceType="urn:oracle:wcps:conductor:provider:functionProvider">
      <links>
        <link capabilities="urn:oracle:restframework:read"
          href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders"
          rel="urn:oracle:webcenter:parent"
          resourceType="urn:oracle:wcps:conductor:provider:functionProviders" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders?projection={projection}"/>
        <link capabilities="urn:oracle:restframework:read"
          href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/connectionsQA:getSampleConfig"
          rel="self"
          resourceType="urn:oracle:wcps:conductor:provider:functionProvider" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/connectionsQA:getSampleConfig?projection={projection}"/>
      </links>
      <category>connectionsQA</category>
      <example>${connectionsQA:getSampleConfig(scenarioContext,connectionName)}</example>
      <localizedDescription>Retrieves a sample configuration by name.</localizedDescription>
      <name>getSampleConfig</name>
      <parameters/>
      <returnType>oracle.wcps.test.providers.sample.SampleConnectionConfigImpl</returnType>
    </functionProvider>
    <functionProvider resourceType="urn:oracle:wcps:conductor:provider:functionProvider">
      <links>
        <link capabilities="urn:oracle:restframework:read"
          href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders"
          rel="urn:oracle:webcenter:parent"
          resourceType="urn:oracle:wcps:conductor:provider:functionProviders" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders?projection={projection}"/>
        <link capabilities="urn:oracle:restframework:read"
          href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/connectionsQA:getSampleConfigs"
          rel="self"
          resourceType="urn:oracle:wcps:conductor:provider:functionProvider" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/connectionsQA:getSampleConfigs?projection={projection}"/>
      </links>
      <category>connectionsQA</category>
      <example>${connectionsQA:getSampleConfigs(scenarioContext)}</example>
      <localizedDescription>Retrieves all sample connection configurations for the current namespace.</localizedDescription>
      <name>getSampleConfigs</name>
      <parameters/>
      <returnType>java.util.List</returnType>
    </functionProvider>
    <functionProvider resourceType="urn:oracle:wcps:conductor:provider:functionProvider">
      <links>
        <link capabilities="urn:oracle:restframework:read"
          href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders"
          rel="urn:oracle:webcenter:parent"
          resourceType="urn:oracle:wcps:conductor:provider:functionProviders" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders?projection={projection}"/>
        <link capabilities="urn:oracle:restframework:read"
          href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/connectionsQA:removeSampleConfig"
          rel="self"
          resourceType="urn:oracle:wcps:conductor:provider:functionProvider" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/connectionsQA:removeSampleConfig?projection={projection}"/>
      </links>
      <category>connectionsQA</category>
      <example>${connectionsQA:removeSampleConfig(scenarioContext,connectionName)}</example>
      <localizedDescription>Removes a sample configuration with the specified name in the current namespace.</localizedDescription>
      <name>removeSampleConfig</name>
      <parameters/>
      <returnType>void</returnType>
    </functionProvider>
    <functionProvider resourceType="urn:oracle:wcps:conductor:provider:functionProvider">
      <links>
        <link capabilities="urn:oracle:restframework:read"
          href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders"
          rel="urn:oracle:webcenter:parent"
          resourceType="urn:oracle:wcps:conductor:provider:functionProviders" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders?projection={projection}"/>
        <link capabilities="urn:oracle:restframework:read"
          href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/connectionsQA:saveSampleConfig"
          rel="self"
          resourceType="urn:oracle:wcps:conductor:provider:functionProvider" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/connectionsQA:saveSampleConfig?projection={projection}"/>
      </links>
      <category>connectionsQA</category>
      <example>${connectionsQA:saveSampleConfig(scenarioContext,connectionName,samplePropertyValue)}</example>
      <localizedDescription>Creates or saves a sample configuration.</localizedDescription>
      <name>saveSampleConfig</name>
      <parameters/>
      <returnType>oracle.wcps.test.providers.sample.SampleConnectionConfigImpl</returnType>
    </functionProvider>
    <functionProvider resourceType="urn:oracle:wcps:conductor:provider:functionProvider">
      <links>
        <link capabilities="urn:oracle:restframework:read"
          href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders"
          rel="urn:oracle:webcenter:parent"
          resourceType="urn:oracle:wcps:conductor:provider:functionProviders" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders?projection={projection}"/>
        <link capabilities="urn:oracle:restframework:read"
          href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/magiceightball:response"
          rel="self"
          resourceType="urn:oracle:wcps:conductor:provider:functionProvider" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/magiceightball:response?projection={projection}"/>
      </links>
      <category>magiceightball</category>
      <example>${magiceightball:response(scenarioContext,responses)}</example>
      <localizedDescription>Provides clairvoyant responses to all your questions</localizedDescription>
      <name>response</name>
      <parameters/>
      <returnType>java.lang.String</returnType>
    </functionProvider>
    <functionProvider resourceType="urn:oracle:wcps:conductor:provider:functionProvider">
      <links>
        <link capabilities="urn:oracle:restframework:read"
          href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders"
          rel="urn:oracle:webcenter:parent"
          resourceType="urn:oracle:wcps:conductor:provider:functionProviders" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders?projection={projection}"/>
        <link capabilities="urn:oracle:restframework:read"
          href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/security:getUserRoles"
          rel="self"
          resourceType="urn:oracle:wcps:conductor:provider:functionProvider" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/security:getUserRoles?projection={projection}"/>
      </links>
      <category>security</category>
      <example>${security:getUserRoles()}</example>
      <localizedDescription>Returns an array of roles/groups that is part of the current subject.</localizedDescription>
      <name>getUserRoles</name>
      <parameters/>
      <returnType>java.util.List</returnType>
    </functionProvider>
    <functionProvider resourceType="urn:oracle:wcps:conductor:provider:functionProvider">
      <links>
        <link capabilities="urn:oracle:restframework:read"
          href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders"
          rel="urn:oracle:webcenter:parent"
          resourceType="urn:oracle:wcps:conductor:provider:functionProviders" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders?projection={projection}"/>
        <link capabilities="urn:oracle:restframework:read"
          href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/security:isUserInRole"
          rel="self"
          resourceType="urn:oracle:wcps:conductor:provider:functionProvider" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/security:isUserInRole?projection={projection}"/>
      </links>
      <category>security</category>
      <example>${security:isUserInRole(role)}</example>
      <localizedDescription>Determines if the current user is a member in the specified role or group name (role).</localizedDescription>
      <name>isUserInRole</name>
      <parameters/>
      <returnType>boolean</returnType>
    </functionProvider>
    <functionProvider resourceType="urn:oracle:wcps:conductor:provider:functionProvider">
      <links>
        <link capabilities="urn:oracle:restframework:read"
          href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders"
          rel="urn:oracle:webcenter:parent"
          resourceType="urn:oracle:wcps:conductor:provider:functionProviders" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders?projection={projection}"/>
        <link capabilities="urn:oracle:restframework:read"
          href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/test:complexType"
          rel="self"
          resourceType="urn:oracle:wcps:conductor:provider:functionProvider" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/test:complexType?projection={projection}"/>
      </links>
      <category>test</category>
      <example>${test:complexType(arg0,arg1)}</example>
      <localizedDescription>Demonstrates how to return a complex type.</localizedDescription>
      <name>complexType</name>
      <parameters/>
      <returnType>oracle.wcps.test.providers.functions.ComplexType</returnType>
    </functionProvider>
    <functionProvider resourceType="urn:oracle:wcps:conductor:provider:functionProvider">
      <links>
        <link capabilities="urn:oracle:restframework:read"
          href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders"
          rel="urn:oracle:webcenter:parent"
          resourceType="urn:oracle:wcps:conductor:provider:functionProviders" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders?projection={projection}"/>
        <link capabilities="urn:oracle:restframework:read"
          href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/test:complexTypeList"
          rel="self"
          resourceType="urn:oracle:wcps:conductor:provider:functionProvider" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/test:complexTypeList?projection={projection}"/>
      </links>
      <category>test</category>
      <example>${test:complexTypeList(arg0)}</example>
      <localizedDescription>Demonstrates how to return a list of complex types.</localizedDescription>
      <name>complexTypeList</name>
      <parameters/>
      <returnType>java.util.List</returnType>
    </functionProvider>
    <functionProvider resourceType="urn:oracle:wcps:conductor:provider:functionProvider">
      <links>
        <link capabilities="urn:oracle:restframework:read"
          href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders"
          rel="urn:oracle:webcenter:parent"
          resourceType="urn:oracle:wcps:conductor:provider:functionProviders" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders?projection={projection}"/>
        <link capabilities="urn:oracle:restframework:read"
          href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/test:complexTypeMap"
          rel="self"
          resourceType="urn:oracle:wcps:conductor:provider:functionProvider" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/test:complexTypeMap?projection={projection}"/>
      </links>
      <category>test</category>
      <example>${test:complexTypeMap(arg0)}</example>
      <localizedDescription>Demonstrates how to return a map of complex types.</localizedDescription>
      <name>complexTypeMap</name>
      <parameters/>
      <returnType>java.util.Map</returnType>
    </functionProvider>
    <functionProvider resourceType="urn:oracle:wcps:conductor:provider:functionProvider">
      <links>
        <link capabilities="urn:oracle:restframework:read"
          href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders"
          rel="urn:oracle:webcenter:parent"
          resourceType="urn:oracle:wcps:conductor:provider:functionProviders" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders?projection={projection}"/>
        <link capabilities="urn:oracle:restframework:read"
          href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/test:concat"
          rel="self"
          resourceType="urn:oracle:wcps:conductor:provider:functionProvider" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/test:concat?projection={projection}"/>
      </links>
      <category>test</category>
      <example>${test:concat(arg0,arg1)}</example>
      <localizedDescription>Demonstrates how to return a complex type.</localizedDescription>
      <name>concat</name>
      <parameters/>
      <returnType>java.lang.String</returnType>
    </functionProvider>
    <functionProvider resourceType="urn:oracle:wcps:conductor:provider:functionProvider">
      <links>
        <link capabilities="urn:oracle:restframework:read"
          href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders"
          rel="urn:oracle:webcenter:parent"
          resourceType="urn:oracle:wcps:conductor:provider:functionProviders" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders?projection={projection}"/>
        <link capabilities="urn:oracle:restframework:read"
          href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/test:sleep"
          rel="self"
          resourceType="urn:oracle:wcps:conductor:provider:functionProvider" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/test:sleep?projection={projection}"/>
      </links>
      <category>test</category>
      <example>${test:sleep(arg0)}</example>
      <localizedDescription>Pauses the current thread for the specified number of milliseconds.</localizedDescription>
      <name>sleep</name>
      <parameters/>
      <returnType>void</returnType>
    </functionProvider>
  </items>
</functionProviders>

JSON

Request:
GET http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders?projection=summary
accept-language: en
content-type: application/json
accept: application/json
 
Response:
Status Code:200
X-Powered-By: Servlet/2.5 JSP/2.1
Set-Cookie: JSESSIONID=Q9VFM2GLn2ny2CxbKvxKXYbYTMT4zvJ3QMgP2DzxH0GSkfct76cC!2098846330; path=/wcps; HttpOnly
Transfer-Encoding: chunked
Content-Type: application/json
Date: Wed, 13 Oct 2010 23:51:36 GMT
 
{
  "functionProviders" : [ {
    "parameters" : [ ],
    "name" : "filterRecsByScore",
    "returnType" : "oracle.wcps.activity.agrest.spy.jaxb.Recommendations",
    "category" : "agfunction",
    "example" : "${agfunction:filterRecsByScore(recommendations,cutoffScore)}",
    "localizedDescription" : "Filter out Recommendations whose score is >= the input score",
    "resourceType" : "urn:oracle:wcps:conductor:provider:functionProvider",
    "links" : [ {
      "resourceType" : "urn:oracle:wcps:conductor:provider:functionProviders",
      "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders?projection={projection}",
      "capabilities" : "urn:oracle:restframework:read",
      "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders",
      "rel" : "urn:oracle:webcenter:parent"
    }, {
      "resourceType" : "urn:oracle:wcps:conductor:provider:functionProvider",
      "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/agfunction:filterRecsByScore?projection={projection}",
      "capabilities" : "urn:oracle:restframework:read",
      "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/agfunction:filterRecsByScore",
      "rel" : "self"
    } ]
  }, {
    "parameters" : [ ],
    "name" : "getCMISLinksFromCommonItems",
    "returnType" : "java.util.List",
    "category" : "agfunction",
    "example" : "${agfunction:getCMISLinksFromCommonItems(results)}",
    "localizedDescription" : "Return a List of URLs representing the common items as CMIS objects",
    "resourceType" : "urn:oracle:wcps:conductor:provider:functionProvider",
    "links" : [ {
      "resourceType" : "urn:oracle:wcps:conductor:provider:functionProviders",
      "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders?projection={projection}",
      "capabilities" : "urn:oracle:restframework:read",
      "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders",
      "rel" : "urn:oracle:webcenter:parent"
    }, {
      "resourceType" : "urn:oracle:wcps:conductor:provider:functionProvider",
      "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/agfunction:getCMISLinksFromCommonItems?projection={projection}",
      "capabilities" : "urn:oracle:restframework:read",
      "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/agfunction:getCMISLinksFromCommonItems",
      "rel" : "self"
    } ]
  }, {
    "parameters" : [ ],
    "name" : "getCMISLinksFromRecommendations",
    "returnType" : "java.util.List",
    "category" : "agfunction",
    "example" : "${agfunction:getCMISLinksFromRecommendations(recommendations)}",
    "localizedDescription" : "Return a List of URLs representing the CMIS objects",
    "resourceType" : "urn:oracle:wcps:conductor:provider:functionProvider",
    "links" : [ {
      "resourceType" : "urn:oracle:wcps:conductor:provider:functionProviders",
      "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders?projection={projection}",
      "capabilities" : "urn:oracle:restframework:read",
      "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders",
      "rel" : "urn:oracle:webcenter:parent"
    }, {
      "resourceType" : "urn:oracle:wcps:conductor:provider:functionProvider",
      "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/agfunction:getCMISLinksFromRecommendations?projection={projection}",
      "capabilities" : "urn:oracle:restframework:read",
      "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/agfunction:getCMISLinksFromRecommendations",
      "rel" : "self"
    } ]
  }, {
    "parameters" : [ ],
    "name" : "getContentIDs",
    "returnType" : "java.util.List",
    "category" : "agfunction",
    "example" : "${agfunction:getContentIDs(agResults)}",
    "localizedDescription" : "Extract content IDs from input objects.  Includes content of all types (WC.document, WC.wiki)",
    "resourceType" : "urn:oracle:wcps:conductor:provider:functionProvider",
    "links" : [ {
      "resourceType" : "urn:oracle:wcps:conductor:provider:functionProviders",
      "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders?projection={projection}",
      "capabilities" : "urn:oracle:restframework:read",
      "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders",
      "rel" : "urn:oracle:webcenter:parent"
    }, {
      "resourceType" : "urn:oracle:wcps:conductor:provider:functionProvider",
      "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/agfunction:getContentIDs?projection={projection}",
      "capabilities" : "urn:oracle:restframework:read",
      "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/agfunction:getContentIDs",
      "rel" : "self"
    } ]
  }, {
    "parameters" : [ ],
    "name" : "getContentIDsFiltered",
    "returnType" : "java.util.List",
    "category" : "agfunction",
    "example" : "${agfunction:getContentIDsFiltered(agResults,excludeClassURN)}",
    "localizedDescription" : "Extract content IDs from input objects",
    "resourceType" : "urn:oracle:wcps:conductor:provider:functionProvider",
    "links" : [ {
      "resourceType" : "urn:oracle:wcps:conductor:provider:functionProviders",
      "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders?projection={projection}",
      "capabilities" : "urn:oracle:restframework:read",
      "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders",
      "rel" : "urn:oracle:webcenter:parent"
    }, {
      "resourceType" : "urn:oracle:wcps:conductor:provider:functionProvider",
      "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/agfunction:getContentIDsFiltered?projection={projection}",
      "capabilities" : "urn:oracle:restframework:read",
      "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/agfunction:getContentIDsFiltered",
      "rel" : "self"
    } ]
  }, {
    "parameters" : [ ],
    "name" : "atomAsCMISObjects",
    "returnType" : "java.util.List",
    "category" : "cmisfunction",
    "example" : "${cmisfunction:atomAsCMISObjects(atomFeed)}",
    "localizedDescription" : "ATOM feed as List<CMISObject>",
    "resourceType" : "urn:oracle:wcps:conductor:provider:functionProvider",
    "links" : [ {
      "resourceType" : "urn:oracle:wcps:conductor:provider:functionProviders",
      "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders?projection={projection}",
      "capabilities" : "urn:oracle:restframework:read",
      "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders",
      "rel" : "urn:oracle:webcenter:parent"
    }, {
      "resourceType" : "urn:oracle:wcps:conductor:provider:functionProvider",
      "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/cmisfunction:atomAsCMISObjects?projection={projection}",
      "capabilities" : "urn:oracle:restframework:read",
      "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/cmisfunction:atomAsCMISObjects",
      "rel" : "self"
    } ]
  }, {
    "parameters" : [ ],
    "name" : "atomAsEntries",
    "returnType" : "java.util.List",
    "category" : "cmisfunction",
    "example" : "${cmisfunction:atomAsEntries(atomFeed)}",
    "localizedDescription" : "ATOM feed as  List<org.apache.abdera.model.Entry>",
    "resourceType" : "urn:oracle:wcps:conductor:provider:functionProvider",
    "links" : [ {
      "resourceType" : "urn:oracle:wcps:conductor:provider:functionProviders",
      "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders?projection={projection}",
      "capabilities" : "urn:oracle:restframework:read",
      "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders",
      "rel" : "urn:oracle:webcenter:parent"
    }, {
      "resourceType" : "urn:oracle:wcps:conductor:provider:functionProvider",
      "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/cmisfunction:atomAsEntries?projection={projection}",
      "capabilities" : "urn:oracle:restframework:read",
      "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/cmisfunction:atomAsEntries",
      "rel" : "self"
    } ]
  }, {
    "parameters" : [ ],
    "name" : "atomAsFeed",
    "returnType" : "org.apache.abdera.model.Feed",
    "category" : "cmisfunction",
    "example" : "${cmisfunction:atomAsFeed(atomFeed)}",
    "localizedDescription" : "ATOM feed as  org.apache.abdera.model.Feed",
    "resourceType" : "urn:oracle:wcps:conductor:provider:functionProvider",
    "links" : [ {
      "resourceType" : "urn:oracle:wcps:conductor:provider:functionProviders",
      "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders?projection={projection}",
      "capabilities" : "urn:oracle:restframework:read",
      "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders",
      "rel" : "urn:oracle:webcenter:parent"
    }, {
      "resourceType" : "urn:oracle:wcps:conductor:provider:functionProvider",
      "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/cmisfunction:atomAsFeed?projection={projection}",
      "capabilities" : "urn:oracle:restframework:read",
      "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/cmisfunction:atomAsFeed",
      "rel" : "self"
    } ]
  }, {
    "parameters" : [ ],
    "name" : "atomAsStreamUrls",
    "returnType" : "java.util.List",
    "category" : "cmisfunction",
    "example" : "${cmisfunction:atomAsStreamUrls(atomFeed)}",
    "localizedDescription" : "ATOM feed as List<String> of URLs",
    "resourceType" : "urn:oracle:wcps:conductor:provider:functionProvider",
    "links" : [ {
      "resourceType" : "urn:oracle:wcps:conductor:provider:functionProviders",
      "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders?projection={projection}",
      "capabilities" : "urn:oracle:restframework:read",
      "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders",
      "rel" : "urn:oracle:webcenter:parent"
    }, {
      "resourceType" : "urn:oracle:wcps:conductor:provider:functionProvider",
      "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/cmisfunction:atomAsStreamUrls?projection={projection}",
      "capabilities" : "urn:oracle:restframework:read",
      "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/cmisfunction:atomAsStreamUrls",
      "rel" : "self"
    } ]
  }, {
    "parameters" : [ ],
    "name" : "getCMISQueryForDocIDs",
    "returnType" : "java.lang.String",
    "category" : "cmisfunction",
    "example" : "${cmisfunction:getCMISQueryForDocIDs(repository,ids)}",
    "localizedDescription" : "Construct a CMIS query in the form of 'IN' query syntax that will retrieve the documents for the array of input doc IDs.",
    "resourceType" : "urn:oracle:wcps:conductor:provider:functionProvider",
    "links" : [ {
      "resourceType" : "urn:oracle:wcps:conductor:provider:functionProviders",
      "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders?projection={projection}",
      "capabilities" : "urn:oracle:restframework:read",
      "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders",
      "rel" : "urn:oracle:webcenter:parent"
    }, {
      "resourceType" : "urn:oracle:wcps:conductor:provider:functionProvider",
      "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/cmisfunction:getCMISQueryForDocIDs?projection={projection}",
      "capabilities" : "urn:oracle:restframework:read",
      "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/cmisfunction:getCMISQueryForDocIDs",
      "rel" : "self"
    } ]
  }, {
    "parameters" : [ ],
    "name" : "getCMISQueryForDocIDsFromFullID",
    "returnType" : "java.lang.String",
    "category" : "cmisfunction",
    "example" : "${cmisfunction:getCMISQueryForDocIDsFromFullID(ids)}",
    "localizedDescription" : "Construct a CMIS query in the form of 'IN' query syntax that will retrieve the documents for the array of input doc IDs.",
    "resourceType" : "urn:oracle:wcps:conductor:provider:functionProvider",
    "links" : [ {
      "resourceType" : "urn:oracle:wcps:conductor:provider:functionProviders",
      "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders?projection={projection}",
      "capabilities" : "urn:oracle:restframework:read",
      "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders",
      "rel" : "urn:oracle:webcenter:parent"
    }, {
      "resourceType" : "urn:oracle:wcps:conductor:provider:functionProvider",
      "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/cmisfunction:getCMISQueryForDocIDsFromFullID?projection={projection}",
      "capabilities" : "urn:oracle:restframework:read",
      "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/cmisfunction:getCMISQueryForDocIDsFromFullID",
      "rel" : "self"
    } ]
  }, {
    "parameters" : [ ],
    "name" : "append",
    "returnType" : "java.util.Collection",
    "category" : "collections",
    "example" : "${collections:append(collection,item)}",
    "localizedDescription" : "Appends ",
    "resourceType" : "urn:oracle:wcps:conductor:provider:functionProvider",
    "links" : [ {
      "resourceType" : "urn:oracle:wcps:conductor:provider:functionProviders",
      "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders?projection={projection}",
      "capabilities" : "urn:oracle:restframework:read",
      "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders",
      "rel" : "urn:oracle:webcenter:parent"
    }, {
      "resourceType" : "urn:oracle:wcps:conductor:provider:functionProvider",
      "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/collections:append?projection={projection}",
      "capabilities" : "urn:oracle:restframework:read",
      "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/collections:append",
      "rel" : "self"
    } ]
  }, {
    "parameters" : [ ],
    "name" : "new",
    "returnType" : "java.util.Collection",
    "category" : "collections",
    "example" : "${collections:new()}",
    "localizedDescription" : "Creates and returns a new collection.",
    "resourceType" : "urn:oracle:wcps:conductor:provider:functionProvider",
    "links" : [ {
      "resourceType" : "urn:oracle:wcps:conductor:provider:functionProviders",
      "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders?projection={projection}",
      "capabilities" : "urn:oracle:restframework:read",
      "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders",
      "rel" : "urn:oracle:webcenter:parent"
    }, {
      "resourceType" : "urn:oracle:wcps:conductor:provider:functionProvider",
      "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/collections:new?projection={projection}",
      "capabilities" : "urn:oracle:restframework:read",
      "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/collections:new",
      "rel" : "self"
    } ]
  }, {
    "parameters" : [ ],
    "name" : "sort",
    "returnType" : "void",
    "category" : "collections",
    "example" : "${collections:sort(list)}",
    "localizedDescription" : "Sorts the provided collection.",
    "resourceType" : "urn:oracle:wcps:conductor:provider:functionProvider",
    "links" : [ {
      "resourceType" : "urn:oracle:wcps:conductor:provider:functionProviders",
      "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders?projection={projection}",
      "capabilities" : "urn:oracle:restframework:read",
      "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders",
      "rel" : "urn:oracle:webcenter:parent"
    }, {
      "resourceType" : "urn:oracle:wcps:conductor:provider:functionProvider",
      "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/collections:sort?projection={projection}",
      "capabilities" : "urn:oracle:restframework:read",
      "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/collections:sort",
      "rel" : "self"
    } ]
  }, {
    "parameters" : [ ],
    "name" : "getSampleConfig",
    "returnType" : "oracle.wcps.test.providers.sample.SampleConnectionConfigImpl",
    "category" : "connectionsQA",
    "example" : "${connectionsQA:getSampleConfig(scenarioContext,connectionName)}",
    "localizedDescription" : "Retrieves a sample configuration by name.",
    "resourceType" : "urn:oracle:wcps:conductor:provider:functionProvider",
    "links" : [ {
      "resourceType" : "urn:oracle:wcps:conductor:provider:functionProviders",
      "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders?projection={projection}",
      "capabilities" : "urn:oracle:restframework:read",
      "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders",
      "rel" : "urn:oracle:webcenter:parent"
    }, {
      "resourceType" : "urn:oracle:wcps:conductor:provider:functionProvider",
      "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/connectionsQA:getSampleConfig?projection={projection}",
      "capabilities" : "urn:oracle:restframework:read",
      "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/connectionsQA:getSampleConfig",
      "rel" : "self"
    } ]
  }, {
    "parameters" : [ ],
    "name" : "getSampleConfigs",
    "returnType" : "java.util.List",
    "category" : "connectionsQA",
    "example" : "${connectionsQA:getSampleConfigs(scenarioContext)}",
    "localizedDescription" : "Retrieves all sample connection configurations for the current namespace.",
    "resourceType" : "urn:oracle:wcps:conductor:provider:functionProvider",
    "links" : [ {
      "resourceType" : "urn:oracle:wcps:conductor:provider:functionProviders",
      "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders?projection={projection}",
      "capabilities" : "urn:oracle:restframework:read",
      "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders",
      "rel" : "urn:oracle:webcenter:parent"
    }, {
      "resourceType" : "urn:oracle:wcps:conductor:provider:functionProvider",
      "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/connectionsQA:getSampleConfigs?projection={projection}",
      "capabilities" : "urn:oracle:restframework:read",
      "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/connectionsQA:getSampleConfigs",
      "rel" : "self"
    } ]
  }, {
    "parameters" : [ ],
    "name" : "removeSampleConfig",
    "returnType" : "void",
    "category" : "connectionsQA",
    "example" : "${connectionsQA:removeSampleConfig(scenarioContext,connectionName)}",
    "localizedDescription" : "Removes a sample configuration with the specified name in the current namespace.",
    "resourceType" : "urn:oracle:wcps:conductor:provider:functionProvider",
    "links" : [ {
      "resourceType" : "urn:oracle:wcps:conductor:provider:functionProviders",
      "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders?projection={projection}",
      "capabilities" : "urn:oracle:restframework:read",
      "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders",
      "rel" : "urn:oracle:webcenter:parent"
    }, {
      "resourceType" : "urn:oracle:wcps:conductor:provider:functionProvider",
      "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/connectionsQA:removeSampleConfig?projection={projection}",
      "capabilities" : "urn:oracle:restframework:read",
      "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/connectionsQA:removeSampleConfig",
      "rel" : "self"
    } ]
  }, {
    "parameters" : [ ],
    "name" : "saveSampleConfig",
    "returnType" : "oracle.wcps.test.providers.sample.SampleConnectionConfigImpl",
    "category" : "connectionsQA",
    "example" : "${connectionsQA:saveSampleConfig(scenarioContext,connectionName,samplePropertyValue)}",
    "localizedDescription" : "Creates or saves a sample configuration.",
    "resourceType" : "urn:oracle:wcps:conductor:provider:functionProvider",
    "links" : [ {
      "resourceType" : "urn:oracle:wcps:conductor:provider:functionProviders",
      "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders?projection={projection}",
      "capabilities" : "urn:oracle:restframework:read",
      "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders",
      "rel" : "urn:oracle:webcenter:parent"
    }, {
      "resourceType" : "urn:oracle:wcps:conductor:provider:functionProvider",
      "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/connectionsQA:saveSampleConfig?projection={projection}",
      "capabilities" : "urn:oracle:restframework:read",
      "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/connectionsQA:saveSampleConfig",
      "rel" : "self"
    } ]
  }, {
    "parameters" : [ ],
    "name" : "response",
    "returnType" : "java.lang.String",
    "category" : "magiceightball",
    "example" : "${magiceightball:response(scenarioContext,responses)}",
    "localizedDescription" : "Provides clairvoyant responses to all your questions",
    "resourceType" : "urn:oracle:wcps:conductor:provider:functionProvider",
    "links" : [ {
      "resourceType" : "urn:oracle:wcps:conductor:provider:functionProviders",
      "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders?projection={projection}",
      "capabilities" : "urn:oracle:restframework:read",
      "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders",
      "rel" : "urn:oracle:webcenter:parent"
    }, {
      "resourceType" : "urn:oracle:wcps:conductor:provider:functionProvider",
      "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/magiceightball:response?projection={projection}",
      "capabilities" : "urn:oracle:restframework:read",
      "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/magiceightball:response",
      "rel" : "self"
    } ]
  }, {
    "parameters" : [ ],
    "name" : "getUserRoles",
    "returnType" : "java.util.List",
    "category" : "security",
    "example" : "${security:getUserRoles()}",
    "localizedDescription" : "Returns an array of roles/groups that is part of the current subject.",
    "resourceType" : "urn:oracle:wcps:conductor:provider:functionProvider",
    "links" : [ {
      "resourceType" : "urn:oracle:wcps:conductor:provider:functionProviders",
      "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders?projection={projection}",
      "capabilities" : "urn:oracle:restframework:read",
      "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders",
      "rel" : "urn:oracle:webcenter:parent"
    }, {
      "resourceType" : "urn:oracle:wcps:conductor:provider:functionProvider",
      "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/security:getUserRoles?projection={projection}",
      "capabilities" : "urn:oracle:restframework:read",
      "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/security:getUserRoles",
      "rel" : "self"
    } ]
  }, {
    "parameters" : [ ],
    "name" : "isUserInRole",
    "returnType" : "boolean",
    "category" : "security",
    "example" : "${security:isUserInRole(role)}",
    "localizedDescription" : "Determines if the current user is a member in the specified role or group name (role).",
    "resourceType" : "urn:oracle:wcps:conductor:provider:functionProvider",
    "links" : [ {
      "resourceType" : "urn:oracle:wcps:conductor:provider:functionProviders",
      "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders?projection={projection}",
      "capabilities" : "urn:oracle:restframework:read",
      "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders",
      "rel" : "urn:oracle:webcenter:parent"
    }, {
      "resourceType" : "urn:oracle:wcps:conductor:provider:functionProvider",
      "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/security:isUserInRole?projection={projection}",
      "capabilities" : "urn:oracle:restframework:read",
      "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/security:isUserInRole",
      "rel" : "self"
    } ]
  }, {
    "parameters" : [ ],
    "name" : "complexType",
    "returnType" : "oracle.wcps.test.providers.functions.ComplexType",
    "category" : "test",
    "example" : "${test:complexType(arg0,arg1)}",
    "localizedDescription" : "Demonstrates how to return a complex type.",
    "resourceType" : "urn:oracle:wcps:conductor:provider:functionProvider",
    "links" : [ {
      "resourceType" : "urn:oracle:wcps:conductor:provider:functionProviders",
      "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders?projection={projection}",
      "capabilities" : "urn:oracle:restframework:read",
      "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders",
      "rel" : "urn:oracle:webcenter:parent"
    }, {
      "resourceType" : "urn:oracle:wcps:conductor:provider:functionProvider",
      "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/test:complexType?projection={projection}",
      "capabilities" : "urn:oracle:restframework:read",
      "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/test:complexType",
      "rel" : "self"
    } ]
  }, {
    "parameters" : [ ],
    "name" : "complexTypeList",
    "returnType" : "java.util.List",
    "category" : "test",
    "example" : "${test:complexTypeList(arg0)}",
    "localizedDescription" : "Demonstrates how to return a list of complex types.",
    "resourceType" : "urn:oracle:wcps:conductor:provider:functionProvider",
    "links" : [ {
      "resourceType" : "urn:oracle:wcps:conductor:provider:functionProviders",
      "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders?projection={projection}",
      "capabilities" : "urn:oracle:restframework:read",
      "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders",
      "rel" : "urn:oracle:webcenter:parent"
    }, {
      "resourceType" : "urn:oracle:wcps:conductor:provider:functionProvider",
      "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/test:complexTypeList?projection={projection}",
      "capabilities" : "urn:oracle:restframework:read",
      "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/test:complexTypeList",
      "rel" : "self"
    } ]
  }, {
    "parameters" : [ ],
    "name" : "complexTypeMap",
    "returnType" : "java.util.Map",
    "category" : "test",
    "example" : "${test:complexTypeMap(arg0)}",
    "localizedDescription" : "Demonstrates how to return a map of complex types.",
    "resourceType" : "urn:oracle:wcps:conductor:provider:functionProvider",
    "links" : [ {
      "resourceType" : "urn:oracle:wcps:conductor:provider:functionProviders",
      "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders?projection={projection}",
      "capabilities" : "urn:oracle:restframework:read",
      "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders",
      "rel" : "urn:oracle:webcenter:parent"
    }, {
      "resourceType" : "urn:oracle:wcps:conductor:provider:functionProvider",
      "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/test:complexTypeMap?projection={projection}",
      "capabilities" : "urn:oracle:restframework:read",
      "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/test:complexTypeMap",
      "rel" : "self"
    } ]
  }, {
    "parameters" : [ ],
    "name" : "concat",
    "returnType" : "java.lang.String",
    "category" : "test",
    "example" : "${test:concat(arg0,arg1)}",
    "localizedDescription" : "Demonstrates how to return a complex type.",
    "resourceType" : "urn:oracle:wcps:conductor:provider:functionProvider",
    "links" : [ {
      "resourceType" : "urn:oracle:wcps:conductor:provider:functionProviders",
      "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders?projection={projection}",
      "capabilities" : "urn:oracle:restframework:read",
      "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders",
      "rel" : "urn:oracle:webcenter:parent"
    }, {
      "resourceType" : "urn:oracle:wcps:conductor:provider:functionProvider",
      "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/test:concat?projection={projection}",
      "capabilities" : "urn:oracle:restframework:read",
      "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/test:concat",
      "rel" : "self"
    } ]
  }, {
    "parameters" : [ ],
    "name" : "sleep",
    "returnType" : "void",
    "category" : "test",
    "example" : "${test:sleep(arg0)}",
    "localizedDescription" : "Pauses the current thread for the specified number of milliseconds.",
    "resourceType" : "urn:oracle:wcps:conductor:provider:functionProvider",
    "links" : [ {
      "resourceType" : "urn:oracle:wcps:conductor:provider:functionProviders",
      "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders?projection={projection}",
      "capabilities" : "urn:oracle:restframework:read",
      "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders",
      "rel" : "urn:oracle:webcenter:parent"
    }, {
      "resourceType" : "urn:oracle:wcps:conductor:provider:functionProvider",
      "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/test:sleep?projection={projection}",
      "capabilities" : "urn:oracle:restframework:read",
      "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/test:sleep",
      "rel" : "self"
    } ]
  } ],
  "resourceType" : "urn:oracle:wcps:conductor:provider:functionProviders",
  "links" : [ {
    "resourceType" : "urn:oracle:wcps:conductor:provider:functionProviders",
    "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders?projection={projection}",
    "capabilities" : "urn:oracle:restframework:read",
    "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders?projection=summary",
    "rel" : "self"
  } ]
}

68.4.2.2 Getting Metadata for a Single Function Provider (GET)

XML

Request:
GET http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/collections:append?projection=details
accept-language: en
content-type: application/xml
accept: application/xml
 
Response:
Status Code:200
Content-Length: 1433
X-Powered-By: Servlet/2.5 JSP/2.1
Set-Cookie: JSESSIONID=xf4NM2GL2yrTY3QPCZ591Ht8h7MVTSW9GGzR6Tm12WtFLvD0vnng!2098846330; path=/wcps; HttpOnly
Content-Type: application/xml
Date: Wed, 13 Oct 2010 23:51:36 GMT
 
<?xml version="1.0" encoding="UTF-8"?>
<functionProvider resourceType="urn:oracle:wcps:conductor:provider:functionProvider">
  <links>
    <link capabilities="urn:oracle:restframework:read"
      href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders"
      rel="urn:oracle:webcenter:parent"
      resourceType="urn:oracle:wcps:conductor:provider:functionProviders" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders?projection={projection}"/>
    <link capabilities="urn:oracle:restframework:read"
      href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/collections:append?projection=details"
      rel="self"
      resourceType="urn:oracle:wcps:conductor:provider:functionProvider" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/collections:append?projection={projection}"/>
  </links>
  <category>collections</category>
  <example>${collections:append(collection,item)}</example>
  <localizedDescription>Appends </localizedDescription>
  <name>append</name>
  <parameters>
    <parameter>
      <localizedDescription>The collection to append to.</localizedDescription>
      <name>collection</name>
      <type>java.util.Collection</type>
    </parameter>
    <parameter>
      <localizedDescription>The item or object to append.</localizedDescription>
      <name>item</name>
      <type>java.lang.Object</type>
    </parameter>
  </parameters>
  <returnType>java.util.Collection</returnType>
</functionProvider>

JSON

Request:
GET http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/collections:append?projection=details
accept-language: en
content-type: application/json
accept: application/json
 
Response:
Status Code:200
X-Powered-By: Servlet/2.5 JSP/2.1
Set-Cookie: JSESSIONID=BCz3M2GJWQnS3jQV1DvMsJynJXGnlJ6MrmrST4qxm8L7NxbgJh9T!2098846330; path=/wcps; HttpOnly
Transfer-Encoding: chunked
Content-Type: application/json
Date: Wed, 13 Oct 2010 23:51:37 GMT
 
{
  "parameters" : [ {
    "type" : "java.util.Collection",
    "name" : "collection",
    "localizedDescription" : "The collection to append to."
  }, {
    "type" : "java.lang.Object",
    "name" : "item",
    "localizedDescription" : "The item or object to append."
  } ],
  "name" : "append",
  "returnType" : "java.util.Collection",
  "category" : "collections",
  "example" : "${collections:append(collection,item)}",
  "localizedDescription" : "Appends ",
  "resourceType" : "urn:oracle:wcps:conductor:provider:functionProvider",
  "links" : [ {
    "resourceType" : "urn:oracle:wcps:conductor:provider:functionProviders",
    "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders?projection={projection}",
    "capabilities" : "urn:oracle:restframework:read",
    "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders",
    "rel" : "urn:oracle:webcenter:parent"
  }, {
    "resourceType" : "urn:oracle:wcps:conductor:provider:functionProvider",
    "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/collections:append?projection={projection}",
    "capabilities" : "urn:oracle:restframework:read",
    "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders/collections:append?projection=details",
    "rel" : "self"
  } ]
}

68.4.3 Using the Namespace Management APIs

This section provides examples of using the Conductor's namespace management APIs, and contains the following subsections:

68.4.3.1 Getting a Collection of Namespaces (GET)

XML

Request:
GET http://localhost:7001/wcps/api/conductor/namespaces?startIndex=0&itemsPerPage=10
accept-language: en
content-type: application/xml
accept: application/xml
 
Response:
Status Code:200
X-Powered-By: Servlet/2.5 JSP/2.1
Set-Cookie: JSESSIONID=JVqNM0HGTxxrXJJsy2cLCPjRTqJzDQ6pFytMMNy3JQTph671rTC2!-1838429496; path=/wcps; HttpOnly
Transfer-Encoding: chunked
Content-Type: application/xml
Date: Tue, 12 Oct 2010 20:40:06 GMT
 
<?xml version="1.0" encoding="UTF-8"?>
<namespaces resourceType="urn:oracle:wcps:conductor:namespaces">
  <links>
    <link capabilities="urn:oracle:restframework:read"
      href="http://localhost:7001/wcps/api/conductor/resourceIndex"
      rel="urn:oracle:webcenter:parent" resourceType="urn:oracle:wcps:conductor:resourceIndex"/>
    <link
      capabilities="urn:oracle:restframework:read urn:oracle:restframework:create"
      href="http://localhost:7001/wcps/api/conductor/namespaces?startIndex=0&amp;itemsPerPage=10"
      rel="self" resourceType="urn:oracle:wcps:conductor:namespaces" template="http://localhost:7001/wcps/api/conductor/namespaces?startIndex={startIndex}&amp;itemsPerPage={itemsPerPage}"/>
  </links>
  <items>
    <namespace resourceType="urn:oracle:wcps:conductor:namespace">
      <links>
        <link capabilities="urn:oracle:restframework:read"
          href="http://localhost:7001/wcps/api/conductor/namespaces"
          rel="urn:oracle:webcenter:parent" resourceType="urn:oracle:wcps:conductor:namespaces"/>
        <link
          capabilities="urn:oracle:restframework:read urn:oracle:restframework:delete"
          href="http://localhost:7001/wcps/api/conductor/namespaces/JDEV"
          rel="self" resourceType="urn:oracle:wcps:conductor:namespace"/>
        <link
          capabilities="urn:oracle:restframework:read urn:oracle:restframework:create"
          href="http://localhost:7001/wcps/api/conductor/namespaces/JDEV/scenarios"
          rel="urn:oracle:wcps:conductor:scenarioMetadatas"
          resourceType="urn:oracle:wcps:conductor:scenarioMetadatas" template="http://localhost:7001/wcps/api/conductor/namespaces/JDEV/scenarios?tag={tag}&amp;projection={projection}&amp;startIndex={startIndex}&amp;itemsPerPage={itemsPerPage}"/>
        <link capabilities="urn:oracle:restframework:read"
          href="http://localhost:7001/wcps/api/conductor/namespaces/JDEV/dataProviders"
          rel="urn:oracle:wcps:conductor:provider:dataProviders"
          resourceType="urn:oracle:wcps:conductor:provider:dataProviders" template="http://localhost:7001/wcps/api/conductor/namespaces/JDEV/dataProviders?projection={projection}"/>
        <link capabilities="urn:oracle:restframework:read"
          href="http://localhost:7001/wcps/api/conductor/namespaces/JDEV/functionProviders"
          rel="urn:oracle:wcps:conductor:provider:functionProviders"
          resourceType="urn:oracle:wcps:conductor:provider:functionProviders" template="http://localhost:7001/wcps/api/conductor/namespaces/JDEV/functionProviders?projection={projection}"/>
      </links>
      <name>JDEV</name>
    </namespace>
    <namespace resourceType="urn:oracle:wcps:conductor:namespace">
      <links>
        <link capabilities="urn:oracle:restframework:read"
          href="http://localhost:7001/wcps/api/conductor/namespaces"
          rel="urn:oracle:webcenter:parent" resourceType="urn:oracle:wcps:conductor:namespaces"/>
        <link
          capabilities="urn:oracle:restframework:read urn:oracle:restframework:delete"
          href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle"
          rel="self" resourceType="urn:oracle:wcps:conductor:namespace"/>
        <link
          capabilities="urn:oracle:restframework:read urn:oracle:restframework:create"
          href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/scenarios"
          rel="urn:oracle:wcps:conductor:scenarioMetadatas"
          resourceType="urn:oracle:wcps:conductor:scenarioMetadatas" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/scenarios?tag={tag}&amp;projection={projection}&amp;startIndex={startIndex}&amp;itemsPerPage={itemsPerPage}"/>
        <link capabilities="urn:oracle:restframework:read"
          href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders"
          rel="urn:oracle:wcps:conductor:provider:dataProviders"
          resourceType="urn:oracle:wcps:conductor:provider:dataProviders" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders?projection={projection}"/>
        <link capabilities="urn:oracle:restframework:read"
          href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders"
          rel="urn:oracle:wcps:conductor:provider:functionProviders"
          resourceType="urn:oracle:wcps:conductor:provider:functionProviders" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders?projection={projection}"/>
      </links>
      <name>Oracle</name>
    </namespace>
  </items>
</namespaces>

JSON

Request:
GET http://localhost:7001/wcps/api/conductor/namespaces?startIndex=0&itemsPerPage=10
accept-language: en
content-type: application/json
accept: application/json
 
Response:
Status Code:200
X-Powered-By: Servlet/2.5 JSP/2.1
Set-Cookie: JSESSIONID=3yvMM0HLChkXHS7R2VGn4F6lFKHwTGP2NwjC2Lf7J2jpvLTW9GvV!-1838429496; path=/wcps; HttpOnly
Transfer-Encoding: chunked
Content-Type: application/json
Date: Tue, 12 Oct 2010 20:40:11 GMT
 
{
  "namespaces" : [ {
    "name" : "JDEV",
    "resourceType" : "urn:oracle:wcps:conductor:namespace",
    "links" : [ {
      "resourceType" : "urn:oracle:wcps:conductor:namespaces",
      "capabilities" : "urn:oracle:restframework:read",
      "href" : "http://localhost:7001/wcps/api/conductor/namespaces",
      "rel" : "urn:oracle:webcenter:parent"
    }, {
      "resourceType" : "urn:oracle:wcps:conductor:namespace",
      "capabilities" : "urn:oracle:restframework:read urn:oracle:restframework:delete",
      "href" : "http://localhost:7001/wcps/api/conductor/namespaces/JDEV",
      "rel" : "self"
    }, {
      "resourceType" : "urn:oracle:wcps:conductor:scenarioMetadatas",
      "template" : "http://localhost:7001/wcps/api/conductor/namespaces/JDEV/scenarios?tag={tag}&projection={projection}&startIndex={startIndex}&itemsPerPage={itemsPerPage}",
      "capabilities" : "urn:oracle:restframework:read urn:oracle:restframework:create",
      "href" : "http://localhost:7001/wcps/api/conductor/namespaces/JDEV/scenarios",
      "rel" : "urn:oracle:wcps:conductor:scenarioMetadatas"
    }, {
      "resourceType" : "urn:oracle:wcps:conductor:provider:dataProviders",
      "template" : "http://localhost:7001/wcps/api/conductor/namespaces/JDEV/dataProviders?projection={projection}",
      "capabilities" : "urn:oracle:restframework:read",
      "href" : "http://localhost:7001/wcps/api/conductor/namespaces/JDEV/dataProviders",
      "rel" : "urn:oracle:wcps:conductor:provider:dataProviders"
    }, {
      "resourceType" : "urn:oracle:wcps:conductor:provider:functionProviders",
      "template" : "http://localhost:7001/wcps/api/conductor/namespaces/JDEV/functionProviders?projection={projection}",
      "capabilities" : "urn:oracle:restframework:read",
      "href" : "http://localhost:7001/wcps/api/conductor/namespaces/JDEV/functionProviders",
      "rel" : "urn:oracle:wcps:conductor:provider:functionProviders"
    } ]
  }, {
    "name" : "Oracle",
    "resourceType" : "urn:oracle:wcps:conductor:namespace",
    "links" : [ {
      "resourceType" : "urn:oracle:wcps:conductor:namespaces",
      "capabilities" : "urn:oracle:restframework:read",
      "href" : "http://localhost:7001/wcps/api/conductor/namespaces",
      "rel" : "urn:oracle:webcenter:parent"
    }, {
      "resourceType" : "urn:oracle:wcps:conductor:namespace",
      "capabilities" : "urn:oracle:restframework:read urn:oracle:restframework:delete",
      "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle",
      "rel" : "self"
    }, {
      "resourceType" : "urn:oracle:wcps:conductor:scenarioMetadatas",
      "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/scenarios?tag={tag}&projection={projection}&startIndex={startIndex}&itemsPerPage={itemsPerPage}",
      "capabilities" : "urn:oracle:restframework:read urn:oracle:restframework:create",
      "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/scenarios",
      "rel" : "urn:oracle:wcps:conductor:scenarioMetadatas"
    }, {
      "resourceType" : "urn:oracle:wcps:conductor:provider:dataProviders",
      "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders?projection={projection}",
      "capabilities" : "urn:oracle:restframework:read",
      "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders",
      "rel" : "urn:oracle:wcps:conductor:provider:dataProviders"
    }, {
      "resourceType" : "urn:oracle:wcps:conductor:provider:functionProviders",
      "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders?projection={projection}",
      "capabilities" : "urn:oracle:restframework:read",
      "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders",
      "rel" : "urn:oracle:wcps:conductor:provider:functionProviders"
    } ]
  }],
  "resourceType" : "urn:oracle:wcps:conductor:namespaces",
  "links" : [ {
    "resourceType" : "urn:oracle:wcps:conductor:resourceIndex",
    "capabilities" : "urn:oracle:restframework:read",
    "href" : "http://localhost:7001/wcps/api/conductor/resourceIndex",
    "rel" : "urn:oracle:webcenter:parent"
  }, {
    "resourceType" : "urn:oracle:wcps:conductor:namespaces",
    "template" : "http://localhost:7001/wcps/api/conductor/namespaces?startIndex={startIndex}&itemsPerPage={itemsPerPage}",
    "capabilities" : "urn:oracle:restframework:read urn:oracle:restframework:create",
    "href" : "http://localhost:7001/wcps/api/conductor/namespaces?startIndex=0&itemsPerPage=10",
    "rel" : "self"
  } ]
}

68.4.3.2 Retrieving a Single Namespace (GET)

XML

Request:
GET http://localhost:7001/wcps/api/conductor/namespaces/Oracle
accept-language: en
content-type: application/json
accept: application/json
 
Response:
Status Code:200
X-Powered-By: Servlet/2.5 JSP/2.1
Set-Cookie: JSESSIONID=qzMqM0HMPYBlKQGMJvnQMS4rxXS4Jn1QnBjW850G1vnSjt4lHbLy!-1838429496; path=/wcps; HttpOnly
Transfer-Encoding: chunked
Content-Type: application/json
Date: Tue, 12 Oct 2010 20:40:12 GMT
 
{
  "name" : "Oracle",
  "resourceType" : "urn:oracle:wcps:conductor:namespace",
  "links" : [ {
    "resourceType" : "urn:oracle:wcps:conductor:namespaces",
    "capabilities" : "urn:oracle:restframework:read",
    "href" : "http://localhost:7001/wcps/api/conductor/namespaces",
    "rel" : "urn:oracle:webcenter:parent"
  }, {
    "resourceType" : "urn:oracle:wcps:conductor:namespace",
    "capabilities" : "urn:oracle:restframework:read urn:oracle:restframework:delete",
    "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle",
    "rel" : "self"
  }, {
    "resourceType" : "urn:oracle:wcps:conductor:scenarioMetadatas",
    "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/scenarios?tag={tag}&projection={projection}&startIndex={startIndex}&itemsPerPage={itemsPerPage}",
    "capabilities" : "urn:oracle:restframework:read urn:oracle:restframework:create",
    "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/scenarios",
    "rel" : "urn:oracle:wcps:conductor:scenarioMetadatas"
  }, {
    "resourceType" : "urn:oracle:wcps:conductor:provider:dataProviders",
    "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders?projection={projection}",
    "capabilities" : "urn:oracle:restframework:read",
    "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders",
    "rel" : "urn:oracle:wcps:conductor:provider:dataProviders"
  }, {
    "resourceType" : "urn:oracle:wcps:conductor:provider:functionProviders",
    "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders?projection={projection}",
    "capabilities" : "urn:oracle:restframework:read",
    "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders",
    "rel" : "urn:oracle:wcps:conductor:provider:functionProviders"
  } ]
}

JSON

Request:
GET http://localhost:7001/wcps/api/conductor/namespaces/Oracle
accept-language: en
content-type: application/json
accept: application/json
 
Response:
Status Code:200
X-Powered-By: Servlet/2.5 JSP/2.1
Set-Cookie: JSESSIONID=qzMqM0HMPYBlKQGMJvnQMS4rxXS4Jn1QnBjW850G1vnSjt4lHbLy!-1838429496; path=/wcps; HttpOnly
Transfer-Encoding: chunked
Content-Type: application/json
Date: Tue, 12 Oct 2010 20:40:12 GMT
 
{
  "name" : "Oracle",
  "resourceType" : "urn:oracle:wcps:conductor:namespace",
  "links" : [ {
    "resourceType" : "urn:oracle:wcps:conductor:namespaces",
    "capabilities" : "urn:oracle:restframework:read",
    "href" : "http://localhost:7001/wcps/api/conductor/namespaces",
    "rel" : "urn:oracle:webcenter:parent"
  }, {
    "resourceType" : "urn:oracle:wcps:conductor:namespace",
    "capabilities" : "urn:oracle:restframework:read urn:oracle:restframework:delete",
    "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle",
    "rel" : "self"
  }, {
    "resourceType" : "urn:oracle:wcps:conductor:scenarioMetadatas",
    "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/scenarios?tag={tag}&projection={projection}&startIndex={startIndex}&itemsPerPage={itemsPerPage}",
    "capabilities" : "urn:oracle:restframework:read urn:oracle:restframework:create",
    "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/scenarios",
    "rel" : "urn:oracle:wcps:conductor:scenarioMetadatas"
  }, {
    "resourceType" : "urn:oracle:wcps:conductor:provider:dataProviders",
    "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders?projection={projection}",
    "capabilities" : "urn:oracle:restframework:read",
    "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders",
    "rel" : "urn:oracle:wcps:conductor:provider:dataProviders"
  }, {
    "resourceType" : "urn:oracle:wcps:conductor:provider:functionProviders",
    "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders?projection={projection}",
    "capabilities" : "urn:oracle:restframework:read",
    "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders",
    "rel" : "urn:oracle:wcps:conductor:provider:functionProviders"
  } ]
}

68.4.3.3 Creating a Namespace (POST)

XML

Request:
POST http://localhost:7001/wcps/api/conductor/namespaces?startIndex=0&itemsPerPage=10
accept-language: en
content-type: application/xml
accept: application/xml
 
<?xml version="1.0" encoding="UTF-8"?>
<namespace resourceType="urn:oracle:wcps:conductor:namespace">
  <name>Oracle</name>
</namespace>
 
Response:
Status Code:201
Content-Length: 1753
X-Powered-By: Servlet/2.5 JSP/2.1
Set-Cookie: JSESSIONID=RW6QM0HF5x2KLvNSZJVncTpSXbl1rKY3tTfXyH94yY6Qv6ddGJkY!-1838429496; path=/wcps; HttpOnly
Content-Type: application/xml
Location: http://localhost:7001/wcps/api/conductor/namespaces/Oracle
Date: Tue, 12 Oct 2010 20:40:05 GMT
 
<?xml version="1.0" encoding="UTF-8"?>
<namespace resourceType="urn:oracle:wcps:conductor:namespace">
  <links>
    <link capabilities="urn:oracle:restframework:read"
      href="http://localhost:7001/wcps/api/conductor/namespaces"
      rel="urn:oracle:webcenter:parent" resourceType="urn:oracle:wcps:conductor:namespaces"/>
    <link
      capabilities="urn:oracle:restframework:read urn:oracle:restframework:delete"
      href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle"
      rel="self" resourceType="urn:oracle:wcps:conductor:namespace"/>
    <link
      capabilities="urn:oracle:restframework:read urn:oracle:restframework:create"
      href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/scenarios"
      rel="urn:oracle:wcps:conductor:scenarioMetadatas"
      resourceType="urn:oracle:wcps:conductor:scenarioMetadatas" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/scenarios?tag={tag}&amp;projection={projection}&amp;startIndex={startIndex}&amp;itemsPerPage={itemsPerPage}"/>
    <link capabilities="urn:oracle:restframework:read"
      href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders"
      rel="urn:oracle:wcps:conductor:provider:dataProviders"
      resourceType="urn:oracle:wcps:conductor:provider:dataProviders" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders?projection={projection}"/>
    <link capabilities="urn:oracle:restframework:read"
      href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders"
      rel="urn:oracle:wcps:conductor:provider:functionProviders"
      resourceType="urn:oracle:wcps:conductor:provider:functionProviders" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders?projection={projection}"/>
  </links>
  <name>Oracle</name>
</namespace>

JSON

Request:
POST http://localhost:7001/wcps/api/conductor/namespaces?startIndex=0&itemsPerPage=10
accept-language: en
content-type: application/json
accept: application/json
 
{
  "name" : "Oracle",
  "resourceType" : "urn:oracle:wcps:conductor:namespace"
}
 
Response:
Status Code:201
X-Powered-By: Servlet/2.5 JSP/2.1
Set-Cookie: JSESSIONID=xh18M0HKT86f4y1bWqZnBmzHXvNnvh0p7y9RLTmQfbRQC3fh79gx!-1838429496; path=/wcps; HttpOnly
Transfer-Encoding: chunked
Content-Type: application/json
Location: http://localhost:7001/wcps/api/conductor/namespaces/Oracle
Date: Tue, 12 Oct 2010 20:40:10 GMT
 
{
  "name" : "Oracle",
  "resourceType" : "urn:oracle:wcps:conductor:namespace",
  "links" : [ {
    "resourceType" : "urn:oracle:wcps:conductor:namespaces",
    "capabilities" : "urn:oracle:restframework:read",
    "href" : "http://localhost:7001/wcps/api/conductor/namespaces",
    "rel" : "urn:oracle:webcenter:parent"
  }, {
    "resourceType" : "urn:oracle:wcps:conductor:namespace",
    "capabilities" : "urn:oracle:restframework:read urn:oracle:restframework:delete",
    "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle",
    "rel" : "self"
  }, {
    "resourceType" : "urn:oracle:wcps:conductor:scenarioMetadatas",
    "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/scenarios?tag={tag}&projection={projection}&startIndex={startIndex}&itemsPerPage={itemsPerPage}",
    "capabilities" : "urn:oracle:restframework:read urn:oracle:restframework:create",
    "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/scenarios",
    "rel" : "urn:oracle:wcps:conductor:scenarioMetadatas"
  }, {
    "resourceType" : "urn:oracle:wcps:conductor:provider:dataProviders",
    "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders?projection={projection}",
    "capabilities" : "urn:oracle:restframework:read",
    "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/dataProviders",
    "rel" : "urn:oracle:wcps:conductor:provider:dataProviders"
  }, {
    "resourceType" : "urn:oracle:wcps:conductor:provider:functionProviders",
    "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders?projection={projection}",
    "capabilities" : "urn:oracle:restframework:read",
    "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/functionProviders",
    "rel" : "urn:oracle:wcps:conductor:provider:functionProviders"
  } ]
}

68.4.3.4 Deleting a Namespace (DELETE)

XML/JSON

Request:
DELETE http://localhost:7001/wcps/api/conductor/namespaces/Oracle
accept-language: en
content-type: application/xml
accept: application/xml
 
Response:
Status Code:204
Content-Length: 0
X-Powered-By: Servlet/2.5 JSP/2.1
Connection: close
Set-Cookie: JSESSIONID=SMctM0HJxYxSvkMszjrfpl5zJ3Q0v25NhB7QPRTnJFLmd1tK1hYC!-1838429496; path=/wcps; HttpOnly
Date: Tue, 12 Oct 2010 20:40:09 GMT

68.4.4 Using the Scenario Management APIs

This section provides examples of using the Conductor's scenario management APIs, and contains the following susbsections:

68.4.4.1 Getting a Collection of Scenarios (GET)

XML

Request:
GET http://localhost:7001/wcps/api/conductor/namespaces/Oracle/scenarios?projection=summary&startIndex=0&itemsPerPage=10
accept-language: en
content-type: application/xml
accept: application/xml
 
Response:
Status Code:200
Content-Length: 1915
X-Powered-By: Servlet/2.5 JSP/2.1
Set-Cookie: JSESSIONID=LJq1M1TGZp7fClyTJ2wggGczv2r8N0X1jsPYlg8kpGFWwGMvrQsM!21637120; path=/wcps; HttpOnly
Content-Type: application/xml
Date: Wed, 13 Oct 2010 15:43:02 GMT
 
<?xml version="1.0" encoding="UTF-8"?>
<scenarioMetadatas
  resourceType="urn:oracle:wcps:conductor:scenarioMetadatas"
  xmlns:ns2="http://xmlns.oracle.com/wcps/conductor/common/1.0.0" xmlns:ns3="http://xmlns.oracle.com/wcps/conductor/scenarios/1.0.0">
  <links>
    <link
      capabilities="urn:oracle:restframework:read urn:oracle:restframework:create"
      href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/scenarios?projection=summary&amp;startIndex=0&amp;itemsPerPage=10"
      rel="self"
      resourceType="urn:oracle:wcps:conductor:scenarioMetadatas" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/scenarios?tag={tag}&amp;projection={projection}&amp;startIndex={startIndex}&amp;itemsPerPage={itemsPerPage}"/>
  </links>
  <items>
    <scenarioMetadata resourceType="urn:oracle:wcps:conductor:scenarioMetadata">
      <links>
        <link
          capabilities="urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete urn:oracle:restframework:execute"
          href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/scenarios/Hello%20World"
          rel="self"
          resourceType="urn:oracle:wcps:conductor:scenarioMetadata" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/scenarios/Hello World?projection={projection}&amp;startIndex={startIndex}&amp;itemsPerPage={itemsPerPage}"/>
        <link capabilities="urn:oracle:restframework:read"
          href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/scenarios/Hello%20World/definition"
          rel="alternate" resourceType="urn:oracle:wcps:conductor:scenario"/>
      </links>
      <status>PUBLISHED</status>
      <createdAuthor>weblogic</createdAuthor>
      <createdDateTime>2010-10-13T09:43:01.617-06:00</createdDateTime>
      <updatedAuthor>weblogic</updatedAuthor>
      <updatedDateTime>2010-10-13T09:43:01.617-06:00</updatedDateTime>
      <scenario>
        <comments/>
        <name>Hello World</name>
        <tags/>
        <input-parameters/>
      </scenario>
    </scenarioMetadata>
  </items>
</scenarioMetadatas>

JSON

Request:
GET http://localhost:7001/wcps/api/conductor/namespaces/Oracle/scenarios?projection=summary&startIndex=0&itemsPerPage=10
accept-language: en
content-type: application/json
accept: application/json
 
Response:
Status Code:200
X-Powered-By: Servlet/2.5 JSP/2.1
Set-Cookie: JSESSIONID=0VBvM2ZMwfWC6bPnZ8QDWv7q4h7WhmTMPvb0Lyc9n8t0lnyTtGLy!822326988; path=/wcps; HttpOnly
Transfer-Encoding: chunked
Content-Type: application/json
Date: Wed, 13 Oct 2010 20:39:40 GMT
 
{
  "scenarioMetadatas" : [ {
    "scenario" : {
      "tags" : [ ],
      "inputParameters" : [ ],
      "name" : "Hello World",
      "comments" : "This scenario returns a Hello World string."
    },
    "status" : "PUBLISHED",
    "createdAuthor" : "weblogic",
    "createdDateTime" : "2010-10-13T14:39:40.103-0600",
    "updatedAuthor" : "weblogic",
    "updatedDateTime" : "2010-10-13T14:39:40.103-0600",
    "resourceType" : "urn:oracle:wcps:conductor:scenarioMetadata",
    "links" : [ {
      "resourceType" : "urn:oracle:wcps:conductor:scenarioMetadata",
      "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/scenarios/Hello World?projection={projection}&startIndex={startIndex}&itemsPerPage={itemsPerPage}",
      "capabilities" : "urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete urn:oracle:restframework:execute",
      "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/scenarios/Hello%20World",
      "rel" : "self"
    }, {
      "resourceType" : "urn:oracle:wcps:conductor:scenario",
      "capabilities" : "urn:oracle:restframework:read",
      "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/scenarios/Hello%20World/definition",
      "rel" : "alternate"
    } ]
  } ],
  "resourceType" : "urn:oracle:wcps:conductor:scenarioMetadatas",
  "links" : [ {
    "resourceType" : "urn:oracle:wcps:conductor:scenarioMetadatas",
    "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/scenarios?tag={tag}&projection={projection}&startIndex={startIndex}&itemsPerPage={itemsPerPage}",
    "capabilities" : "urn:oracle:restframework:read urn:oracle:restframework:create",
    "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/scenarios?projection=summary&startIndex=0&itemsPerPage=10",
    "rel" : "self"
  } ]
}

68.4.4.2 Retrieving a Single Scenario (GET)

XML

Request:
GET http://localhost:7001/wcps/api/conductor/namespaces/Oracle/scenarios/Hello%20World?projection=details&startIndex=0&itemsPerPage=10
accept-language: en
content-type: application/xml
accept: application/xml
 
Response:
Status Code:200
Content-Length: 1725
X-Powered-By: Servlet/2.5 JSP/2.1
Set-Cookie: JSESSIONID=mS7LM2hYbWDd8xvmKYGSGVLXJ2qYDTXNGLy3lqknyp8fYStlBQNT!822326988; path=/wcps; HttpOnly
Content-Type: application/xml
Date: Wed, 13 Oct 2010 20:45:44 GMT
 
<?xml version="1.0" encoding="UTF-8"?>
<scenarioMetadata
  resourceType="urn:oracle:wcps:conductor:scenarioMetadata"
  xmlns:ns2="http://xmlns.oracle.com/wcps/conductor/common/1.0.0" xmlns:ns3="http://xmlns.oracle.com/wcps/conductor/scenarios/1.0.0">
  <links>
    <link
      capabilities="urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete urn:oracle:restframework:execute"
      href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/scenarios/Hello%20World?projection=details&amp;startIndex=0&amp;itemsPerPage=10"
      rel="self"
      resourceType="urn:oracle:wcps:conductor:scenarioMetadata" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/scenarios/Hello World?projection={projection}&amp;startIndex={startIndex}&amp;itemsPerPage={itemsPerPage}"/>
    <link capabilities="urn:oracle:restframework:read"
      href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/scenarios/Hello%20World/definition"
      rel="alternate" resourceType="urn:oracle:wcps:conductor:scenario"/>
  </links>
  <status>PUBLISHED</status>
  <createdAuthor>weblogic</createdAuthor>
  <createdDateTime>2010-10-13T14:45:42.525-06:00</createdDateTime>
  <updatedAuthor>weblogic</updatedAuthor>
  <updatedDateTime>2010-10-13T14:45:42.525-06:00</updatedDateTime>
  <scenario>
    <comments>This scenario returns a Hello World string.</comments>
    <body>
      <return>
        <comments>This is what is returned by the scenario.  A static string with the input parameter embedded.</comments>
        <expression>Hello World with input '${input}'!</expression>
      </return>
    </body>
    <name>Hello World</name>
    <tags>
      <tag>hello</tag>
      <tag>world</tag>
    </tags>
    <input-parameters>
      <parameter required="true">input</parameter>
    </input-parameters>
  </scenario>
</scenarioMetadata>

JSON

Request:
GET http://localhost:7001/wcps/api/conductor/namespaces/Oracle/scenarios/Hello%20World?projection=details&startIndex=0&itemsPerPage=10
accept-language: en
content-type: application/json
accept: application/json
 
Response:
Status Code:200
X-Powered-By: Servlet/2.5 JSP/2.1
Set-Cookie: JSESSIONID=LJnKM2hppVQL9ph88JWCymz8M1TQqcQjSbD03zJQ9z6yyT314Zy4!822326988; path=/wcps; HttpOnly
Transfer-Encoding: chunked
Content-Type: application/json
Date: Wed, 13 Oct 2010 20:45:50 GMT
 
{
  "scenario" : {
    "tags" : [ "hello", "world" ],
    "inputParameters" : [ {
      "value" : "input",
      "required" : true
    } ],
    "name" : "Hello World",
    "body" : {
      "statements" : [ {
        "concreteType" : "urn:oracle:wcps:conductor:scenario:schema:return",
        "expression" : "Hello World with input '${input}'!",
        "comments" : "This is what is returned by the scenario.  A static string with the input parameter embedded."
      } ]
    },
    "comments" : "This scenario returns a Hello World string."
  },
  "status" : "PUBLISHED",
  "createdAuthor" : "weblogic",
  "createdDateTime" : "2010-10-13T14:45:48.681-0600",
  "updatedAuthor" : "weblogic",
  "updatedDateTime" : "2010-10-13T14:45:48.681-0600",
  "resourceType" : "urn:oracle:wcps:conductor:scenarioMetadata",
  "links" : [ {
    "resourceType" : "urn:oracle:wcps:conductor:scenarioMetadata",
    "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/scenarios/Hello World?projection={projection}&startIndex={startIndex}&itemsPerPage={itemsPerPage}",
    "capabilities" : "urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete urn:oracle:restframework:execute",
    "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/scenarios/Hello%20World?projection=details&startIndex=0&itemsPerPage=10",
    "rel" : "self"
  }, {
    "resourceType" : "urn:oracle:wcps:conductor:scenario",
    "capabilities" : "urn:oracle:restframework:read",
    "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/scenarios/Hello%20World/definition",
    "rel" : "alternate"
  } ]
}

68.4.4.3 Creating a Scenario (POST)

XML

Request:
POST http://localhost:7001/wcps/api/conductor/namespaces/Oracle/scenarios?projection=details&startIndex=0&itemsPerPage=10
accept-language: en
content-type: application/xml
accept: application/xml
 
<?xml version="1.0" encoding="UTF-8"?>
<scenarioMetadata
  resourceType="urn:oracle:wcps:conductor:scenarioMetadata"
  xmlns:ns2="http://xmlns.oracle.com/wcps/conductor/common/1.0.0" xmlns:ns3="http://xmlns.oracle.com/wcps/conductor/scenarios/1.0.0">
  <scenario>
    <comments>This scenario returns a Hello World string.</comments>
    <body>
      <return>
        <comments>This is what is returned by the scenario.  A static string with the input parameter embedded.</comments>
        <expression>Hello World with input '${input}'!</expression>
      </return>
    </body>
    <name>Hello World</name>
    <tags>
      <tag>hello</tag>
      <tag>world</tag>
    </tags>
    <input-parameters>
      <parameter required="true">input</parameter>
    </input-parameters>
  </scenario>
</scenarioMetadata>
 
Response:
Status Code:201
Content-Length: 1669
X-Powered-By: Servlet/2.5 JSP/2.1
Set-Cookie: JSESSIONID=L41NM2hW6p8FtvJmjRxKkZNF2LJnnY4JhGJCT1xDG4prwf1T1g3D!822326988; path=/wcps; HttpOnly
Content-Type: application/xml
Location: http://localhost:7001/wcps/api/conductor/namespaces/Oracle/scenarios/Hello%20World
Date: Wed, 13 Oct 2010 20:45:42 GMT
 
<?xml version="1.0" encoding="UTF-8"?>
<scenarioMetadata
  resourceType="urn:oracle:wcps:conductor:scenarioMetadata"
  xmlns:ns2="http://xmlns.oracle.com/wcps/conductor/common/1.0.0" xmlns:ns3="http://xmlns.oracle.com/wcps/conductor/scenarios/1.0.0">
  <links>
    <link
      capabilities="urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete urn:oracle:restframework:execute"
      href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/scenarios/Hello%20World"
      rel="self"
      resourceType="urn:oracle:wcps:conductor:scenarioMetadata" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/scenarios/Hello World?projection={projection}&amp;startIndex={startIndex}&amp;itemsPerPage={itemsPerPage}"/>
    <link capabilities="urn:oracle:restframework:read"
      href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/scenarios/Hello%20World/definition"
      rel="alternate" resourceType="urn:oracle:wcps:conductor:scenario"/>
  </links>
  <status>PUBLISHED</status>
  <createdAuthor>weblogic</createdAuthor>
  <createdDateTime>2010-10-13T14:45:42.525-06:00</createdDateTime>
  <updatedAuthor>weblogic</updatedAuthor>
  <updatedDateTime>2010-10-13T14:45:42.525-06:00</updatedDateTime>
  <scenario>
    <comments>This scenario returns a Hello World string.</comments>
    <body>
      <return>
        <comments>This is what is returned by the scenario.  A static string with the input parameter embedded.</comments>
        <expression>Hello World with input '${input}'!</expression>
      </return>
    </body>
    <name>Hello World</name>
    <tags>
      <tag>hello</tag>
      <tag>world</tag>
    </tags>
    <input-parameters>
      <parameter required="true">input</parameter>
    </input-parameters>
  </scenario>
</scenarioMetadata>

JSON

Request:
POST http://localhost:7001/wcps/api/conductor/namespaces/Oracle/scenarios?projection=details&startIndex=0&itemsPerPage=10
accept-language: en
content-type: application/json
accept: application/json
 
{
  "scenario" : {
    "tags" : [ "hello", "world" ],
    "inputParameters" : [ {
      "value" : "input",
      "required" : true
    } ],
    "name" : "Hello World",
    "body" : {
      "statements" : [ {
        "concreteType" : "urn:oracle:wcps:conductor:scenario:schema:return",
        "expression" : "Hello World with input '${input}'!",
        "comments" : "This is what is returned by the scenario.  A static string with the input parameter embedded."
      } ]
    },
    "comments" : "This scenario returns a Hello World string."
  },
  "resourceType" : "urn:oracle:wcps:conductor:scenarioMetadata"
}
 
Response:
Status Code:201
X-Powered-By: Servlet/2.5 JSP/2.1
Set-Cookie: JSESSIONID=XrT7M2hcNRzpmCKF7SxPNs9phBvfPlsnffy98nRLDL8G52wHwd1y!822326988; path=/wcps; HttpOnly
Transfer-Encoding: chunked
Content-Type: application/json
Location: http://localhost:7001/wcps/api/conductor/namespaces/Oracle/scenarios/Hello%20World
Date: Wed, 13 Oct 2010 20:45:48 GMT
 
{
  "scenario" : {
    "tags" : [ "hello", "world" ],
    "inputParameters" : [ {
      "value" : "input",
      "required" : true
    } ],
    "name" : "Hello World",
    "body" : {
      "statements" : [ {
        "concreteType" : "urn:oracle:wcps:conductor:scenario:schema:return",
        "expression" : "Hello World with input '${input}'!",
        "comments" : "This is what is returned by the scenario.  A static string with the input parameter embedded."
      } ]
    },
    "comments" : "This scenario returns a Hello World string."
  },
  "status" : "PUBLISHED",
  "createdAuthor" : "weblogic",
  "createdDateTime" : "2010-10-13T14:45:48.681-0600",
  "updatedAuthor" : "weblogic",
  "updatedDateTime" : "2010-10-13T14:45:48.681-0600",
  "resourceType" : "urn:oracle:wcps:conductor:scenarioMetadata",
  "links" : [ {
    "resourceType" : "urn:oracle:wcps:conductor:scenarioMetadata",
    "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/scenarios/Hello World?projection={projection}&startIndex={startIndex}&itemsPerPage={itemsPerPage}",
    "capabilities" : "urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete urn:oracle:restframework:execute",
    "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/scenarios/Hello%20World",
    "rel" : "self"
  }, {
    "resourceType" : "urn:oracle:wcps:conductor:scenario",
    "capabilities" : "urn:oracle:restframework:read",
    "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/scenarios/Hello%20World/definition",
    "rel" : "alternate"
  } ]
}

68.4.4.4 Updating a Scenario (PUT)

XML

Request:
PUT http://localhost:7001/wcps/api/conductor/namespaces/Oracle/scenarios/Hello%20World?projection=details&startIndex=0&itemsPerPage=10
accept-language: en
content-type: application/xml
accept: application/xml
 
<?xml version="1.0" encoding="UTF-8"?>
<scenarioMetadata
  resourceType="urn:oracle:wcps:conductor:scenarioMetadata"
  xmlns:ns2="http://xmlns.oracle.com/wcps/conductor/common/1.0.0" xmlns:ns3="http://xmlns.oracle.com/wcps/conductor/scenarios/1.0.0">
  <scenario>
    <comments>This scenario returns a Hello World string.</comments>
    <body>
      <assign-variable>
        <variable>initVariable</variable>
        <expression>Hello World with input '${input}'!</expression>
      </assign-variable>
      <return>
        <comments>This is what is returned by the scenario.  A static string with the input parameter embedded.</comments>
        <expression>${initVariable}</expression>
      </return>
    </body>
    <name>Hello World</name>
    <tags>
      <tag>hello</tag>
      <tag>world</tag>
    </tags>
    <input-parameters>
      <parameter required="true">input</parameter>
    </input-parameters>
  </scenario>
</scenarioMetadata>
 
Response:
Status Code:200
Content-Length: 1777
X-Powered-By: Servlet/2.5 JSP/2.1
Set-Cookie: JSESSIONID=CnGYM2hYBBJ2hNPGLkcDG1WWvhP41gBDvBsCwmKpdHvtCJtQL67L!822326988; path=/wcps; HttpOnly
Content-Type: application/xml
Date: Wed, 13 Oct 2010 20:45:44 GMT
 
<?xml version="1.0" encoding="UTF-8"?>
<scenarioMetadata
  resourceType="urn:oracle:wcps:conductor:scenarioMetadata"
  xmlns:ns2="http://xmlns.oracle.com/wcps/conductor/common/1.0.0" xmlns:ns3="http://xmlns.oracle.com/wcps/conductor/scenarios/1.0.0">
  <links>
    <link
      capabilities="urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete urn:oracle:restframework:execute"
      href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/scenarios/Hello%20World"
      rel="self"
      resourceType="urn:oracle:wcps:conductor:scenarioMetadata" template="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/scenarios/Hello World?projection={projection}&amp;startIndex={startIndex}&amp;itemsPerPage={itemsPerPage}"/>
    <link capabilities="urn:oracle:restframework:read"
      href="http://localhost:7001/wcps/api/conductor/namespaces/Oracle/scenarios/Hello%20World/definition"
      rel="alternate" resourceType="urn:oracle:wcps:conductor:scenario"/>
  </links>
  <status>PUBLISHED</status>
  <createdAuthor>weblogic</createdAuthor>
  <createdDateTime>2010-10-13T14:45:42.525-06:00</createdDateTime>
  <updatedAuthor>weblogic</updatedAuthor>
  <updatedDateTime>2010-10-13T14:45:44.471-06:00</updatedDateTime>
  <scenario>
    <comments>This scenario returns a Hello World string.</comments>
    <body>
      <assign-variable>
        <variable>initVariable</variable>
        <expression>Hello World with input '${input}'!</expression>
      </assign-variable>
      <return>
        <comments>This is what is returned by the scenario.  A static string with the input parameter embedded.</comments>
        <expression>${initVariable}</expression>
      </return>
    </body>
    <name>Hello World</name>
    <tags>
      <tag>hello</tag>
      <tag>world</tag>
    </tags>
    <input-parameters>
      <parameter required="true">input</parameter>
    </input-parameters>
  </scenario>
</scenarioMetadata>

JSON

Request:
PUT http://localhost:7001/wcps/api/conductor/namespaces/Oracle/scenarios/Hello%20World?projection=details&startIndex=0&itemsPerPage=10
accept-language: en
content-type: application/json
accept: application/json
 
{
  "scenario" : {
    "tags" : [ "hello", "world" ],
    "inputParameters" : [ {
      "value" : "input",
      "required" : true
    } ],
    "name" : "Hello World",
    "body" : {
      "statements" : [ {
        "concreteType" : "urn:oracle:wcps:conductor:scenario:schema:variable-assignment",
        "expression" : "Hello World with input '${input}'!",
        "variable" : "initVariable"
      }, {
        "concreteType" : "urn:oracle:wcps:conductor:scenario:schema:return",
        "expression" : "${initVariable}",
        "comments" : "This is what is returned by the scenario.  A static string with the input parameter embedded."
      } ]
    },
    "comments" : "This scenario returns a Hello World string."
  },
  "resourceType" : "urn:oracle:wcps:conductor:scenarioMetadata"
}
 
Response:
Status Code:200
X-Powered-By: Servlet/2.5 JSP/2.1
Set-Cookie: JSESSIONID=sJBGM2hpTwwM7l3Q7HNnQ8lDpjkqQvkJy4h1Wr11KJFx1gd2XDSY!822326988; path=/wcps; HttpOnly
Transfer-Encoding: chunked
Content-Type: application/json
Date: Wed, 13 Oct 2010 20:45:50 GMT
 
{
  "scenario" : {
    "tags" : [ "hello", "world" ],
    "inputParameters" : [ {
      "value" : "input",
      "required" : true
    } ],
    "name" : "Hello World",
    "body" : {
      "statements" : [ {
        "concreteType" : "urn:oracle:wcps:conductor:scenario:schema:variable-assignment",
        "expression" : "Hello World with input '${input}'!",
        "variable" : "initVariable"
      }, {
        "concreteType" : "urn:oracle:wcps:conductor:scenario:schema:return",
        "expression" : "${initVariable}",
        "comments" : "This is what is returned by the scenario.  A static string with the input parameter embedded."
      } ]
    },
    "comments" : "This scenario returns a Hello World string."
  },
  "status" : "PUBLISHED",
  "createdAuthor" : "weblogic",
  "createdDateTime" : "2010-10-13T14:45:48.681-0600",
  "updatedAuthor" : "weblogic",
  "updatedDateTime" : "2010-10-13T14:45:50.533-0600",
  "resourceType" : "urn:oracle:wcps:conductor:scenarioMetadata",
  "links" : [ {
    "resourceType" : "urn:oracle:wcps:conductor:scenarioMetadata",
    "template" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/scenarios/Hello World?projection={projection}&startIndex={startIndex}&itemsPerPage={itemsPerPage}",
    "capabilities" : "urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete urn:oracle:restframework:execute",
    "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/scenarios/Hello%20World",
    "rel" : "self"
  }, {
    "resourceType" : "urn:oracle:wcps:conductor:scenario",
    "capabilities" : "urn:oracle:restframework:read",
    "href" : "http://localhost:7001/wcps/api/conductor/namespaces/Oracle/scenarios/Hello%20World/definition",
    "rel" : "alternate"
  } ]
}

68.4.4.5 Deleting a Scenario (DELETE)

XML/JSON

Request:
DELETE http://localhost:7001/wcps/api/conductor/namespaces/Oracle/scenarios/Hello%20World?projection=details&startIndex=0&itemsPerPage=10
accept-language: en
content-type: application/xml
accept: application/xml
 
Response:
Status Code:204
Content-Length: 0
X-Powered-By: Servlet/2.5 JSP/2.1
Connection: close
Set-Cookie: JSESSIONID=nyKyM2WdGDL6v6Qsgpn335Vgzs5b7vnS417p9dcTgGrlv3736mmm!822326988; path=/wcps; HttpOnly
Date: Wed, 13 Oct 2010 20:28:45 GMT

68.4.4.6 Execute a Scenario (POST)

XML

Request:
POST http://localhost:7001/wcps/api/conductor/namespaces/Oracle/scenarios/Hello%20World?projection=details&startIndex=0&itemsPerPage=10
accept-language: en
content-type: application/xml
accept: application/xml
 
<?xml version="1.0" encoding="UTF-8"?>
<parameters>
  <parameter>
    <name>input</name>
    <value>input parameter value</value>
  </parameter>
</parameters>
 
Response:
Status Code:200
Content-Length: 348
X-Powered-By: Servlet/2.5 JSP/2.1
Set-Cookie: JSESSIONID=FlFzM2WchrvP59qBJdbSQldb7TvPQPyRj1HsvJJPCQhKrj7z6zs8!822326988; path=/wcps; HttpOnly
Content-Type: application/xml
Date: Wed, 13 Oct 2010 20:28:44 GMT
 
<?xml version="1.0" encoding="UTF-8"?>
<conductorExecutionResults resourceType="urn:oracle:wcps:conductor:genericType">
  <results xmlns:xs="http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xs:string">Hello World with input 'input parameter value'!</results>
</conductorExecutionResults>

JSON

Request:
POST http://localhost:7001/wcps/api/conductor/namespaces/Oracle/scenarios/Hello%20World?projection=details&startIndex=0&itemsPerPage=10
accept-language: en
content-type: application/json
accept: application/json
 
{
  "parameters" : [ {
    "name" : "input",
    "value" : "input parameter value"
  } ]
}
 
Response:
Status Code:200
X-Powered-By: Servlet/2.5 JSP/2.1
Set-Cookie: JSESSIONID=fhJpM2hf45WSGZl3dwwBnMhCkxPbQwQTF9GLZ15QFc42ZQyVKLcj!822326988; path=/wcps; HttpOnly
Transfer-Encoding: chunked
Content-Type: application/json
Date: Wed, 13 Oct 2010 20:45:51 GMT
 
{
  "results" : "Hello World with input 'input parameter value'!",
  "resourceType" : "urn:oracle:wcps:conductor:genericType"
}

68.5 Calling Personalization Client Services Using ELs

Using Expression Language (EL) expressions, you can call Personalization services from remote clients such as web pages and Java Server Faces environments. You can, for example, use ELs to apply Personalization scenarios to pages in WebCenter Portal: Spaces. For more information about Personalization ELs, see also Section G.9, "ELs Related to the Personalization Service."

This section contains the following subsections:

68.5.1 Calling Personalization Client Services from JSF Pages

The Personalization Context is a session-scoped managed bean that is automatically declared and instantiated by the Java Server Faces context, and there for use with the following EL:

#{p13nContext}

Accessing the Conductor context

Access to remote Conductor services can be accessed in the following way:

#{p13nContext.conductor["<UrlOrConnectionName>"]}

where UrlOrConnectionName is a URL to the conductor resource index (for example, http://localhost:7001/wcps/api/conductor/resourceIndex), or a connection name specified in connections.xml (available only within JDeveloper or WebCenter environments).

If the connection name "default" is specified, the first connection name that starts with "Conductor" is retrieved. For example:

#{p13nContext.conductor['default'].namespaces['myNamespace'].scenario['myScenario'].results} 

Accessing the Properties service context

Access to remote Properties Service services can be accessed in the following way:

#{p13nContext.properties["<UrlOrConnectionName>"]}

where UrlOrConnectionName is a URL to the Properties Service resource index (for example http://localhost:7001/wcps/api/property/resourceIndex), or a connection name specified in connections.xml (available only within JDeveloper or WebCenter environments).

If the connection name "default" is specified, the first connection name that starts with "Properties" is retrieved. For example:

#{p13nContext.properties['default'].namespaces['myNamespace'].setDefinitions['MyPropertySetDefinition'].sets['MyPropertySet'].results['MyPropertyName']} 

Configuring the client services for request scope

You may sometimes need to have the Personalization services client use request scope rather than session scope. To do this, configure a custom managed bean in your application's faces-config as shown in the example below:

<managed-bean>
    <managed-bean-name>myP13nContext</managed-bean-name>
    <managed-bean-class>oracle.wcps.client.PersonalizationContext

 </managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
</managed-bean>

68.5.2 Calling Personalization Client Services from JSP Pages

The Personalization client can be used with

JSP pages similarly to the way it is used in Java Server Faces pages (see Section 68.5.1, "Calling Personalization Client Services from JSF Pages"). You must, however, register the bean using <jsp:useBean> as shown in the following example:

<jsp:useBean id="p13nContext" class="oracle.wcps.client.PersonalizationContext" scope="session"/>
<c:out value="${p13nContext.conductor['http://weblogic:webl0gic@localhost:7001/wcps/api/conductor'].namespaces['default'].scenario['my_scenario_name'].withInput['question=Does JSP work?'].results}"/>

If you want to clear the bean's state, you can invoke it using scriptlet code by placing it after the <jsp:useBean> statement:

<jsp:scriptlet>((oracle.wcps.client.PersonalizationContext)session.getAttribute("p13nContext")).reset();</jsp:scriptlet>

68.5.3 Personalization Context Object Method Reference

Table 68-8 shows the Personalization context object methods.

Table 68-8 Personalization Context Object Method Reference

Method Name Description Example

reset

Clears the state of the context object in which it is invoked.

#{p13nContext.reset}
 #{p13nContext.conductor['ConductorConnection'].reset}
#{p13nContext.conductor['ConductorConnection'].namespaces['MyNamespace'].reset}
#{p13nContext.properties['PropertiesConnection'].namespaces['MyNamespace'].setDefinitions['MyPropertySetDefinition'].set['MyPropertySet'].reset} 

update

Updates the property set with new values if bound to a form. This method only applies to the PropertySetContext.

Note: This method can only called as part of a form-based action.

#{p13nContext.properties['PropertiesConnection'].namespaces['MyNamespace'].setDefinitions['MyPropertySetDefinition'].set['MyPropertySet'].update} 

results

Retrieves the results of the context object.

For PropertySetContext, it retrieves the property set by name and property set definitions, if they exist.

For ScenarioExecutionContext and ParameterizedScenarioExecutionContext, the scenario results are retrieved.

#{p13nContext.properties['PropertiesConnection'].namespaces['MyNamespace'].setDefinitions['MyPropertySetDefinition'].set['MyPropertySet'].results}
#{p13nContext.conductor['ConductorConnection'].namespaces['MyNamespace'].scenario['MyScenario'].results}
#{p13nContext.conductor['ConductorConnection'].namespaces['MyNamespace'].scenario['MyScenario'].withInput['input1=val1;input2=value2;input3=value3'].results} 

withInput

Executes a scenario by name with input parameters. Input parameters must be in the format:

<paramOne>=<valueOne>;<paramTwo>=<valueTwo>;<paramThree>=<valueThree>

where each parameter name and value is separated by semicolon. This method only applies to ScenarioExecutionContext.

#{p13nContext.conductor['ConductorConnection'].namespaces['MyNamespace'].scenario['MyScenario'].withInput['input1=val1;input2=value2;input3=value3'].results} 

isError

Determines if an error has occurred in the current context object. Only applies to PropertySetContext and ~ScenarioExecutionContext.

#{p13nContext.conductor['ConductorConnection'].namespaces[myManagedBean.namespace].scenario[myManagedBean.scenario].isError}
#{p13nContext.properties['PropertiesConnection'].namespaces['MyNamespace'].setDefinitions['MyPropertySetDefinition'].set['MyPropertySet'].isError}  

errorMessage

Returns the error message if an error has occurred in the current context object. Only applies to PropertySetContext and ~ScenarioExecutionContext.

#{p13nContext.conductor['ConductorConnection'].namespaces[myManagedBean.namespace].scenario[myManagedBean.scenario].errorMessage}
#{p13nContext.properties['PropertiesConnection'].namespaces['MyNamespace'].setDefinitions['MyPropertySetDefinition'].set['MyPropertySet'].errorMessage}  

68.5.4 Enabling Single Sign-on

To enable single sign-on, access to the HttpServletRequest must be available for both JSF and JSP environments. An implementation of javax.servlet.Filter (PersonalizationFilter) puts the HttpServletRequest on ThreadLocal for access within the client as shown in the example below:

<filter>
     <description>Personalization Filter for staging client-side objects.</description>
     <filter-name>PersonalizationFilter</filter-name>
     <filter-class>oracle.wcps.client.PersonalizationFilter</filter-class>
</filter>
    
<filter-mapping>
     <filter-name>PersonalizationFilter</filter-name>
     <url-pattern>/*</url-pattern>
     <dispatcher>REQUEST</dispatcher>
</filter-mapping>

This filter is automatically configured in the wcps-services-client-web-lib.