webwrite call failing 'Your network connection may be down or your proxy settings improperly configured.'

3 ビュー (過去 30 日間)
Saty
Saty 2018 年 6 月 21 日
編集済み: Saty 2018 年 6 月 21 日
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 件)

カテゴリ

Help Center および File ExchangeWeb Services についてさらに検索

製品


リリース

R2017b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by