2 Replies Latest reply on Jan 31, 2008 3:13 PM by 88416

    Problem with d3l-ftp-adapter

    439096
      Hi,
      I've setup an ftp-adapter in d3l mode where the eventname and Objectname in iStudio match with the declaration in the d3l-file.
      But somehow I get an error: java.lang.RuntimeException: unknown attribute `ContractmutatiesNavfin' in `contracten null
      '
      at oracle.oai.agent.adapter.technology.D3LMessageData.get


      What can be wrong?

      d3l definition:
      <?xml version="1.0" encoding="US-ASCII"?>
      <!DOCTYPE message SYSTEM "d31.dtd">
      <message type="Contractmutaties" name="ContractmutatiesNavfin" object="contracten" header="filename" value="NAV-CON-MUT%">

      <imparray id="ContractmutatiesArray">
      <typeref type="ContractmutatiesType"/>
      </imparray>

      <struct id="ContractmutatiesType">
      <field name="Bedrijfsnummer"><termstring endchar=";"/></field>
      <field name="Mutatienummer"><termstring endchar=";"/></field>
      <field name="Totaal"><termstring endchar=";"/></field>
      <field name="Aantalregels"><termstring endchar="\r\n"/></field>
      </struct>

      <struct id="Contractmutaties">
      <field name="line"><typeref type="ContractmutatiesArray"/></field>
      </struct>
      </message>


      adapter logging:
      Wed Sep 06 14:30:56 CEST 2006: Service started successfully.
      Wed Sep 06 14:31:21 CEST 2006: Transport logs:
      File: NAV-CON-MUT-1regel.csv - dir: oaitmp
      Wed Sep 06 14:31:21 CEST 2006: Successfully matched value NAV-CON-MUT-1regel.csv of header filename against pattern NAV-CON-MUT% belonging to D3L ContractmutatiesNavfin.xml
      Wed Sep 06 14:31:21 CEST 2006: Bridge { agent=oracle.oai.agent.client.AgentImpl@e14d81 application=NAVFIN_FTP partition=null active=true #d3ls=2 } encountered the following problem while receiving a message from external application
      java.lang.RuntimeException: unknown attribute `ContractmutatiesNavfin' in `contracten null
      '
      at oracle.oai.agent.adapter.technology.D3LMessageData.get(D3LMessageData.java:125)
      at oracle.oai.agent.client.AgentImpl.fillInAOFromMessageData(AgentImpl.java:429)
      at oracle.oai.agent.client.AgentImpl.initMessageFromEventMap(AgentImpl.java:416)
      at oracle.oai.agent.client.AgentImpl.createMessageObject(AgentImpl.java:193)
      at oracle.oai.agent.adapter.technology.TechBridge.run(TechBridge.java:706)
      at java.lang.Thread.run(Thread.java:534)
      Wed Sep 06 14:31:21 CEST 2006: Transport logs:
      [IPT_RecProcessingError] Error encountered while processing message received on Wed Sep 06 14:31:18 CEST 2006.
      Wed Sep 06 14:31:21 CEST 2006: Transport logs:
      [IPT_RecMessageMoved] Failed message moved to exception location file://localhost/u1/app/oracle/product/appl1012/integration/interconnect/adapters/ftpNAVFIN/ftpfiles/inbound_errors.
      Wed Sep 06 14:31:21 CEST 2006: Transport logs:
      [IPT_RecPurgeMessage] Purged processed message.