PDA

View Full Version : Missing content or filename


Rax Mistry (Unregistered Guest)
11-06-2003, 12:15
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

jherron
03-19-2004, 10:04
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

zmuser
03-19-2004, 10:50
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.

jherron
03-19-2004, 11:22
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.

rmg
03-19-2004, 12:10
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.

jherron
03-19-2004, 13:08
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

monica
03-22-2004, 05:46
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.