Oracle Migration Tool On Demand Guide > Getting Started with Oracle Migration Tool On Demand >

XML Templates and Web Services Description Language


Certain Oracle CRM On Demand features have elements that might be required, might require a default value, or might be optional. Understanding how these elements are categorized helps you understand how to read and comprehend the information in an XML template. This topic helps you to determine which elements are required for migrating configuration data.

To understand the elements, you must download the Web Services Description Language (WSDL) for each feature that you want, and scan through each WSDL. After downloading the WSDL to your computer, view the content with an editor (for example, Notepad). As you scan the WSDL, take note of the elements with defined minOccurs and maxOccurs values. For more information about downloading WSDLs, see Downloading Administrative Web Services WSDLs from Oracle CRM On Demand.

The minOccurs value and maxOccurs value are attributes of the <xsd:element> element in the XSD schema language. These attributes determine whether the element defined by <xsd:element> in a WSDL file is optional, and how many times the element can occur in an XML file. For example, the following entry in a WSDL file indicates that the <Name> element is required.

<xsd:element name="Name" maxOccurs="1" minOccurs="1" type="apData:string100" />

Table 7 describes the values for minOccurs and maxOccurs.

Table 7. minOccurs and maxOccurs Values
minOccurs
maxOccurs
Description

0

1

The element is not required. If it is included, then a maximum of one entry can exist.

0

unbounded

The element is not required. If it is included, then it can exist multiple times.

1

1

The element is required, but it exists only once.

1

unbounded

The element is required, but it can exist multiple times.

About Web Services APIs

For information about the APIs provided by Oracle CRM On Demand Web Services and other administration Web services, see Oracle Web Services On Demand Guide, which is available from the Oracle CRM On Demand documentation library on Oracle Technology Network (OTN). This guide is also available from the Oracle CRM On Demand application by clicking Admin, Web Services Administration, and then Download Documentation.

NOTE:  Oracle CRM On Demand Web Services provides additional functionality that is not available with the Oracle Migration Tool On Demand client, such as the migration of currency picklists and industry picklists. Also, for some features, Oracle CRM On Demand Web Services allows you to use the <IncludeAll> argument to extract the preconfigured data as well as the customized data, and to use the <CurrentUserOnly> argument to extract the configuration data for the current user only.

Downloading Administrative Web Services WSDLs from Oracle CRM On Demand

To download an Administrative Web services WSDL from Oracle CRM On Demand, complete the steps in the following procedure.

NOTE:  To download Administrative Web services WSDLs other than the Access Profiles WSDL, your user role must have the Customize Application privilege. To download the Access Profile WSDL or the Assessments Scripts WSDL, your user role must have the Manage Roles and Access privilege.

To download an Administrative Web services WSDL from Oracle CRM On Demand

  1. Sign in to Oracle CRM On Demand as a company administrator, and click Admin.
  2. Under Web Services Integration, click Web Services Administration.
  3. From the Select Service drop-down list, select Administrative Services.
  4. From the WSDL Object list, select the required feature, for example, Homepage Layout.
  5. Click Download.
  6. Save the selected WSDL to a known location on your computer, for example:

    C:\Migration Tool On Demand\WSDL

Oracle Migration Tool On Demand Guide, Release 35 Copyright © 2017, Oracle and/or its affiliates. All rights reserved. Legal Notices.