The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
Enrich Data by Webservice debugging
sgenzer
Administrator, Moderator, Employee-RapidMiner, RapidMiner Certified Analyst, Community Manager, Member, University Professor, PM Moderator Posts: 2,959 Community Manager
hi...is there any way to debug the Enrich Data by Webservice operator when it fails? I would to see the JSONpath that it is sending out in a POST request, and the actually reply from the server with the error code. I can do it in curl but not via the RapidMiner interface.
In a similar vein, is there a way to send a curl request directly from RM?
And by the way, when it fails on a GET request, the salmon-colored error box is enormous (due to the large URL) and runs off the left side of the screen. It is almost impossible to click the "Got it" button.
Scott
In a similar vein, is there a way to send a curl request directly from RM?
And by the way, when it fails on a GET request, the salmon-colored error box is enormous (due to the large URL) and runs off the left side of the screen. It is almost impossible to click the "Got it" button.
Scott
Tagged:
0
Answers
If it needs HTTPS, you could try something like Fiddler <http://www.telerik.com/fiddler>. You can use the Execute Program operator.
ah Execute Program. I should have thought of that! Duh. Thanks. How do I pass the information into Execute Program so that I can use curl? macros?
Scott
See this example:
curl -X GET --header 'Accept: text/plain' --header 'accept: text/plain' 'https://watson-api-explorer.mybluemix.net/language-translation/api/v2/identify?text=je suis faim'
if I run it in terminal, I get the correct response ("fr"), but in "Execute Program", I get an error message and it will not run.
Scott
You can use "Read Document" to convert the standard output and standard error of your process into readable text.
Example process: Do you get the error message from RapidMiner or on the error output from curl? Do you need authentication for accessing the web service?
With curl -v you can get verbose output that shows the details of the communication with the server.