Monday, August 17, 2009

Appending multiple records to single output file

Hi ,


If you need have the outpuf file to append the processed records into one consolidated file.

With in the fileadapter.wsdl of the fileadapter you need to add the following property to


jca:operation
append="True"
/jca:operation

This can assure that all the output records gets appended to form a single consolidated file.

Regards,
P

NameSpace in output xml

Hi,

I came across this issue as the output of the xml is accompained with a namespace and i wanted was just xml sooo in order to achieve the desired output in the target schema changing the elementformDefault="unqualified".

This can help out in getting the desired output.

Regards,
P

Dynamically reading files from a directory

You can configure as per this
http://darwin-it.blogspot.com/2008/03/configuration-of-ftp-synchronous-get.html

This will help u providing and file and directory name dynamically


solution:
1. Double click Invoke activity invoking the syncread.
2. Go to adapters tab and create new variable:
a. Click the torch icon.
b. Create the variable using fileadapteroutboundheader.wsdl message type.
3. Now before invoke activity put an assign activity and assign the filename that you are getting from the db to the above created variable.
4. You are done. Deploy the process, test and revert if this works/!works.


Regards,
P