Error using xmlread function

조회 수: 3 (최근 30일)
Raj Tailor
Raj Tailor 2019년 3월 9일
Hello,
I am getting error when I am trying to read data using xmlread function.
Previously I was able to read the data using same function.
Error received:
Error using xmlread (line 106)
Java exception occurred:
java.io.IOException: Server is not responding, it might not support the current protocol. Missing ServerHello.
at ice.ssl.SSLSocket.startHandshake(OEAB)
at ice.ssl.SSLSocket.IVSize(OEAB)
at ice.ssl.SSLSocket.getInputStream(OEAB)
at ice.net.ClientSocket.getInputStream(OEAB)
at ice.net.PersistentConnection.setSocket(OEAB)
at ice.net.ConnectionManager.getConnection(OEAB)
at ice.net.HttpURLConnection.connect(OEAB)
at ice.net.HttpURLConnection.getInputStream(OEAB)
at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
Already tried below solution mentioned on Google somewhere, but it didn't help
In command window, type
edit callSoapService
Then in the m-file, search for line
url = URL(endpoint);
Replace it with:
url = URL([], endpoint, sun.net.www.protocol.https.Handler)
Trying to read:
tuc_events_read = xmlread('https://www.tu-chemnitz.de/tu/termine/tu-termine.rss/.xml');

답변 (0개)

카테고리

Help CenterFile Exchange에서 Java Package Integration에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by