cancel
Showing results for 
Search instead for 
Did you mean: 

Configuration a HTTP communicationschannel

Former Member
0 Kudos

Hi,

I have a cenarie where a flat file/ tekst file is to be sent to PI using an HTTP adapter. I have to do contentconversion so I have a XML wich I can map to an idoc.

My question is how can i configure my HTTP communications channel to convert the flat file to xml file ?.

Regards

Ugur

Accepted Solutions (1)

Accepted Solutions (1)

prateek
Active Contributor
0 Kudos

A simple solution would be creating HTTP - File and File - Idoc.

Balaji, what was that reply for?

Regards,

Prateek

balaji_pichaimuthu
Active Participant
0 Kudos

@prateek....

yes I was total idiot to give that reply .... LOL

Regards

Balaji

Answers (3)

Answers (3)

Shabarish_Nair
Active Contributor
0 Kudos

>

> Hi,

> I have a cenarie where a flat file/ tekst file is to be sent to PI using an HTTP adapter. I have to do contentconversion so I have a XML wich I can map to an idoc.

>

> My question is how can i configure my HTTP communications channel to convert the flat file to xml file ?.

>

> Regards

> Ugur

i think it would be too much of an effort here.

you should explore the option of using a java mapping to do the conversion from text file to XML.

else you can look to code a module - /people/william.li/blog/2009/03/19/adapter-user-module-for-http-adapter

Former Member
0 Kudos

Thanks.. i will try to follow this way of doing

balaji_pichaimuthu
Active Participant
0 Kudos

Hi

I am sorry. i wrongly understood the issue.. anyways why you need the http adapter to send a file to PI? what is your requirements actually?

Regards,

Balaji

balaji_pichaimuthu
Active Participant
0 Kudos

Hi ,

If Http connection is sender side.. u dont have to create a communication channel and for receiver side is http then you have to create a http communication channel

Regards,

Balaji