webwrite call failing 'Your network connection may be down or your proxy settings improperly configured.'
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
My Matlab code is generating a table that i want to post to a web service for saving in database and further consumption. Sample code is below and i am passing some additional parameters. I can receive the data and process this on webservice side but somehow the Matlab code reports error-
Error using webwrite (line 136)
Error downloading content from URL, 'http://localhost:8080/services/storeresults'. Your network connection may be down or your proxy
settings improperly configured.
myTableData = jsonencode(table_output)
webwrite("http://localhost:8080/services/storeresults", "data", myTableData , ...
"xyz", output_file, 'abc', 'some other param', 'Range', 'A1', 'WriteTotable', true);
Looks like the Matlab call is not getting the response it expects, so what should my service return so Matlab is satisfied or what is the cause of this error hence solution. Searched the documentation, don't see anything on this.
Thanks
0 commentaires
Réponses (0)
Voir également
Catégories
En savoir plus sur Web Services dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!