IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  Attribute extraction - Can pipeline values be used?

    Posted 09/25/06 05:43 PM

    I’m receiving an XML document from a partner via FTP. The document contains values for the DocumentID and ReceiverID but not for SenderID. I requested that the partner add an element containing the sender. I was told I would need to parse the file name to get it. I can create a wrapper for wm.tn:receive that can do this and set the value in the TN_Parms document prior to submitting to TN, but this only seems to be used in document identification. Can a similar procedure be used to extract an attribute? I experimented with creating a custom transformation service, hoping that I might still have access to my previously created pipeline values, but it appears that the scope of the service is confined to the variables identified in the required specification.

    I know I can effectively “hard-code” the value by simply setting it in the transformation service. I could also have my wrapper service insert the value it parses out into the XML document before submission, but I’m reluctant to alter the content of an externally submitted document. I would welcome any suggestions. Thanks,

    Tim


    #Integration-Server-and-ESB
    #webMethods
    #B2B-Integration


  • 2.  RE: Attribute extraction - Can pipeline values be used?

    Posted 09/25/06 08:39 PM

    You could place the received document (the “payload”) into your own envelope. In the envelope you can define/set any fields you want. Then use this in the TN doc types and rules instead of the payload.


    #B2B-Integration
    #webMethods
    #Integration-Server-and-ESB


  • 3.  RE: Attribute extraction - Can pipeline values be used?

    Posted 09/25/06 10:30 PM

    Thanks for the suggestion, Rob. I just finished setting this up and it works well. I think I lost the forest for the trees trying to make TN do something it wasn’t suited for. Thanks again,

    Tim


    #webMethods
    #B2B-Integration
    #Integration-Server-and-ESB