You need to sign in to do that
Don't have an account?
javax.xml.ws.soap.SOAPFaultException thrown on bad usernames when calling login()
I'm using JAX-WS 2.1.5.
The following is easily repeatable. (It's in my unit tests.)
If I append "x" to the password, LoginFault_Exception (which is generated from the WSDL) is thrown when I login(). It has a fault code of INVALID_LOGIN. This is the expected behavior.
However, if I append "x" to the username instead of the password, SOAPFaultException (which is part of the Java library) is thrown when I login(). Its javax.xml.soap.SOAPFault has a faultString of "INVALID_LOGIN: Invalid username or password or locked out.".
Why isn't LoginFault_Exception thrown when the username is bad?