0 Replies Latest reply: Nov 28, 2011 8:27 AM by 811398 RSS

    File Adapter  sync reading error

    811398
      I am getting the following error trying to read a pdf file using file adapter

      <assign name="Assign2">
      <copy>
      <from variable="receiveInput_process_InputVariable" part="filename"/>
      <to variable="file"/>
      </copy>
      <copy>
      <from variable="receiveInput_process_InputVariable" part="filename"/>
      <to variable="Invoke1_SynchRead_InputVariable" part="filename"/>
      </copy>
      </assign>
      <invoke name="Invoke1"
      inputVariable="Invoke1_SynchRead_InputVariable"
      outputVariable="Invoke1_SynchRead_OutputVariable"
      partnerLink="ReadBomFile" portType="ns7:SynchRead_ptt"
      operation="SynchRead" bpelx:invokeAsDetail="no">
      <bpelx:inputProperty name="jca.file.FileName"
      variable="file"/>
      </invoke>
      <assign name="Assign1">
      <copy>
      <from variable="receiveInput_process_InputVariable" part="filename"/>
      <to variable="replyOutput_process_OutputVariable" part="filename"/>
      </copy>
      <copy>
      <from variable="Invoke1_SynchRead_OutputVariable" part="opaque"/>
      <to variable="replyOutput_process_OutputVariable" part="filestream"/>
      </copy>
      </assign>

      error i am getting

      <messages>
      <input>
      <Invoke1_SynchRead_InputVariable>
      <part name="filename">
      <filename xsi:type="xsd:string">Bom.pdf</filename>
      </part>
      </Invoke1_SynchRead_InputVariable>
      </input>
      <fault>
      <bpelFault>
      <faultType>0</faultType>
      <bindingFault>
      <part name="summary">
      <summary>Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'SynchRead' failed due to: null". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. </summary>
      </part>
      <part name="detail">
      <detail>null</detail>
      </part>
      <part name="code">
      <code>null</code>
      </part>
      </bindingFault>
      </bpelFault>
      </fault>
      <faultType>
      <message>0</message>
      </faultType>
      </messages>


      Thanks
      Thomas