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.  HTTP Listener in ITX 9.0.0.3

    Posted 11/21/18 05:50 AM

    Originally posted by: Suriya Prakash


    Can Explain how the HTTP Listener works in ITX.

     

    The Requirement is 

    The customer will be posting the messages to our ITX using an URL and we need to receive those messages transform and send back to an another URL. It may straight call to the map also.

    Customer -> URL-1 -> ITX -> URL 2

     

    While implementing HTTP Listener example which has been provided by the IBM itself.

    The Http has been created as http://localhost:5017/example. Here localhost may change according to their server name.

    It has been successfully deployed and in IE we can able to browse the above said URL.

    But the problem is we could not able to post messaged to the URL instead GET alone works.

    So can anyone explain how it works. I need to call the map straight away from an another application (HTTP Post) 

     


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


  • 2.  Re: HTTP Listener in ITX 9.0.0.3

    Posted 12/06/18 07:26 AM

    Originally posted by: PaulBrett


    GET and POST differ:

    https://www.diffen.com/difference/GET-vs-POST-HTTP-Requests

    ...and because '-METHOD get' is the default, that is why a GET is working.

    Your map input/output card would need to use -method POST to accept a POST request:

    -URL http://localhost:5017/example -METHOD post -SESSION * -TYPE text/html

    Thank you.

    Paul

    Follow me on Twitter


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


  • 3.  Re: HTTP Listener in ITX 9.0.0.3

    Posted 12/13/18 06:04 AM

    Originally posted by: Suriya Prakash


    Thanks Paul.

     

    It was working after changing the syntax as -METHOD Post.

     

    The Http Listener is working through command server and when i tried to execute using launcher it was not working.

     

    I have added a listener in the launcher admin but it is not working.

     

    Could you please help on this.


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


  • 4.  Re: HTTP Listener in ITX 9.0.0.3

    Posted 12/13/18 06:19 AM

    Originally posted by: PaulBrett


    It is likely you have the ports set wrong.  The default port for the HTTP Listener started at the command line is 8081.  The default when added as an entry in Launcher Admin is 5018 I believe.

    The default example URL in the listener map is 5018 to match the default entry in the Launcher admin.  (I used 8081 in my map, because I started the HTTP Listener at the command line).

    The default example URL to connect to, uses port 5017 to match the default entry in the Launcher admin.  (I used 80 in my map, because I started the HTTP Listener at the command line).

    Start the HTTP Listener either manually or using the entry in the Launcher Admin (not both) and make sure you have the ports set correctly.

    I think you'll need to raise a Case with IBM Support to get further assistance on this.

    Thank you.

    Paul

    Follow me on Twitter


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