Skip to Content
avatar image
Former Member

TCP/IP send character stream

Hi,

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

Appreciate any suggestions.

Paul

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Jan 21, 2005 at 12:07 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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