java.io.IOException: Server returned HTTP response code: 401 for URL: http://loc alhost:7001/myWeb/myWeb.jws?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

,
Expert tip

Check if you didn't set RequestProperty Content-Type to the wrong type or if you're trying to send the wrong file to the server.

Solutions on the web

via Oracle Community by 3004, 1 year ago
Server returned HTTP response code: 401 for URL: http://loc alhost:7001/myWeb/myWeb.jws?WSDL
via Coderanch by Arulanand Dayalan, 11 months ago
Server returned HTTP response code: 401 for URL: <a href="http://localhost:7001/TestWebservice/TestEJB?WSDL" target="_blank" rel="nofollow">http://localhost:7001/TestWebservice/TestEJB?WSDL</a>
via Coderanch by JyotiRanjan Swain, 11 months ago
Server returned HTTP response code: 401 for URL: <a href="http://wsgw-uat.mot.com:8080/iTunes_SN_Validation-Test?wsdl" target="_blank" rel="nofollow">http://wsgw-uat.mot.com:8080/iTunes_SN_Validation-Test?wsdl</a>
via Stack Overflow by user3094394
, 2 years ago
Server returned HTTP response code: 403 for URL: http://paceoil.ca/files/includes/images/images-stories-presentation-october-icon-graphic.jpg
via Stack Overflow by mpjjonker
, 2 years ago
Server returned HTTP response code: 502 for URL: http://api-directory.googleapis.com/5935/download-apiary/freebase/v1?lang=java&amp;dependencies=1
via GitHub by eamonnfaherty
, 2 years ago
Server returned HTTP response code: 400 for URL: http://myserver.com/api/9/store/
java.io.IOException: Server returned HTTP response code: 401 for URL: http://loc alhost:7001/myWeb/myWeb.jws?WSDL
at weblogic.webservice.tools.wsdlp.DefinitionFactory.createDefinition(DefinitionFactory.java:87)
at weblogic.webservice.tools.wsdlp.WSDLParser.(WSDLParser.java:76)
at weblogic.webservice.WebServiceFactory.createFromWSDL(WebServiceFactory.java:108)
at weblogic.webservice.WebServiceFactory.createFromWSDL(WebServiceFactory.java:84)
at weblogic.webservice.core.rpc.ServiceImpl.(ServiceImpl.java:76)
at weblogic.jws.proxies.MyWeb_Impl.(MyWeb_Impl.java:22)
at undefined.myWebServ.main(myWebServ.java:11)

Users with the same issue

2 times, 1 year ago
2 times, 1 year ago
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, 2 years ago

Write tip

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