* @return CoreService2011 the service singleton
*/
public static CoreService2012 getService() {
if (service == null) {
if (userName != null && password != null) {
BasicHttpAuthenticator basicHttpAuthenticator = new BasicHttpAuthenticator(userName, password);
Authenticator.setDefault(basicHttpAuthenticator);
}
URL url = CoreServiceFactory.class.getResource("/CoreService2012.wsdl");
service = new CoreService2012(url, Q_NAME);