Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

java.io.IOException: Server returned HTTP response code: 401 for URL

Hi,

Third part is getting the below error when invoking the webservice in XI

at java.lang.Thread.run(Thread.java:662)

Caused by: java.io.IOException: Server returned HTTP response code: 401 for URL <URL LINK>

at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)

at java.net.URL.openStream(URL.java:1010)

at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.createReader(RuntimeWSDLParser.java:804)

at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.resolveWSDL(RuntimeWSDLParser.java:262)

at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:129)

This is not because of the invalid credentials. It was working before one month. Please suggest.

Thanks and Regards

Suma S

Former Member
Not what you were looking for? View more on this topic or Ask a question