isCOBOL EIS
:
Appendices
:
HTTPClient class (com.iscobol.rts.HTTPClient)
: getResponseAttachmentBody
getResponseAttachmentBody
Returns the body of a part in a multipart response.
General format
void
getResponseAttachmentBody
( id, body )
Syntax rules
1.
id
and
body
are alphanumeric data items.
General rules
1.
id
can be extracted from the list returned by
getResponseAttachmentIDs
.
2.
body
receives the body of the part.
Note -
if
iscobol.http.mtom_enabled (boolean) *
is set to true in the configuration, the attachments of a multipart response can be intercepted directly with
getResponseXML
being stored in fields with either the BASE64BINARY or HEXBINARY clause.
This site works best with JavaScript enabled