I need to get a payload from a SOAP envelope and put it to inbound msg (using mapping I guess).
the trouble is that I can't identify payload. Here is the example of soap:
JVBERi0xLjQNJeLj... - my payload in base64...
<?xml version='1.0' encoding='utf-8'?>
<my second payload - actually, it's unnecessary at all>
So I don't have any fields like Content-Disposition or Content-Description to identify my payload. Furthermore, content-type of first payload can be changed (application/pdf, application/msword, application/txt, and so on). So please, assist, how I can get this payload and make mapping on target field. May be it can be don without PayloadSwapBean at all?
Again, using PayloadSwapBean, which should be my next steps after declaring swap.keyName and swap.keyValue elements.