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.

 View Only
  • 1.  Missing content or filename

    Posted Thu November 06, 2003 06:46 PM

    Hi all,

    I am using webMethods V4.6 and trying to deliver a document to a partner. I have set up the profile for the partner including the delivery method (ftp).

    I have a processing rule that tries to deliver the doc using the partners preferred protocol.
    However, during the delivery step I get an error with the message
    “Filename or content missing”. A similar message is displayed when I try the e-mail protocol.

    BTW the document has no structure… it will be delivered as a flat file (fixed length).

    Do I need to specify extraction rules for the extended attributes ?

    Apologies if this sounds like a trivial problem, but I’m fairly new to the trading networks thing.

    Regards
    Rax


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


  • 2.  RE: Missing content or filename

    Posted Fri March 19, 2004 04:34 PM

    I am having a very similar issue. I have a processing rule with accepts a bizdoc I’ve sent to TN-- and I want it to FTP to a partners site… It recognizes the document but gets the “Filename or content missing” error on the last step of FTP delivery.

    Can anyone tell me what I’m doing wrong ?

    Thanks,
    Jessica


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


  • 3.  RE: Missing content or filename

    Posted Fri March 19, 2004 05:20 PM

    Are you able to view the “content” of the file in trading networks console ? (in “Transaction Analysis”)

    If your are submitting the flat file through routeFlatFile, make sure you are passing data through as stream.


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


  • 4.  RE: Missing content or filename

    Posted Fri March 19, 2004 05:52 PM

    Yes, I can view “content” in the transaction analysis. I am submitting the document using wm.tn:submit. I created a bizdoc using createNewEnvelope (where i use the internalID of the document type I created in TN), then used wm.tn.doc:addContentPart where I pass it the string of my file to be processed. This shows up in TN exactly as I want it to… the name of the contentPart is “cellularExtract”… and thats how it shows up in the content of the transaction analysis view.


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


  • 5.  RE: Missing content or filename

    Posted Fri March 19, 2004 06:40 PM

    Instead of all the process that you have done,you can just invoke wm.tn.doc.ff:routeFlatFile and pass the stream,TNParams.This will definetly work and FTP’s the data. (using same primaryFTP)

    HTH.


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


  • 6.  RE: Missing content or filename

    Posted Fri March 19, 2004 07:38 PM

    Great, this worked for me! I appreciate your response. I know this was address in other threads, but does anyone know how to set the name of the destination file that is FTPed?

    Thanks
    Jessica


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


  • 7.  RE: Missing content or filename

    Posted Mon March 22, 2004 12:16 PM

    We had to write a custom FTP delivery service to set the file name. If you find a way using the standard TN FTP delivery, I’d like to know as well.


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