To use public-key authentication (<pkey> in the security configuration file), also known as GSI Secure Message:
stub._setProperty(Constants.GSI_XML_SIGNATURE,Boolean.TRUE);
To explicitly deactivate it:
stub._setProperty(Constants.GSI_XML_SIGNATURE,Boolean.FALSE);