cancel
Showing results for 
Search instead for 
Did you mean: 

TCP/IP send character stream

p_vanos
Active Participant
0 Kudos

Hi,

Is there any experience in sending a character stream using TCP/IP from XI to another system?

Appreciate any suggestions.

Paul

Accepted Solutions (0)

Answers (1)

Answers (1)

p_vanos
Active Participant
0 Kudos

Hi,

Some additional data:

The TCP/IP supports the NONE/STXETX/STXETXBB protocol.

The socket options should be:

Out of band data_SO_OOBINLINEDisabled

Reuse local addressSO_REUSEADDREnabled

cheers,

Paul

Former Member
0 Kudos

Hi Paul,

Did you get an answer to this? I'm also curious to find out if XI can send/receive character streams via TCP/IP.

Former Member
0 Kudos

Paul,

Without having experience with this kind of scenario; I can imagine some possible approaches from the context of XI and Java.

1) Fist Approach

You could implement a receiver comm. channel of the type file which will receive the data (either text or binary) to be transported via TCP/IP from the Integration Engine. In the configuration of this comm. channel you will trigger a java program/class that will perform the actual TCP/IP connection, obviously the Java program will use the data earlier received by the comm. channel as input parameter.

2) Second Approach

You can generate a Java proxy which will act as receiver and effectively do the TCP/IP call.

As you can see the second approach apparently requires less effort but implies having more system resources (Web As 6.40) to run the necessary J2EE beans needed for Java proxy communication. Nevertheless, this approach is more elegant and technically/functionally fits in the XI architecture.

Hopes this mini-brainstorming will help you decide what to do.

Thanks,

Roberto