IBM Sterling Transformation Extender

Sterling Transformation Extender

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

 View Only
  • 1.  Rest API calling WTX map

    Posted Wed May 24, 2017 09:43 AM

    Originally posted by: tomw


    HI All, I am working on a POC to see if the ITX REST API can call  an  ITX map and execute it. Has anybody out there tried to do this, if so would you be willing to share an example of how you accomplished it using ITX and REST API.

     

    Thanks Tom W


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


  • 2.  Re: Rest API calling WTX map

    Posted Fri November 24, 2017 08:00 AM

    Originally posted by: Vino685


    Hi ,

    I am trying a POC with JSON format using the Open API importer - I tried generate a sample map for calling webservices using the REST API.

    Steps followed:

    1) File --> Import --> OpenAPI

    2) Provide the swagger.json file

    3) select an operation to generate a type tree and adapter command line properties --> "Post" option

    4) select  "Use IBM transformation Extender map to call REST api" --> Next

    5) select "Generate sample source" --> Next

    6) Encounter below type tree importer - Error .

    "

    java.lang.NullPointerException

                    at com.ibm.itx.ui.importers.swagger2tt.AdapterCommandLineWriter.getQueryString(Unknown Source)

                    at com.ibm.itx.ui.importers.swagger2tt.AdapterCommandLineWriter.generateOperation(Unknown Source)

                    at com.ibm.itx.ui.importers.swagger2tt.AdapterCommandLineWriter.generateOperations(Unknown Source)

                    at com.ibm.itx.ui.importers.swagger2tt.AdapterCommandLineWriter.generatePath(Unknown Source)

                    at com.ibm.itx.ui.importers.swagger2tt.AdapterCommandLineWriter.generateContent(Unknown Source)

                    at com.ibm.itx.ui.importers.swagger2tt.AdapterCommandLineWriter.write(Unknown Source)

                    at com.ibm.itx.ui.importers.swagger.SwaggerImporter.generateTree(Unknown Source)

                    at com.ibm.websphere.dtx.ui.importers.dialogs.WTXImportWizard.buildTypeTree(Unknown Source)

                    at com.ibm.websphere.dtx.ui.importers.dialogs.WTXImportWizard$2.run(Unknown Source)

                    at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)"

    I am unable to generate the sample map due to type tree importer issue. But I am able to generate the type tree using the JSON importer with the same JSON file.

    Can someone help me on this issue and provide any steps you used for webservice call using JSON.

    Thanks !

     

     


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


  • 3.  Re: Rest API calling WTX map

    Posted Fri November 24, 2017 08:12 AM

    Originally posted by: PaulBrett


    I recommend you log this with IBM as a support call.  It seems unlikely it will be solved on the developerWorks Forum, and a copy of your files will be required to move investigation forward.

    Thank you.

    Paul

    Follow me on Twitter


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


  • 4.  Re: Rest API calling WTX map

    Posted Wed November 29, 2017 09:49 AM


  • 5.  Re: Rest API calling WTX map

    Posted Thu December 07, 2017 02:03 PM

    Originally posted by: gunturi_s


    Hi Vinoth, would you mind sharing the pmr number if you open one. Interested in following  this problem


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


  • 6.  Re: Rest API calling WTX map

    Posted Thu December 07, 2017 03:13 PM

    Originally posted by: AEQ7_tom_wysocki


    Hi Paul,

    I did follow up with tech support back in june and here is the PMR 26717,L6Q,000 that may help.

     

    Tom W

     


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


  • 7.  Re: Rest API calling WTX map

    Posted Fri December 08, 2017 11:12 AM

    Originally posted by: Laurent(Satisco)


    Hi,

    I managed to get it to work with the Launcher, but the path is not very easy.

    I'd rather document a more proper way of doing things, but will see if I can share my current version.


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


  • 8.  Re: Rest API calling WTX map

    Posted Wed January 31, 2018 03:21 AM

    Originally posted by: Vino685


    If possible , could you please share the document on how you handled this using Launcher ...

    Thanks in advance !


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


  • 9.  Re: Rest API calling WTX map

    Posted Thu February 08, 2018 10:12 AM

    Originally posted by: Laurent(Satisco)


    I hope to be able to do so soon, but I need to rework it, since I did not document every thing. As usual, the "obvious" steps are complete mystery a few months later... I discovered it the hard way afetr a PC crash and a full reinstallation!

     

     


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


  • 10.  Re: Rest API calling WTX map

    Posted Tue February 13, 2018 05:07 AM

    Originally posted by: Laurent(Satisco)


    Dear all,

     

    here's a (very dirty) sample of a wroking scenario. The PDF documents the rough steps to make it work, and the project contains all you need to replicate it.

    I used the MongoDB adapter to put to a MongoDB database, since it's more fun and actually quite easy.


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

    Attachment(s)

    pdf
    OpenAPI_Provider_QDDoc.pdf   1.04 MB 1 version


  • 11.  Re: Rest API calling WTX map

    Posted Fri February 16, 2018 01:37 AM

    Originally posted by: Vino685


    Thanks for helping , Laurent !


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