Register / Login
Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
this forum made possible by our volunteer staff, including ...
Stephan van Hulst
Trouble generating web service client
posted 6 years ago
I just installed JAX-WS RI 2.1.6 in JDK 6. I have a password protected WSDL --
, but when I attempt to generate a WSDL client, I get an error ...
davea-mbp2:bin davea$ wsimport https://capone.criticalmass.com/EWS/Services.wsdl parsing WSDL... [ERROR] Server redirected too many times (20), "https://subdomain.mydomain.com/EWS/Services.wsdl" needs authorization, please provide authorization file with read access at /Users/davea/.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//<url-path>
I have created the file, /Users/davea/.metro/auth, which contains
so how am I supposed to form this file to make this work? - Dave
It is sorta covered in the
JavaRanch Style Guide
Boost this thread!
The server sent HTTP status code -1
Issue with -Xauthfile execution in wsimport tool(JAX-RI)
Trouble generating Exchange web service client using Axis2
JAX-WS Consuming Exchange Web Services with java using glassfish, error authentication: Unauthorized
How to expose a WSDl which is created by using Eclipse IDE