IBM Sterling Transformation Extender

Sterling Transformation Extender

Come for answers, stay for best practices. All we're missing is you.


#Sterling
#Supplychain
 View Only
  • 1.  Using Socket Adapter

    Posted 12/19/04 03:56 AM

    Originally posted by: SystemAdmin


    Hi,

    I want to send a message from one node to the other using TCP/IP. For that purpose I created 2 ports on the same machine, 1 for the client and the other for the server. My client map reads a text file for Input and writes to an output card having the PUT target defined as:
    -IOSOCKETinputcard1 -HOST 120.1.82.111 -PORT 4455 -MODE SERVER -T

    After execution, I get a 'Target not available' error, however the HOST and the PORT both are correct. Hope anyone can help.

    Regards
    #IBM-Websphere-Transformation-Extender
    #DataExchange
    #IBMSterlingTransformationExtender


  • 2.  Re: Using Socket Adapter

    Posted 12/19/04 10:39 PM

    Originally posted by: SystemAdmin


    What is the adapter command used at the client end?
    #IBMSterlingTransformationExtender
    #DataExchange
    #IBM-Websphere-Transformation-Extender


  • 3.  Re: Using Socket Adapter

    Posted 01/18/05 02:04 AM

    Originally posted by: SystemAdmin


    Are you sure you need the -MODE SERVER command? This is only needed when receiving messages over a socket connection (using an Event Server trigger), rather than sending messages.

    Check that you can ping the 120.1.82.111 server from your TX server.

    Also ensure that the port is enabled/open for receiving messages on your remote host machine.

    If you're using a PUT command then your rule should read like:

    PUT ("SOCKET", -HOST 120.1.82.111 -PORT 4455 -T, DataToSend)

    Regards,

    Tarun
    #DataExchange
    #IBM-Websphere-Transformation-Extender
    #IBMSterlingTransformationExtender


  • 4.  Re: Using Socket Adapter

    Posted 03/04/09 10:17 PM

    Originally posted by: SystemAdmin


    Hi,
    I am doing POC: I want to send a message from one node to the other using TCP/IP. For that purpose I created 1 port on the same machine, 1 for the client and the same port for the server. My client map reads a text file for Input and writes to an output card having the PUT target defined as:
    -IOSOCKETinputcard1 -HOST 120.1.82.111 -PORT 4455 -MODE SERVER -T

    My server map will receive data from client map...could any one please help me.

    Thanks
    Rami
    #IBM-Websphere-Transformation-Extender
    #IBMSterlingTransformationExtender
    #DataExchange


  • 5.  Re: Using Socket Adapter

    Posted 03/05/09 05:34 AM

    Originally posted by: phil2030


    Are you using a card and the Socket adapter or a card to sink with a PUT rule?
    Either way, you don't need the "-IOSOCKETinputcard1" unless overriding the card from the command line or RUN function. Also, if that is what you have actually put, it is wrong... at a guess I would say it is "-OASOCK1" (I haven't bothered to look at the help for that but it should be closer than what you have) - look in the help for the socket adapters, I am sure it gives you all the info. you will need.
    I doubt you need the server bit, as Tarun said previously, it is more if you are setting it up for a server, not for a client connection.... if you have a "server" map running under the launcher, it'll need that command line param.
    #IBM-Websphere-Transformation-Extender
    #IBMSterlingTransformationExtender
    #DataExchange


  • 6.  Re: Using Socket Adapter

    Posted 03/05/09 09:40 AM

    Originally posted by: SystemAdmin


    For Server Map I am using input card:
    -PORT 7352 -EOM "end" -QTY 1 -T SocServer.log -MODE SERVER QTY S -LSN 10000

    m4sockt.log
    <274434-2573>: Connect (Socket = -1, Ref Cnt = 0, Total Conns = 0), entry: Thu Mar 5 09:04:45 2009
    <274434-2573>: Trying to connect to 10.220.50.21 port 7352 ...
    <274434-2573>: Connection failed... Error : 79
    <274434-2573>: Connect, exit: Thu Mar 5 09:04:45 2009

    For Clirnt Map I am using output card:
    Rule
    =PUT("SOCKET", "-PORT 7352 -EOM "+"""end""" +"-QTY 1 -MODE CLIENT -TRACE", PACKAGE(TriggerMsg))

    No file generated

    Please help me...Rami
    #IBM-Websphere-Transformation-Extender
    #DataExchange
    #IBMSterlingTransformationExtender