(wsimport) Problem with authFile URL formatting....
I am trying to generate the Java client for a service written in .NET that uses NTLM to authenticate.
It seems when wsimport runs on Windows, it knows how to use NTML and works fine (using Maven w/ org.jvnet.jax-ws-commons:jaxws-maven-plugin:2.1).
On Linux I am using an NTLM proxy (http://cntlm.sourceforge.net/) which seems to work okay. I started by hard coding the user/domain/password in the CNTLM config file, but now I am trying to pass it the specific credentials I want to use.
In the wsimport settings, I entered the address/port of the CNTLM proxy and in the authFile I include the URLs in the format:
Is there a way to specify a wild card to allow the same user:password for all urls with the same host name instead of having to specify each URL specifically? I don't want to have to worry about changes in the endpoints of either the WSDL or XSD when the auth mechanism is the same on the server.
I want to use our "service account" credentials instead of my personal ones. However the service account password was auto generated by our OPS team, very cryptic and has special characters in it. I tried URL encoding it but wsimport couldn't parse it correctly.
Can I encode the password so wsimport reads it correctly?