Wednesday, April 30, 2008

BPEL: File Adapter - Write Opeartion

Problem:Can we use File Adapter to write in a file in append mode. i.e. a BPEL process opening a file appending some text and closing the file each time it called.


Solution:
To write a file in append mode, you need to add one line in wsdl file.

Make an entry with Append="true"
inside tag found in wsdl file, created after Write file adapter.

PhysicalDirectory="C:\TMP"
InteractionSpec="oracle.tip.adapter.file.outbound.FileInteractionSpec"
FileNamingConvention="write.txt"
OpaqueSchema="true"
Append="true">

4 comments:

  1. for me this append=true not working ...i am using 10.1.3.1 soa basic install

    ReplyDelete
  2. Hi,

    Are you using append="true" or append=true?

    ReplyDelete
  3. which one is right ? the one with quotes or w/o quotes ?

    ReplyDelete
  4. It works with quotes.

    append="true"

    Cheers,
    Abhishek

    ReplyDelete