Sun Java System Application Server Platform Edition 8.2 Release Notes

Solution

Pass the user name/password combination, if required, explicitly to the client program, as follows:

((Stub)yourWSPort)._setProperty(Stub.USERNAME_PROPERTY, "yourUsername");
((Stub)yourWSPort)._setProperty(Stub.PASSWORD_PROPERTY, "yourPassword");