Quantcast
Channel: Pentaho Community Forums
Viewing all articles
Browse latest Browse all 16689

HTTP Post - reply status = 302 error

$
0
0
Hello. I am new to Pentaho and need some help converting html code into HTTP Post plus other components. I have tried using the existing samples for webservices but they are not helping me even though they execute perfectly. Again, this does not seem to be conforming to all of the other examples. Currently, I am using the components (Fixed file input, Group by, Constant (stores URL), HTTP Post (get URL from variable), Text File Output(holds the response). This is modeled after the WebServicesMovieList sample for HTTP Post.

Any Ideas would greatly be appreciated. Using 4.4.0 Stable
Need to convert this into Kettle components
<html>
<body onload="document.xml.submit();">
<form action=http: //www.mycompany.com/WAPI/wapi.php method="post"
name="xml"> <input type= "hidden" name="xml_query" value='WAPI_COMMAND'>
</form>
</body>
</html>
**In Example 1, WAPI_COMMAND specifies an XML request of the form
<COMMAND OBJECT="object_type" ACTION="action_type">
<TAG>param_value</TAG>
Example 2: Example HTML containing HTTP request to Application XML API
<WAPI>
<TENANT>tenant_name</TENANT>
<USERNAME>wapi_username</USERNAME>
<PASSWORD>wapi_password</PASSWORD>
<COMMAND OBJECT="object_type" ACTION="action_type">
<TAG>param_value</TAG>
</COMMAND>
</WAPI>

Viewing all articles
Browse latest Browse all 16689

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>