Skip to Content
Former Member
Feb 25, 2008 at 11:11 AM

Identifying payload in PayloadSwapBean


Hi all.

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:


content-type: application/pdf

JVBERi0xLjQNJeLj... - my payload in base64...



Content-Type: application/xml

<?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.

Thank you.