cancel
Showing results for 
Search instead for 
Did you mean: 

HTML Post method.

Former Member
0 Kudos

HI Experts,

Here my scenario is Proxy to HTTP.

My Receiver system need HTML Post method in place of XML file. Normally PI will send the XML but receiver system is expecting HTML POST method.

For this i have to do in configuration.

Receiver is expecting below format.

<html>

<head>

<title>Authorize</title>

</head>

<body>

<form action="https://developer.skipjackic.com/scripts/evolvcc.dll?AuthorizeAPI" method="post" >

SerialNumber<input type="text" name="serialnumber" value="000014661324"><br />

DeveloperSerialNumber<input type="text" name="developerserialnumber" value="464787130566"><br />

Sjname<input type="text" name="sjname" value="TSYS Test"><br />

street address<input type="text" name="streetaddress" value="2230 Park Ave"/><br />

city<input type="text" name="city" value="Cincinnati"/><br />

state<input type="text" name="state" value="OH"/><br />

zipcode<input type="text" name="zipcode" value="45206"/><br />

credit card account number<input type="text" name="accountnumber" value="4445999922225"/><br />

CVV2<input type="text" name="CVV2" value=""><br>

expiration month<input type="text" name="month" value="12"/><br />

expiration year<input type="text" name="year" value="2012"/><br />

amount<input type="text" name="transactionamount" value="1.00"/><br />

order number<input type="text" name="ordernumber" value="123"/><br />

phone<input type="text" name="shiptophone" value="8883688507"/>

orderstring<input type="text" name="orderstring" value="Test1Test Item 13.001N||210.001N||310.001N||410.001N||510.001N~||" /><br />

<br />

<input type="submit" value="submit" />

</form>

</body>

</html>

Thank you

Srinivas

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

issue is closed with java Mapping

Former Member
0 Kudos

Hi Srinivas,

I have the same issue with Form submit using Java HTTP adapter.

It would be great if you can share your java mapping code or advise what should be the outcome of java mapping?

Should the result of java mapping be some kind of XML payload or some html code ?

Many Thanks,

Kind Regards

Ravi

stefan_grube
Active Contributor
0 Kudos

> Receiver is expecting below format.

No, the receiver does not expect this HTML format.

The receiver provides an HTML page with this format.

The receiver expects a multipart mime of type multipart/form-data

http://www.w3.org/TR/html401/interact/forms.html

Former Member
0 Kudos

Hi Stefin,

So how i have to convert this From XMl to MIME (HTML format).

Please can you explain in detail.

Thank you

Srinivas

Former Member
0 Kudos

solved with Java mapping..