3 Replies Latest reply: Sep 20, 2012 10:08 PM by 564035 RSS

    Business Service to updated Adjustment Characteristics

    564035
      Hi,
      In ETM 2.2 I am trying to write a business service to update adjustment characteristics.

      I created a BS with following details:

      name: CM-AdjustmentChars
      Service Name : CILAADUP
      Schema:
      <schema pageAction="update">
      <adjustmentId mapField="ADJ_ID"/>
      <langCd mapField="LANGUAGE_CD"/>
      <characteristics type="list" mapList="ADJ_CHAR">
      <AdjId mapField="ADJ_ID"/>
      <charTypeCd mapField="CHAR_TYPE_CD"/>
      <seqNum mapField="SEQ_NUM"/>
      <charVal mapField="CHAR_VAL"/>
      <adhocCharVal mapField="ADHOC_CHAR_VAL"/>
      <charValFk1 mapField="CHAR_VAL_FK1"/>
      </characteristics>
      </schema>


      I created a test XAI service for testing purpose, and invoked it with the following XML Document:

      <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cm="http://oracle.com/cm_test_CM-FW-AddAdjustmentChars.xsd">
      <soapenv:Header/>
      <soapenv:Body>
      <cm:cm_test_CM-FW-AddAdjustmentChars faultStyle="wsdl">
      <cm:adjustmentId>742757796534</cm:adjustmentId>
      <cm:langCd>ENG</cm:langCd>
      <cm:characteristics>
      <cm:AdjId>742757796534</cm:AdjId>
      <cm:charTypeCd>UMCLSTAT</cm:charTypeCd>
      <cm:seqNum>1</cm:seqNum>
      <cm:charVal>UNCLAIMED</cm:charVal>
      </cm:characteristics>
      </cm:cm_test_CM-FW-AddAdjustmentChars>
      </soapenv:Body>
      </soapenv:Envelope>

      The error response was :



      <?xml version="1.0" ?>
      <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
      <soapenv:Body >
      <soapenv:Fault >
      <faultcode>soapenv:Client</faultcode>
      <faultstring>Client Error</faultstring>
      <detail>
      <ouaf:Fault xmlns:ouaf="urn:oracle:ouaf">
      <ResponseStatus>F</ResponseStatus>
      <ResponseCode>1016</ResponseCode>
      <ResponseText>Unexpected error during request processing. (Server Message)
           Category: 25
           Number: 11110
           Call Sequence: ;CIPZMSGG;CIPCADFN;CIPAADUP
           Program Name: CIPAADUP
           Text: Language Code is missing.
           Description:
           Table:
           Field: </ResponseText>
      <ResponseData text="Unexpected error during request processing. (Server Message)
           Category: 25
           Number: 11110
           Call Sequence: ;CIPZMSGG;CIPCADFN;CIPAADUP
           Program Name: CIPAADUP
           Text: Language Code is missing.
           Description:
           Table:
           Field: " category="11011" numParm="1" parm1="(Server Message)
           Category: 25
           Number: 11110
           Call Sequence: ;CIPZMSGG;CIPCADFN;CIPAADUP
           Program Name: CIPAADUP
           Text: Language Code is missing.
           Description:
           Table:
           Field: " number="1016" />
      </ouaf:Fault>
      </detail>
      </soapenv:Fault>
      </soapenv:Body >
      </soapenv:Envelope>


      Noting that the Maintenance object of Adjustment is "Read Only" in
      Any idea how can I achive this ?