Bookshelf Home | Contents | Index | PDF |
Oracle Web Services On Demand Guide > Web Services On Demand API Calls > Web Services v2.0 API Calls > The Field-level Replace OperationFor the Web Services v2.0 Update and Execute method calls you can specify the operation attribute with the value <CampaignUpdate_Input xmlns="urn:crmondemand/ws/ecbs/Campaign/"> <CustomObject1Id operation="replace">1QA2-LVL4X</CustomObject1Id> In this example, the existing association between the campaign parent and the custom object child record is replaced with an association between the campaign parent and the custom object record with the ID: 1QA2-LVL4X. The list of objects and reference ID fields that support the replace operation in the current release is shown in Table 30. Changes to WSDL FilesTo enable the field-level replace operation, the data types for many elements in WSDL files were changed from the string to OperationData data type in Oracle CRM On Demand Release 26. For example, in the Web services v2.0 WSDL file for Service Request in Release 25: <xsd:element name="CustomObject1Id" maxOccurs="1" minOccurs="0" type="xsd:string" /> and for the WSDL for Service Request in Release 26 and later: <xsd:element name="CustomObject1Id" maxOccurs="1" minOccurs="0" type="xsdLocal1:OperationData" /> The definition of the OperationData type is as follows: <xsd:complexType name="OperationData"> <xsd:extension base="xsd:string"> <xsd:attribute name="operation" type="xsd:string" /> This change will not regress existing proxy classes and integrations generated using WSDL files from before Release 26. However, if you are planning to generate fresh proxy classes from WSDL files from Release 26 and later, you must enhance your integration to use the OperationData data type. Also, note that upgraded Release 26 proxies and updated integrations will be able to consume the OperationData data type value against a Release 25 environment only if the replace functionality is not used. In other words, you cannot use the operation attribute against an environment based on an older release than Release 26. |
Oracle Web Services On Demand Guide, Version 26.0 (Oracle CRM On Demand Release 38) | Copyright © 2019, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |