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.  Generate empty tags

    Posted 10/08/15 02:47 PM

    Originally posted by: samuppu


    Hi All,

     

    We are using WTX v 8.4.

    We have a requirement where we have to transform the request from client to backeend request and call webservice.

    Along with the request , we should be sending the response element also(which is part odf same schema). The  response elements  should be sent with empty tags.As per schema , some of them are optional elements. I need help on how to send empty tags for optional elements?

     

    Thanks

     

     


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


  • 2.  Re: generate empty tags

    Posted 10/09/15 04:13 AM

    Originally posted by: paul.brett


    I assume you are creating a Typetree from the WSDL.  To get empty tags for optional elements, it is simply a matter of editing the Typetree object properties after import, to change the range from 0:1 (optional) to 1:1 (mandatory).

    Thank-you.

    Paul

    Follow me on Twitter


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


  • 3.  Re: generate empty tags

    Posted 10/12/15 08:32 AM

    Originally posted by: Laurent(Satisco)


    It may be worth a try simply mapping the empty string in these tags.


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


  • 4.  Re: generate empty tags

    Posted 10/13/15 04:41 AM

    Originally posted by: paul.brett


    In all cases I have tried, if the output evaluates to none, then the tags are not written if the object is optional.

    Thank-you.

    Paul

    Follow me on Twitter


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


  • 5.  Re: generate empty tags

    Posted 10/21/15 03:57 PM

    Originally posted by: samuppu


    Thanks all.  I have updated the Typetree to make the element mandatory.   I think there is no way other than making the element mandatory.


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