Translate HTTP Form to MIME Assertion
The Translate HTTP Form to MIME assertion allows you to parse the content submitted in HTTP form format by a browser-like client and turn it into a more standards-compliant multi-part MIME message. The Gateway converts incoming content to MIME in accordance with an ordered list of configured field names and Content-Types. If an incoming message does not contain a field configured for conversion in the Translate HTTP Form to MIME assertion, then the assertion will fail.
gateway90
The
Translate HTTP Form to MIME
assertion allows you to parse the content submitted in HTTP form format by a browser-like client and turn it into a more standards-compliant multi-part MIME message. The Gateway converts incoming content to MIME in accordance with an ordered list of configured field names and Content-Types. If an incoming message does not contain a field configured for conversion in the Translate HTTP Form to MIME assertion, then the assertion will fail.For information on parsing and converting a standard multi-part MIME message into HTTP form submission format, see the Translate MIME to HTTP Form Assertion.
Using the Assertion
- Do one of the following:
- To add the assertion to the Policy Development window, see Adding an Assertion.
- To change the configuration of an existing assertion, proceed to step 2 below.
- When adding the assertion, theHTTP Form to MIME Translation Propertiesautomatically appear; when modifying the assertion, right-clickTranslate HTTP Form to MIMEin the policy window and selectHTTP Form to MIME Translation Propertiesor double-click the assertion in the policy window. The assertion properties are displayed.
- Select an action to perform.ActionDescriptionAddClick [Add] to configure a new HTTP form field.ModifySelect an existing form field and then click [Modify] to edit the field information.RemoveSelect a form field to remove and then click [Remove] to delete it. The field is removed without further confirmation.Move UpMove DownThe order of the form fields in the table must reflect the order of the MIME parts in the resulting MIME message. To change the order of the entries in the table, select an entry to be moved and then click [Move Up] or [Move Down].
- When adding or modifying a field, the Configure Field Information dialog appears. Configure the dialog as follows:SettingDescriptionField NameEnter the name of the HTTP form field. The field name must exactly match the name and case of the element in the incoming message; for example,xmlMIME Content-TypeEnter the MIME type for the form field, including a character set if the field contains textual data; for example,text/xml; charset='utf-8'In accordance with the SOAP with Attachments standard, the first MIME part should always be the SOAP message.
- Click [OK]