Advertisement
Guest User

Untitled

a guest
Aug 11th, 2014
252
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.19 KB | None | 0 0
  1. run:
  2. Exception in thread "main" javax.xml.ws.WebServiceException: Falha ao acessar o WSDL em https://apphom.correios.com.br/afiiWS-v1.0/afiiWS/afiiService?wsdl. Ele falhou com:
  3. Server returned HTTP response code: 401 for URL: https://apphom.correios.com.br/afiiWS-v1.0/afiiWS/afiiService?wsdl.
  4. at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.tryWithMex(RuntimeWSDLParser.java:250)
  5. at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:231)
  6. at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:194)
  7. at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:163)
  8. at com.sun.xml.internal.ws.client.WSServiceDelegate.parseWSDL(WSServiceDelegate.java:348)
  9. at com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:306)
  10. at com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:215)
  11. at com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:196)
  12. at com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:192)
  13. at com.sun.xml.internal.ws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:104)
  14. at javax.xml.ws.Service.<init>(Service.java:77)
  15. at br.com.correios.afii.service.AfiiWS.<init>(AfiiWS.java:42)
  16. at br.com.correios.afii.service.Main.main(Main.java:14)
  17. Caused by: java.io.IOException: Server returned HTTP response code: 401 for URL: https://apphom.correios.com.br/afiiWS-v1.0/afiiWS/afiiService?wsdl
  18. at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1838)
  19. at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1439)
  20. at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
  21. at java.net.URL.openStream(URL.java:1038)
  22. at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.createReader(RuntimeWSDLParser.java:984)
  23. at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.resolveWSDL(RuntimeWSDLParser.java:385)
  24. at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:216)
  25. ... 11 more
  26. Java Result: 1
  27. CONSTRUÍDO COM SUCESSO (tempo total: 9 segundos)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement