cancel
Showing results for 
Search instead for 
Did you mean: 

file adapter error in RWB

Former Member
0 Kudos

<b><i>Error: Conversion of complete file content of 'xi_ftf2ftf_input.dat' to XML format failed around position 0: IOException: Stream closed</i></b>

Any clue how I can trouble shoot this. I'm trying the flat file to flat file scn.

Ste.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Ste,

Please check out in Content conversion parameters in your file Adapter (Sender)

thanks,

Kalyan

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Ste,

Try giving the Document name and Namespace.

I tried your FCC on my server and got the following XML generated with no errors:

<?xml version="1.0" encoding="utf-8"?>

<Contact_MT>

<ns:Contact xmlns:ns="http://abc">

<Details>

<NAME>ste</NAME>

<PHONE>10101011</PHONE>

<Address>usa</Address>

</Details>

<Details>

<NAME>sdn</NAME>

<PHONE>23232323</PHONE>

<Address>germany</Address>

</Details>

</ns:Contact>

</Contact_MT>

Regards

Pravesh

Former Member
0 Kudos

Hi Pravesh

Where u got this XML generated?

I tested the message mapping... It passed. But the file is not picked up and deleted...

any idea why

I tried with 'nl' too ... still failing

<i>- 2007-11-01 23:05:01 EST: Error: Conversion of complete file content of 'xi_ftf2ftf_input.txt' to XML format failed around position 0: IOException: Stream closed

- 2007-11-01 23:05:00 EST: Processing started</i>

I noticed when I tried to open the file from the server its not opening the content but instead its asking me to save to local and then I can open it. I doubt this could be the problem.

Former Member
0 Kudos

hi pete,

u r getting an IOException. plz make sure that the OS level directory is accessible with appropriate read/write permissions.

regards,

latika.

Former Member
0 Kudos

Hi Ste ,

I tried ur FCC paramets with document name and namespace with no design time activity,i.e no MM,IM, only with dummy interface and dummy namespace while creating CS and it was picked up with no errors and the XML u are seeeing there is from payload in SXMB_MONI.

Pravesh

nisarkhan_n
Active Contributor
0 Kudos

1. make sure you have full acess to the folders

2. your FCC paramters are not fine....

0 Kudos

hi ste,

are u using Cerebrus FTP server ?

if yes then open it and on its menubar open user accounts and in that change propeties of FTP root directory in anonymous account. Tick all the check boxes(i.e upload,Delete,create etc) may be ur porblem will get resolved then.

regards,

amit

Former Member
0 Kudos

Is the error persistent? I guess this error is due to some network connectivity problem.

If the problem is persistent, try with out FCC and see if the file gets picked up as expected.

Regards,

Jai Shankar

Former Member
0 Kudos

Hi,

First did you test your mapping program ?

Second if you are using FCC parameters then have a look again the problem lies there.

If you an give additonal info here it will be wasy to sort i.e ur data type and fcc paramters being used.

<b>Cheers,

*RAJ*</b>

Former Member
0 Kudos

FCC:

Recordset Name CONTACTS

Recordset Structure DETAILS,*

Recordsets per Message *

DETAILS.fieldSeparator ,

DETAILS.endSeparator nl

DETAILS.fieldNames NAME,PHONE,Address

input file saved as xi_ftf2ftf_input.dat

ste,10101011,usa

sdn,23232323,germany

do i need to add any more parameters.. .

Former Member
0 Kudos

Hi.

DETAILS.endSeparator nl

Should be

DETAILS.endSeparator ---> <b>'nl'</b>

<b>Cheers,

*RAJ*</b>