cancel
Showing results for 
Search instead for 
Did you mean: 

file adapter

Former Member
0 Kudos

i have a scenario in which i have a data in flatfile,but this data cannot be accessed by file adapter?how can i send data in xi?

regards,

joshi

Accepted Solutions (0)

Answers (3)

Answers (3)

justin_santhanam
Active Contributor
0 Kudos

Nitesh,

Why can't it be accessed? Did you got any error. Have you tried file content conversion option.

Can u be more specific.!!

Best regards,

raj.

Former Member
0 Kudos

Hi

You can use http Adapter

regards

krishna

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

>>>You can use http Adapter

to read a file ?

Regards,

michal

Former Member
0 Kudos

Mike,

We can send a file over http post ,right???

regards

krishna

Former Member
0 Kudos

Hi Krishna,

HTTP with attachments is not supported by XI .

Cheers,

Sumit

Former Member
0 Kudos

Sumit,

Have you seen how the http client works?

It does not send a file as an additional attachment but as its payload. Here is the code chunk

var xmlDoc = new ActiveXObject("microsoft.xmldom");

xmlDoc.async=false;

xmlDoc.load (document.MessageParameters.xmlFile.value);

xhttp.send (xmlDoc);

regards

krishna

Former Member
0 Kudos

Hi Krishna,

That is true. But i thought i would update with the other info.

ie attachment is not supported.

Thanks ,

Sumit

Former Member
0 Kudos

Alrite

regards

krishna

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

>>>>flatfile,but this data cannot be accessed by file adapter?

cannot be accessed because?

Regards,

michal

-


<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>