cancel
Showing results for 
Search instead for 
Did you mean: 

File interface

Former Member
0 Kudos

Hello..

Currently i'm doing file to http interface..

I wanted to know is there any possibility that i can send the file from XI to http url....

how can grap the file from local machine to XI directly???

thanks..

SP

Accepted Solutions (1)

Accepted Solutions (1)

Homiar
Advisor
Advisor
0 Kudos

SP,

You can use File adapter (for Sender) & Plain HTTP (for Receiver) {or FTP adapter if you want to simply FTP the file rather than use HTTP}.

In order to grap the file from a local machine (using File adapter), there are 2 options :

(a) Install Local Adapter Engine (WAS with J2EE stack)

(b) Map your local drive, if your Basis & Network folks allow.

Regards,

Homiar.

Former Member
0 Kudos

>>(b) Map your local drive, if your Basis & Network folks >>allow.

most of the time Basis team will not allow you do this. you will be better off using a mapped/mounted drive that is blessed by ur basis team. you can using FTP tools move ur file to that location. XI can then pick up the file.

Cheers,

Naveen

Former Member
0 Kudos

thanks Naveen..

But i need help in...IB..

like..if i wanted to send one file...

how meny data types,message types i have to create???is one is enough???

like how meny message interfaces???do i need to message mapping???

Thanks..

SP

Homiar
Advisor
Advisor
0 Kudos

SP,

You will need atleast 1 Data Type & corresponding Message Type. If your data needs to be formatted and/or mapped, you will also need to create Message Interface(s) & Message Mapping.

Homiar.

Former Member
0 Kudos

Thanks for reply..

I don't need any formatted ...so...

1)one data type

2)corresponding message type

after that i can directly go to i'directory???

1)import a biz system

2)create 2 communication channels...

is that sufficient???is there any thing else i have to do???

Thanks..

SP

Former Member
0 Kudos

Hi SP,

U need to create message Interface corrosponding to eh inbound and outbound Mesage types.Then you need to do Message Mapping and interface mapping.

In ID, after creating CCs you need to do routing rules.

Sender Agreement

Recv Determination & Interface Determination

Receiver Agreement

Cheers,

Rashmi

former_member187339
Active Contributor
0 Kudos

Hi SP,

<b>In IR</b>

1) Create DT, MT and MI for File and HTTP. So total 2 DT, 2 MT and 2 MI will be there.

2) Create MM between File_MT and HTTP_MT.

3) Create IM between File_MM and HTTP_MM.

<b>IN ID</b>

1) Import Biz system.

2) Create Communication channel for File(Sender) and HTTP (receiver)

3) Create Sender Agreement, Receiver Determination, Interface Determionation and Receiver Agreement.

Hope this will be helpful.

Regards

Suraj

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

check this weblog.

<a href="/people/kausik.medavarapu/blog/2005/12/29/csv-file-lookup-with-http-request-and-response-in-xi">/people/kausik.medavarapu/blog/2005/12/29/csv-file-lookup-with-http-request-and-response-in-xi</a>

Regards,

Sudharshan

Former Member
0 Kudos

Hi,

>> wanted to know is there any possibility that i can >>send the file from XI to http url....

yes you can, use sender fileadapter and reciever HTTP adapter.

>>how can grap the file from local machine to XI >>directly???

sender file adapter can pick the file

Naveen