proc IbOut

This is an example of sending out 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 IbOut, messages coming into this procedure are not well-formed SOAP envelopes ready to access the first part of the ibmime. These are text or binary arbitrary messages. They access the attachment part, second part or beyond, of the ibmime object going out to IB. The SOAP envelope is manually added using hard-coded strings.