Import Value Set Values to Oracle Applications Cloud

This example demonstrates how to use the information in the Developer Connect portal to import value set values to Oracle Applications Cloud.

Suppose a fictional partner application wants to extend it with certain functionality available in another application. Instead of creating the required business objects and attributes in this application, you can import them using a web service. Before you proceed with the import process, enable the access permissions for the web service and review the information in the Developer Connect portal:

  • Synchronize the web services information

  • Review the web service details

  • Update the request payload

Synchronizing Web Services Information

You must synchronize the Developer Connect portal with your Oracle Applications Cloud instance to get the latest web service information. Follow these steps:

  1. From the Navigator menu, select Tools > Developer Connect.

  2. Click Synchronize.

    Note: The Last Refreshed date indicates when the Developer Connect portal was last synchronized with your cloud instance.

Searching And Reviewing Web Service Information

On the Web Services overview page, you can enter Manage File Import and Export in the Find field. You can also use Advanced Search option to find web service names that contain import, and select the relevant service from the search results.

To review the information:

  1. On the Web Services overview page, select Manage File Import and Export Service. The Summary panel shows information such as the display name, business object that the service defines, life cycle status, QName, security policy used, and a brief overview of the service.

  2. Click the Operations tab to view the operations supported by the web service.

  3. Click the uploadFiletoUCM operation and review the result parameter in the response payload. This parameter holds the file ID in the WebCenter Content repository from which the value set values are imported.

  4. Click the valueSetValuesDataLoader operation and review the fileIdAtRepository parameter in the request payload. This parameter holds the file ID in the WebCenter Content repository.

  5. Click WSDL File link of the service to download the web service information.

Updating Request Payload

To add a sample payload to import the value set values:

  1. Click the Sample Payloads tab and then click Add Sample Payload.

  2. Select uploadFiletoUCM from the operation name list.

  3. Enter a brief description of the payload in the description text box.

  4. Add the payload to get the file ID from the WebCenter Content repository:

    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
     <soap:Body>
     <ns1:uploadFiletoUCM 
    xmlns:ns1="http://xmlns.oracle.com/oracle/apps/fnd/applcore/webservices/types/"
      ns2="http://xmlns.oracle.com/oracle/apps/fnd/applcore/webservices/" 
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    
      <ns1:document xsi:type="ns2:DocumentDetails">
      <ns2:fileName>VS123.txt</ns2:fileName>
      <ns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MDMtMDEgMDE6MDA6MDAuMDB8fHwyMDMxLTAzLTAxIDAxOjAwOjAwLjAwfDIwM
    zEtMDMtMDEgMDE6MDE6MDAuMDB8fHwyMDMxLTAzLTAxIDAxOjAxOjAwLjAwfHxUZXN0aW5nIGZvciBCdWcgMTczNzU2O
    DR8WXwyMDExLTAxLTAxfDIwMTItMDEtMzB8NHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHwKUkVMN19CNl9WU
    19EQVRFVElNRV9ERVB8MjAzMS0wMy0wMSAwMTowMDowMC4wMHx8fHwyMDMxLTAzLTAxIDAxOjAyOjAwLjAwfHx8fHxUZ
    XN0aW5nIGZvciBCdWcgMTczNzU2ODR8WXwyMDExLTAxLTAxfDIwMTItMDEtMzB8NHx8fHx8fHx8fHx8fHx8fHx8fHx8f
    Hx8fHx8fHx8fHwK
       </ns1:content>
      <ns2:documentAccount>fin$/tax$/import$</ns2:documentAccount>
      <ns2:documentTitle>VS</ns2:documentTitle>
     </ns2:document>
     </ns1:uploadFiletoUCM>
     </soap:Body>
    </soap:Envelope>
  5. Click OK.

  6. Select valueSetValuesDataLoader from the operation name list.

  7. Enter a brief description of the payload in the description text box.

  8. Add the payload to read the contents from the file and import the value set values:

    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
     <soap:Body>
     <ns1:valueSetValuesDataLoader 
    xmlns:ns1="http://xmlns.oracle.com/oracle/apps/fnd/applcore/webservices/types/">
     <ns1:fileIdAtRepository>1234</ns1:fileIdAtRepository>
     </ns1:valueSetValuesDataLoader>
     </soap:Body>
    </soap:Envelope>