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.  Output fields grayed-out

    Posted 03/01/16 09:11 AM

    Originally posted by: Diamond.Li


    Hello, 

    I'm trying to drag and drop from Input fields to Output. But for some reason, all output fields are grey out. 

    I appreciate for your help!

     

    Diamond


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


  • 2.  Re: Output Fields Grayout

    Posted 03/01/16 09:27 AM

    Originally posted by: Diamond.Li


    Here is my schema definition: 

     

    <?xml version="1.0" encoding="UTF-8"?>
    <xsd:schema id="CustomerLocateByIdentificationGet001"
        xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
        xmlns="http://xsd.bns.com/enterprise/msgs/customer/v1" 
        xmlns:core="http://xsd.bns.com/types/enterprise/core/v1"
        xmlns:types="http://xsd.bns.com/types/enterprise/customer/v1"
        targetNamespace="http://xsd.bns.com/enterprise/msgs/customer/v1"
        elementFormDefault="qualified">
        
        <xsd:import namespace="http://xsd.bns.com/types/enterprise/core/v1" 
             schemaLocation="core/v1/CommonSimpleTypes.xsd"/>
        <xsd:import namespace="http://xsd.bns.com/types/enterprise/customer/v1" 
            schemaLocation="CustomerSearch.xsd" />
            
        <xsd:element name="CustomerLocateByIdentificationGetRq">
            <xsd:complexType>
                <xsd:sequence>
                    <xsd:element name="header" type="core:RequestHeader"/>
                    <xsd:element name="payload" type="CustomerLocateByIdentificationRqPayload"/>
                </xsd:sequence>
            </xsd:complexType>
        </xsd:element>
        <xsd:element name="CustomerLocateByIdentificationGetRs">
            <xsd:complexType>
                <xsd:sequence>
                    <xsd:element name="header" type="core:ResponseHeader"/>
                    <xsd:element name="payload" type="CustomerLocateByIdentificationRsPayload"/>
                </xsd:sequence>
            </xsd:complexType>
        </xsd:element>
        
        <xsd:complexType name="CustomerLocateByIdentificationRqPayload">
            <xsd:sequence>
                <xsd:element name="searchCriteria" type="types:IdentificationCriteria"/>
            </xsd:sequence>
        </xsd:complexType>

        <xsd:complexType name="CustomerLocateByIdentificationRsPayload">
            <xsd:sequence>
                <xsd:element name="searchResult" type="types:CustomerSearchResult" minOccurs="0" maxOccurs="unbounded"/>
                <xsd:element name="paginator" type="core:Pagination"/>
            </xsd:sequence>
        </xsd:complexType>

    </xsd:schema>


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


  • 3.  Re: Output Fields Grayout

    Posted 03/01/16 10:32 AM

    Originally posted by: paul.brett


    You see where you have 'searchResult (s)'  ?

    This indicates that there is a repeating group here.

    You can either create a functional map call at this point, or right-click it and add an Index (a fixed iteration of that group).

    Thank-you.

    Paul

    Follow me on Twitter


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


  • 4.  Re: Output Fields Grayout

    Posted 03/01/16 10:46 AM
      |   view attached

    Originally posted by: Diamond.Li


    Hi Paul, 

     

    I truly appreciate for your help and you are absolutely right: 

           <xsd:element name="searchResult" type="types:CustomerSearchResult" minOccurs="0" maxOccurs="unbounded"/>

     

    However, when I tried to save my change, WTX always complains "could not write fie: it is used by another process".  Do I have to exit WTX and change/save using another editor?

     

    Are there any examples how to handle multiple outputs using functional map call?

     

    Thanks, 

     

    Diamond

     

     


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


  • 5.  Re: Output Fields Grayout

    Posted 03/03/16 04:58 AM

    Originally posted by: paul.brett


    Hi,

    However, when I tried to save my change, WTX always complains "could not write fie: it is used by another process".  Do I have to exit WTX and change/save using another editor?

    Perhaps you could raise this as another forum topic?

    Are there any examples how to handle multiple outputs using functional map call?

    Again, perhaps you could raise this as another topic?

    Thank-you.

    Paul

    Follow me on Twitter


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