on 07-24-2009 3:11 PM
Bom dia.
Gostaria de saber se é possível alterar o nome do arquivo XML anexo no envio B2B ? (Atualmente esta enviando com nome Untitled.xml)
Agradeço desde já.
At.,
Bernardo Tavares Braga
Sim, no artigo sobre o processo outbound, eu comento isso na secao "Dynamic Attachment Name".
Se vc quiser alterar pra um nome fixo (e.g. NFe.xml) eh bem simples, basta usar o MessageTransformBean e alterar o ContentType, conforme os parametros:
Paramete
Transform.ContentDisposition
Value
attachment;filename='abc.txt'
Para vc setar dinamico, contudo, tem q fazer um adapter module, como falei no artigo.
Veja o exemplo nesse wiki: http://wiki.sdn.sap.com/wiki/x/foEoB
Abs,
Henrique.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
6 | |
5 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.