Exporting a SOAP response involves forming a correct SOAP envelope which conforms to the response defined by the WSDL. The cobol_to_soap.xsl XSLT is the document that describes this transformation.
The method name for the response is exported, along with all the other data in SOAP-Request-Response. The method name is used to determine which output-parameters contains actual output parameters of interest. And, as in the import of a SOAP request, item names for array elements are adjusted to conform to the naming convention described in the WSDL.