Search code examples
javaweb-servicessoapwsdl

webservices - wsimport hangs on parsing WSDL


These are my environment variables:

System variables: JAVA_HOME C:\Program Files\Java\jdk1.8.0_20\

Path: ...;C:\Program Files\Java\jdk1.8.0_20\bin;...

I key the following in the command line:

c:\wsimport>wsimport http://www.webservicex.net/geoipservice.asmx?WSDL -Xdebug

I receive the following message

[DEBUG] Authorization file "C:\Users\myPC.metro\auth" not found. If the WSDL access needs Basic Authentication, please provide authorization file with read access at C:\Users\myPC.metro\auth or use -Xauthfile to give the authorization file and on each line provide authorization information using this format : http[s]://user:password@host:port//

parsing WSDL...

Where my configuration is incorrect?


Solution

  • I am not sure what happened but it's working now. It seems like my issue was perhaps related to my internet connection. I was online but the connection was pretty slow. Now everything's back to normal and my wsimport command is working.

    enter image description here