cancel
Showing results for 
Search instead for 
Did you mean: 

Java Mapping - NFB2B_procNFe_IB

former_member193964
Active Participant
0 Kudos

Hello,

Somebody has some java mapping ( PI 7.4)  template for this scenario:

Mail ( With Attachment) to Proxy?

The idea is to get the attachment from Payload and send to Proxy ( XML).

Regards,

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Thread bloqueada. Favor criar uma nova em portugues.

Grato

Eduardo Chagas

manoj_khavatkopp
Active Contributor
0 Kudos

Hi Marcelo,

What is format of the attachment in the mail if it is xml then all you need is to use swap bean in sender channel and send the xml to proxy no need of java mapping.

If file format  is txt/ csv(not more then 2 level) then you can use MTB in sender channel and convert it into xml , if its excel then you need to go for java-mapping.

Br,

Manoj

former_member182503
Active Contributor
0 Kudos

Marcelo,

O espaço é exclusivamente em Português. Caso você não fale Português, use o Google Translator ou poste diretamente no espaço , (já que sua dúvida é mais de PI do que de NF-e).

Quanto a sua pergunta: qual a versão do PI 7.4 você está usando? Pergunto isso pois a partir do PI 7.4 SP 9 (7.31 SP14) você pode processar os anexos do adapter Mail como se fossem Mensagens individuais.

+info Processing Mail Attachments as PI Messages Using the PI Sender Mail Adapter (New) - What's New in SA...

O André Canalles fez este excelente documento explicando como implementar o cenário Inbound B2B da NF-e:

[]'s

JN