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.  Working SOAP/HTTP adaptor call and return message

    Posted 04/16/09 09:50 AM

    Originally posted by: SystemAdmin


    So I was finally able to "ping" my test box using the attached map and type tree. However about 10 minutes before I realized I succeded, I changed the Target--> PUT-->Command field in either the Input or Output cards. Now I'm unsure what I did but I'm getting two errors as follows:

    1. <ExecutionSummary MapStatus="Error" mapreturn="12" ElapsedSec="0.0176" BurstRestartCount="0">
    <Message>Source not available</Message>
    <CommandLine>'C:\Documents and Settings\s900310\IBM\wtx\workspace\Proof_Of_Concept\testMethod.mmc'</CommandLine>

    2. <SourceReport card="1" adapter="SOAP" bytes="0" adapterreturn="-101">
    <Message>Illegal function call</Message>
    <Settings>-TRANSPORT http (-URL http://testMethod.SOLATestProgram.x4mlsoa.com/CA/TC863010/TW863010)</Settings>
    </SourceReport>

    I'm so close but can anyone help me tweak it? Also, feel free to use my type tree and mapping as an example as I know it's hard to create one yourself. Don't make the mistake I did by trying to get the IBM provided example to work (they informed me that it no longer works or is correct). I think I'm very close maybe even just formatted wrong, but I'm almost positive it's just in the Target--> PUT-->Command or the Get --> Source --> Command fields.
    #DataExchange
    #IBM-Websphere-Transformation-Extender
    #IBMSterlingTransformationExtender


  • 2.  Re: Working SOAP/HTTP adaptor call and return message

    Posted 04/16/09 10:33 AM
      |   view attached

    Originally posted by: lanapoli


    Here is a working sample that I hope will help. I have not had time to look at your specific artifacts. If you still have errors, please post again and I will look at you specific errors later in the week.

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

    Attachment(s)



  • 3.  Re: Working SOAP/HTTP adaptor call and return message

    Posted 04/21/09 10:09 AM
      |   view attached

    Originally posted by: SystemAdmin


    Thank you very much for your post. I was able to use your example to change mine around and get closer to getting it to work. I've made many changes and I'm getting very close. Last week you offered to look at it further if I wanted... if you still have a minute I'd love for you to take a peak at my mapping.
    I've attached my latest mapping. I know eventually I'll need to add a security header but I haven't worried about that yet. I'm able to ping the mainframe test box everytime with my mapping however it seems to not be sending any 'code'.

    Also, the endpoint is : http://sola.test.principal.com:22107/CICS/XML/XMLPC000

    The web service (CICS program) expects to be passed a 22-byte communication area:

    call code 1 byte
    test data 20 bytes
    return code 1 byte

    If a communication area is not passed, the CICS program will abend with code SOLX.  If the call code is not equal '1', the CICS program will abend with code SOLY.  If the test data is equal to 'TESTING', the program will pass back 'Y' in the return code; otherwise, it will pass back 'N'.

    I'm getting the following error:

    <MapAudit StartTime="08:49:30 April 21, 2009">

    <Platform> Platform API for Windows - Version 8.2(77)</Platform>

    <ExecutionSummary MapStatus="Error" mapreturn="12" ElapsedSec="0.0219" BurstRestartCount="0">
    <Message>Source not available</Message>
    <CommandLine>'C:\Documents and Settings\s900310\IBM\wtx\workspace\Proof_Of_Concept\testMethod.mmc'</CommandLine>

    <SourceReport card="1" adapter="SOAP" bytes="0" adapterreturn="-400">
    <Message>Illegal function call</Message>
    <Settings>-TRANSPORT 'http (-URL http://sola.test.principal.com:22107/SOLADBUG/XML/XMLPC000)'</Settings>
    </SourceReport>

    </ExecutionSummary>

    </MapAudit>

    Thank you in advance! I must be a few small changes away....or maybe I do just need the security header now before I can continue.
    #IBMSterlingTransformationExtender
    #DataExchange
    #IBM-Websphere-Transformation-Extender


  • 4.  Re: Working SOAP/HTTP adaptor call and return message

    Posted 04/21/09 09:59 PM

    Originally posted by: lanapoli


    Are you sure you posted the correct map? It doesn't build due to a typo BuildReques instead of BuildRequest. Please ensure the map is correct before we investigate the issue. Also, Could you post the WSDL you are using?

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


  • 5.  Re: Working SOAP/HTTP adaptor call and return message

    Posted 04/21/09 10:02 PM

    Originally posted by: lanapoli


    You also may want to verify the following environment variables are set:

    1) The IBM version of Java 2 Runtime Environment, Standard Edition v1.5.b03
    is provided with this release. Make sure the environment variable
    JAVAHOME points to the installed location of this version of the JRE.

    install_dir\java\

    where install_dir represents the directory in which you have installed your
    WebSphere Transformation Extender products.

    2) Ensure the environment variable CLASSPATH includes: %JAVAHOME%\lib

    3) Set the PATH environment variable to include the following:

    %JAVAHOME%\bin

    where install_dir represents the directory in which you have installed your
    WebSphere Transformation Extender products.

    4) Reboot your machine.

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


  • 6.  Re: Working SOAP/HTTP adaptor call and return message

    Posted 04/22/09 10:02 AM
      |   view attached

    Originally posted by: SystemAdmin


    Okay, I'm sorry for keeping you in the dark, but I've been making a lot of changes the last few days. I now have my map running successfully without any errors in it. I'm successfully connecting to the CICS/SOLA box. The only problem I'm still having is I need to pass it a security header similar to this:

    <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
    <wsse:UsernameToken xmlns:wsu="http://schemas.xmlsoap.org/ws/2003/06/utility" wsu:Id="xxxxxxxx">
    <wsse:Username>xxxxxxx</wsse:Username>
    <wsse:Password Type="wsse:PasswordText">yyyyyyyy</wsse:Password>
    </wsse:UsernameToken>
    </wsse:Security>

    I'm unsure of where I should include this header...whethere I should put it into the WSDL and rebuild my map, or into the current map in the "header" field somewhere. Have you ran across this in your own testing?

    p.s. the map I'm using is POC_Working_One.mmc

    Thank you,
    -Mark
    #DataExchange
    #IBMSterlingTransformationExtender
    #IBM-Websphere-Transformation-Extender

    Attachment(s)



  • 7.  Re: Working SOAP/HTTP adaptor call and return message

    Posted 04/22/09 10:03 AM
      |   view attached

    Originally posted by: SystemAdmin


    Okay, I'm sorry for keeping you in the dark, but I've been making a lot of changes the last few days. I now have my map running successfully without any errors in it. I'm successfully connecting to the CICS/SOLA box. The only problem I'm still having is I need to pass it a security header similar to this:

    <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
    <wsse:UsernameToken xmlns:wsu="http://schemas.xmlsoap.org/ws/2003/06/utility" wsu:Id="xxxxxxxx">
    <wsse:Username>xxxxxxx</wsse:Username>
    <wsse:Password Type="wsse:PasswordText">yyyyyyyy</wsse:Password>
    </wsse:UsernameToken>
    </wsse:Security>

    I'm unsure of where I should include this header...whethere I should put it into the WSDL and rebuild my map, or into the current map in the "header" field somewhere. Have you ran across this in your own testing?

    p.s. the map I'm using is POC_Working_One.mmc

    Thank you,
    -Mark
    #DataExchange
    #IBM-Websphere-Transformation-Extender
    #IBMSterlingTransformationExtender

    Attachment(s)