Syntax:
com.ibi.preparsers.XDHTTPpreParser
Description:
The HTTP preparser transforms a key=value query string into an XML string with the GET action as the root. This preparser can be used to construct an XML document with the HTTP parameters that are being passed as a query string. The HTTP preparser can only be used with an HTTP listener.
For example, if you need to generate an XML document with the HTTP request parameters, the HTTP preparser can be used to transform the HTTP GET request for a web application.
Example:
The configuration parameters pane opens.
<html xmlns="urn:schemas-microsoft-com:xslt"> <head> <title>Posting a File</title> </head> <body> <form id ="f" action="http://TestMachine:8080/newproject/postfile60.html" enctype="multipart/form-data"> <input type="file" name="fdata"/> </form> </body> </html>
http://informat-2a8d8e:9984/index.html?value1=4&value2=two
The following output is obtained:
<?xml version="1.0" encoding="ISO-8859-1" ?> <post> <value1>2</value1> <value2>two</value2> </post>
iWay Software |