Oracle Web Services On Demand Troubleshooting Guide > Error Codes: Causes and Solutions >

SBL-ODS-50642


This error code has no error symbol.

Generic Error Message

One or more required fields are missing. You must provide a value for PrimaryId or PrimaryExternalSystemId, DuplicateId or DuplicateExternalSystemId (SBL-ODS-50642).

Causes and Solutions

When invoking the MergeRecords method to merge two records, the required combination parameters PrimaryId or PrimaryExternalSystemId and DuplicateId or DuplicateExternalSystemId is missing.

Error Message

One or more required fields are missing. You must provide a value for PrimaryId or PrimaryExternalSystemId, DuplicateId or DuplicateExternalSystemId (SBL-ODS-50642).

Incorrect SOAP Request

In the following incorrect SOAP request, a value for <DuplicateExternalSystemId> or <DuplicateId> is not provided:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

   <soap:Header>

      <wsse:Security>

         <wsse:UsernameToken>

            <wsse:Username>%%%USERNAME%%%</wsse:Username>

            <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">%%%PASSWORD%%%</wsse:Password>

         </wsse:UsernameToken>

         </wsse:Security>

   </soap:Header>

   <soap:Body>

      <MergeRecordsWS_MergeRecords_Input xmlns="urn:crmondemand/ws/mergerecords/">

         <PrimaryId>ADSA-9L5KXH</PrimaryId>

         <PrimaryExternalSystemId />

         <DuplicateExternalSystemId />

         <DuplicateId />

         <MergeWhenPrimaryBlank>true</MergeWhenPrimaryBlank>

         <RecordType>Contact</RecordType>

      </MergeRecordsWS_MergeRecords_Input>

   </soap:Body>

</soap:Envelope>

Resolving Error SBL-ODS-50642

Check the request to ensure either a PrimaryId or PrimaryExternalSystemId field is present, and also make sure that either the DuplicateId or DuplicateExternalSystemId field is present.

Correcting the SOAP Request

To correct the SOAP request, add either a value for <DuplicateExternalSystemId> or <DuplicateId> to your Web service request:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

   <soap:Header>

      <wsse:Security>

         <wsse:UsernameToken>

            <wsse:Username>%%%USERNAME%%%</wsse:Username>

            <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">%%%PASSWORD%%%</wsse:Password>

         </wsse:UsernameToken>

      </wsse:Security>

   </soap:Header>

   <soap:Body>

      <MergeRecordsWS_MergeRecords_Input xmlns="urn:crmondemand/ws/mergerecords/">

         <PrimaryId>ADSA-9L5KXH</PrimaryId>

         <PrimaryExternalSystemId />

         <DuplicateExternalSystemId>ABC1212</DuplicateExternalSystemId>

         <DuplicateId />

         <MergeWhenPrimaryBlank>true</MergeWhenPrimaryBlank>

         <RecordType>Contact</RecordType>

      </MergeRecordsWS_MergeRecords_Input>

   </soap:Body>

</soap:Envelope>

Oracle Web Services On Demand Troubleshooting Guide Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Legal Notices.