File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Trouble generating web service client
Joined: Jul 02, 2008
Feb 14, 2011 15:43:08
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
I agree. Here's the link:
subject: Trouble generating web service client
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
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015