I have a problem ,I am using a service named :Receive_test which send a doc in TN and after i am using a other service named “ExtractOrder” which write file in local disk ,in the service “ExtractOrder” i use
SavepipelineFile
Restorepipelinefromfile
getContentPart
and in getContentart i use a right Input ,when I run the service I have a following error:
see:attachement
com.wm.app.b2b.server.ServiceException: [ISC.0049.9005] Input validation for service ‘TN:ExtractOrder’ failed: '/bizDoc/InternalID VV-005 [ISC.0082.9034] Field is absent, field must exist ndeye_2_1.zip (37.2 KB)
hello, did the solution proposed below worked for the requirement you had? I need set the filename in payload too. Please let me know if you found a solution.
I have a similar requirement where I need to send an XML with a filename. The TP wants to see the XML placed with that filename Not filename inside the xml content.
You won’t be able to specify a complete pathname. Only a filename. The TP will need to have logic on their side to use the filename in the content-disposition and then write to whereever they want it written.
Finally, It got working. I made the content-type = application/XML; name=filename.xml
and content-disposition= attachment; filename=filename.xml. I do not know what exactly made it appear on their side.
I’m not sure “name” is standard attribute of content-type, but filename is definitely a defined attribute for content-disposition. If you want to know for sure which made it work, try with just one and then just the other.