Overwrite msg in mirth
Posted
by Ryan H
on Stack Overflow
See other posts from Stack Overflow
or by Ryan H
Published on 2010-03-15T21:50:38Z
Indexed on
2010/03/15
22:19 UTC
Read the original article
Hit count: 904
I have two destinations now and the first calls a SOAP webservice. I want to take the response of that destination by:
msg = new XML(responseMap.get('Destination1').getMessage());
and convert it to a mutable XML object. Doing:
logger.error(msg);
<S:Body><PRPA_IN201306UV02> ... </PRPA_IN201306UV02></S:Body>
Shows the valid msg as I want it, but when I do:
msg['S:Body']
it returns nothing.
Any suggestions would help.
© Stack Overflow or respective owner