You have configured a communication channel and are on the Module tab page in change mode.
Use PutPayloadValueBean to enrich the message with values from a module context. You can use this module in combination with GetPayloadValueBean to enrich a response message with information from the request. Normally you use GetPayloadValueBean to extract values from a message, then execute an adapter module (example, synchronous SOAP call) and finally use PutPayloadValueBean to enrich the response with stored values.
In a following example a message is enriched with a 'chNFe' value from the module context. XPath name used is /nfe2:nfeDadosMsg/nfe:chNFe. Namespaces are declared by a corresponding parameter.
Module Name |
Type |
Module Key |
AF_Modules/GetPayloadValueBean |
Local Enterprise Bean |
Payload |
Module Key |
Parameter Name |
Parameter Value |
Payload |
put:/nfe2:nfeDadosMsg/nfe:chNFe |
chNFe |
Payload |
xmlns |
xmlns:nfe2 = "http://www.portalfiscal.inf.br/ nfe/wsdl/NfeConsulta2" xmlns:nfe = "http://www.portalfiscal.inf.br/nfe" |