java.io.FileNotFoundException: Response: '401: Unauthorized xxx' for url: 'http://localhost:7001/webservice/TraderService?WSDL'

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Oracle Community by 3004, 1 year ago
Response: '401: Unauthorized xxx' for url: ' http://localhost:7001/webservice/TraderService?WSDL '
via Coderanch by Suresh Gopi, 1 year ago
Response: '400: Bad Request' for url: 'http://jakarta.apache.org/struts/dtds/struts-config_1_2.dtd'
via Oracle Community by 679871, 1 year ago
Response: '401: Unauthorized' for url: 'http://10.44.1.18:7777/identity/oblix/apps/groupservcenter/bin/groupservcenter.cgi'
via Oracle Community by 710292, 1 year ago
Response: '401: Unauthorized' for url: 'http://your.domain.here/default.aspx'
via Oracle Community by 824202, 1 year ago
Response: '401: Unauthorized' for url: 'http://your.domain.here/default.aspx'
java.io.FileNotFoundException: Response: '401: Unauthorized xxx' for url: 'http://localhost:7001/webservice/TraderService?WSDL'
at weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.java:362)
at java.net.URL.openStream(URL.java:793)
at weblogic.webservice.tools.wsdlp.DefinitionFactory.createDefinition(DefinitionFactory.java:73)
at weblogic.webservice.tools.wsdlp.WSDLParser.(WSDLParser.java:63)
at weblogic.webservice.WebServiceFactory.createFromWSDL(WebServiceFactory.java:108)
at weblogic.webservice.WebServiceFactory.createFromWSDL(WebServiceFactory.java:84)
at weblogic.webservice.server.servlet.ServletBase.invokeOperation(ServletBase.java:230)
at weblogic.webservice.server.servlet.WebServiceServlet.invokeOperation(WebServiceServlet.java:306)
at weblogic.webservice.server.servlet.ServletBase.handleGet(ServletBase.java:198)
at weblogic.webservice.server.servlet.ServletBase.doGet(ServletBase.java:124)
at weblogic.webservice.server.servlet.WebServiceServlet.doGet(WebServiceServlet.java:224)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 6 months ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.