3 Replies Latest reply: Sep 24, 2012 2:51 PM by Luckys RSS

    OUAF / MDM 2.0.1 / XAI Inbound Service - SyncRequestInbound

    dfilgueiras
      I am trying to "import" an Device from my system to MDM using D1-SyncRequestInbound, but some errors have occurred. Can someone post an example ?

      This is my xml:

      <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:d1="http://oracle.com/D1-SyncRequestInbound.xsd">
      <soapenv:Header/>
      <soapenv:Body>
      <d1:D1-SyncRequestInbound dateTimeTagFormat="xsd" transactionType="?">

      <d1:externalReferenceId>1</d1:externalReferenceId>
      <d1:initialLoad>F1IL</d1:initialLoad>

      <d1:bo>D1-InitialSyncRequestDevice</d1:bo>
      <d1:targetMo>D1-DEVICE</d1:targetMo>
      <d1:targetBo>D1-DEVICE</d1:targetBo>
      <d1:externalSystem>CM-EXT1</d1:externalSystem>
      <d1:externalPkValue1>1</d1:externalPkValue1>

      <d1:syncRequestDetails>
      <d1:original>
      <d1:initialSnapshot>
      <d1:deviceType>CM-METER-TYPE1</d1:deviceType>
      <d1:manufacturer>CM-MANUF1</d1:manufacturer>
      <d1:model>CM-MODEL1</d1:model>
      </d1:initialSnapshot>
      </d1:original>
      </d1:syncRequestDetails>

      </d1:D1-SyncRequestInbound>

      </soapenv:Body>
      </soapenv:Envelope>
        • 1. Re: OUAF / MDM 2.0.1 / XAI Inbound Service - SyncRequestInbound
          Luckys
          Below should work provided you have created/configured:
          - External System : CM-EXT1
          - Device Type: CM-METER-TYPE1
          - Manufacturer/Model : CM-MANUF1 / CM-MODEL1

          You SHOULD NOT define <bo> element, it'll be derived based on <initialLoad> tag, i.e. F1IC - Ongoing Sync/Incremental Sync and F1IL - Initial Load.

          <finalSnapshot> is what you need and you should be at least SP5 or above, if below you'd have to apply appropriate patch.
          <D1-SyncRequestInbound>
            <externalReferenceId>32100057871898</externalReferenceId>
            <initialLoad>F1IC</initialLoad>
            <targetMo>D1-DEVICE</targetMo>
            <externalSystem>CM-EXT1</externalSystem>
            <externalPkValue1>1</externalPkValue1>
            <externalPkValue2 />
            <externalPkValue3 />
            <externalPkValue4 />
            <externalPkValue5 />
            <syncRequestDetails>
              <original>
                <initialSnapshot>
                  <customElements />
                  <formattedElements>
                    <formattedElements />
                  </formattedElements>
                </initialSnapshot>
                <finalSnapshot>
                  <deviceType>CM-METER-TYPE1</deviceType>
                  <boStatus>ACTIVE</boStatus>
                  <manufacturer>CM-MANUF1</manufacturer>
               <model>CM-MODEL1</model>
                  <customElements />
                  <formattedElements />
                </finalSnapshot>
              </original>
            </syncRequestDetails>
          </D1-SyncRequestInbound>
          • 2. Re: OUAF / MDM 2.0.1 / XAI Inbound Service - SyncRequestInbound
            dfilgueiras
            Thank you. With your help I made some progress.

            Now the following error ocurred:
                           <ResponseStatus>F</ResponseStatus>
                           <ResponseCode>1016</ResponseCode>
                           <ResponseText>Unexpected error during request processing. (Server Message)
                 Category: 11001
                 Number: 401
                 Call Sequence: 
                 Program Name: ServiceBeanSessionHelper$1$1
                 Text: D1-SeederSyncMasterConfig not found
                 Description: There is nothing on the database that corresponds to the value entered.
                 Table: null
                 Field: null</ResponseText>
            • 3. Re: OUAF / MDM 2.0.1 / XAI Inbound Service - SyncRequestInbound
              Luckys
              I think you are missing the base/core setup, have you executed BPA Scripts : D2-AddCCBAlg and D2-PopMstCfg.
              You will have to go through Oracle Utilities CCB-MDM Integration Implementation Guide for more details.