IMPORTANT:
this is not a Support Forum! Experienced users might answer from time to time questions posted here. If you need a professional and reliable answer, or if you want to report a bug, please contact Altova Support instead.

Profile: AlexanderBr1973
About
User Name: AlexanderBr1973
Forum Rank: Newbie
Real Name:
Location Germany
Occupation:
Interests:
Gender: None Specified
Statistics
Joined: Friday, July 29, 2016
Last Visit: Friday, July 29, 2016 11:59:40 AM
Number of Posts: 3
[0.02% of all post / 0.00 posts per day]
Avatar
Last 10 Posts
Topic: Post Request via REST
Posted: Friday, July 29, 2016 11:56:02 AM
Hi,

I hope somebody can help me ?

I'm using RaptorXML.exe for Transformation of bigger XML files. The normal way is running with CMD.exe:

..\bin\RaptorXML.exe xslt --input="..\test2.arxml" --output="..\test2_sorted.txt" "..\sortAutosarElmentsByUUID.xslt"

Now I will try to start this Transformation via REST_Client and Post Request. But. whatever I do, the response shows:

<!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</meta>
<title>400 Bad Request</title>
<style type="text/css"> #powered_by { margin-top: 20px; border-top: 2px solid black; font-style: italic; } #traceback { color: red; } </style>
</head>
<body>
<h2>400 Bad Request</h2>
<p>Missing required "msg" form-data entry!</p>
<pre id="traceback"></pre>
<div id="powered_by"> <span> Powered by <a href="http://www.cherrypy.org">CherryPy 3.6.0</a> </span> </div>
</body>
</html>

Im using http://x.x.x.x:8087/v1/queue together with content-type JSON.

What is wrong. Have anybody an example ?

HINT: This request runs fine "http://xx.xx.xx.xx:8087/v1/version"

Br Alex
Topic: XSLT Transformation via POST Request
Posted: Friday, July 29, 2016 8:27:37 AM
Hi,

I'm using RaptorXML.exe for Transformation of bigger XML files.

Now I will try to start this Transformation via REST_Client and Post Request.

..\bin\RaptorXML.exe xslt --input="..\test2.arxml" --output="..\test2_sorted.txt" "..\sortAutosarElmentsByUUID.xslt"
..\bin\RaptorXML.exe xslt --input="..\test2_sorted.txt" --output="..\test2_sorted2.txt" "..\sortVP.xslt"

But I need help to prepare an Rest Client Request. Maybe someone have an idea how ?

Br Alex

Use of the Altova User Forum(s) is governed by the Altova Terms of Use.