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

조회 수: 3 (최근 30일)
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 CenterFile Exchange에서 Web Services에 대해 자세히 알아보기

제품


릴리스

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by