proc IbIn

This is an example of sending taking in SOAP messages that have an attachment containing the real message. The SOAP body contains only symbolic text to convey that the attachment has the real message.

In IbIn, messages coming into this procedure are considered to be an ibmime from IB. In the first part of the ibmime, it contains a SOAP envelope with only symbolic meaning. The attachment, the second part or beyond, carries the real message. The attached message is extracted from the ibmime and is forwarded on to the next thread for processing. This also assumes that a reply is expected by the sender, so a reply is generated and sent back.